提交 6252efcc 编写于 作者: Y Ying Han 提交者: Linus Torvalds

memcg: fix up documentation on global LRU

In v3.3-rc1, the global LRU was removed in commit 925b7673 ("mm:
make per-memcg LRU lists exclusive").  The patch fixes up the memcg
docs.

I left the swap session to someone who has better understanding of
'memory+swap'.
Signed-off-by: NYing Han <yinghan@google.com>
Acked-by: NMichal Hocko <mhocko@suse.cz>
Acked-by: NKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 45852766
...@@ -34,8 +34,7 @@ Current Status: linux-2.6.34-mmotm(development version of 2010/April) ...@@ -34,8 +34,7 @@ Current Status: linux-2.6.34-mmotm(development version of 2010/April)
Features: Features:
- accounting anonymous pages, file caches, swap caches usage and limiting them. - accounting anonymous pages, file caches, swap caches usage and limiting them.
- private LRU and reclaim routine. (system's global LRU and private LRU - pages are linked to per-memcg LRU exclusively, and there is no global LRU.
work independently from each other)
- optionally, memory+swap usage can be accounted and limited. - optionally, memory+swap usage can be accounted and limited.
- hierarchical accounting - hierarchical accounting
- soft limit - soft limit
...@@ -154,7 +153,7 @@ updated. page_cgroup has its own LRU on cgroup. ...@@ -154,7 +153,7 @@ updated. page_cgroup has its own LRU on cgroup.
2.2.1 Accounting details 2.2.1 Accounting details
All mapped anon pages (RSS) and cache pages (Page Cache) are accounted. All mapped anon pages (RSS) and cache pages (Page Cache) are accounted.
Some pages which are never reclaimable and will not be on the global LRU Some pages which are never reclaimable and will not be on the LRU
are not accounted. We just account pages under usual VM management. are not accounted. We just account pages under usual VM management.
RSS pages are accounted at page_fault unless they've already been accounted RSS pages are accounted at page_fault unless they've already been accounted
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册