diff options
author | Greg Thelen <gthelen@google.com> | 2013-11-13 00:07:40 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 04:09:06 +0100 |
commit | 25485de6e90ef1684c55a203988fad5eab7a45d6 (patch) | |
tree | 9ac488bb581da5cf4f78178a251945dd8b5f6b33 /Documentation/cgroups | |
parent | mm/mempolicy: use NUMA_NO_NODE (diff) | |
download | linux-25485de6e90ef1684c55a203988fad5eab7a45d6.tar.xz linux-25485de6e90ef1684c55a203988fad5eab7a45d6.zip |
memcg: refactor mem_control_numa_stat_show()
Refactor mem_control_numa_stat_show() to use a new stats structure for
smaller and simpler code. This consolidates nearly identical code.
text data bss dec hex filename
8,137,679 1,703,496 1,896,448 11,737,623 b31a17 vmlinux.before
8,136,911 1,703,496 1,896,448 11,736,855 b31717 vmlinux.after
Signed-off-by: Greg Thelen <gthelen@google.com>
Signed-off-by: Ying Han <yinghan@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/cgroups')
0 files changed, 0 insertions, 0 deletions