summaryrefslogtreecommitdiffstats
path: root/security/Makefile
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2011-03-24 00:42:36 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-24 03:46:30 +0100
commit7ec99d6213b579a84c85ad37f2aa8ded4857c53c (patch)
treed05bb74c5ca30650ff0622cd1ffd2fd6ddecebd6 /security/Makefile
parentmemcg: convert uncharge batching from bytes to page granularity (diff)
downloadlinux-7ec99d6213b579a84c85ad37f2aa8ded4857c53c.tar.xz
linux-7ec99d6213b579a84c85ad37f2aa8ded4857c53c.zip
memcg: unify charge/uncharge quantities to units of pages
There is no clear pattern when we pass a page count and when we pass a byte count that is a multiple of PAGE_SIZE. We never charge or uncharge subpage quantities, so convert it all to page counts. Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Acked-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 'security/Makefile')
0 files changed, 0 insertions, 0 deletions