diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2011-03-24 00:42:38 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-24 03:46:31 +0100 |
commit | 7a159cc9d7987cdb4853f8711f5f89e01cfffe42 (patch) | |
tree | 027e8468d40bfdb51ad9694ec1d5256bb2fdb36f /crypto/rmd256.c | |
parent | memcg: break out event counters from other stats (diff) | |
download | linux-7a159cc9d7987cdb4853f8711f5f89e01cfffe42.tar.xz linux-7a159cc9d7987cdb4853f8711f5f89e01cfffe42.zip |
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.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Greg Thelen <gthelen@google.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/rmd256.c')
0 files changed, 0 insertions, 0 deletions