summaryrefslogtreecommitdiffstats
path: root/Documentation/auxdisplay
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2008-10-19 05:28:10 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 17:52:38 +0200
commit5b4e655e948d8b6e9b0d001616d4c9d7e7ffe924 (patch)
tree2822f944d1bdbc8414a65cd94b982c51b5032b50 /Documentation/auxdisplay
parentmemcg: make page->mapping NULL before uncharge (diff)
downloadlinux-5b4e655e948d8b6e9b0d001616d4c9d7e7ffe924.tar.xz
linux-5b4e655e948d8b6e9b0d001616d4c9d7e7ffe924.zip
memcg: avoid accounting special pages
There are not-on-LRU pages which can be mapped and they are not worth to be accounted. (becasue we can't shrink them and need dirty codes to handle specical case) We'd like to make use of usual objrmap/radix-tree's protcol and don't want to account out-of-vm's control pages. When special_mapping_fault() is called, page->mapping is tend to be NULL and it's charged as Anonymous page. insert_page() also handles some special pages from drivers. This patch is for avoiding to account special pages. Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/auxdisplay')
0 files changed, 0 insertions, 0 deletions