]> Git Repo - linux.git/commit
memcg: use native word page statistics counters
authorJohannes Weiner <[email protected]>
Wed, 23 Mar 2011 23:42:38 +0000 (16:42 -0700)
committerLinus Torvalds <[email protected]>
Thu, 24 Mar 2011 02:46:31 +0000 (19:46 -0700)
commit7a159cc9d7987cdb4853f8711f5f89e01cfffe42
tree027e8468d40bfdb51ad9694ec1d5256bb2fdb36f
parente9f8974f2f559b00c87ccfba67bca3903f913d50
memcg: use native word page statistics counters

The statistic counters are in units of pages, there is no reason to make
them 64-bit wide on 32-bit machines.

Make them native words.  Since they are signed, this leaves 31 bit on
32-bit machines, which can represent roughly 8TB assuming a page size of
4k.

[[email protected]: coding-style fixes]
Signed-off-by: Johannes Weiner <[email protected]>
Signed-off-by: Greg Thelen <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: Balbir Singh <[email protected]>
Cc: Daisuke Nishimura <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memcontrol.c
This page took 0.064927 seconds and 4 git commands to generate.