diff options
author | 2014-01-23 15:53:30 -0800 | |
---|---|---|
committer | 2014-01-23 16:36:53 -0800 | |
commit | d2ab70aaae74456ed608740915dc82ef52291f69 (patch) | |
tree | 279644e60297049e6917d80ea1b28a9dc58f692d /mm/oom_kill.c | |
parent | mm: audit/fix non-modular users of module_init in core code (diff) | |
download | wireguard-linux-d2ab70aaae74456ed608740915dc82ef52291f69.tar.xz wireguard-linux-d2ab70aaae74456ed608740915dc82ef52291f69.zip |
mm/memcg: fix last_dead_count memory wastage
Shorten mem_cgroup_reclaim_iter.last_dead_count from unsigned long to
int: it's assigned from an int and compared with an int, and adjacent to
an unsigned int: so there's no point to it being unsigned long, which
wasted 104 bytes in every mem_cgroup_per_zone.
Signed-off-by: Hugh Dickins <hughd@google.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions