diff options
author | 2015-06-24 16:56:28 -0700 | |
---|---|---|
committer | 2015-06-24 17:49:41 -0700 | |
commit | a9919c79359df9a706ff9e14fc0a93cd15791c9b (patch) | |
tree | 32bb182bd88f0fb58bfe891b26290bf53b5a6d37 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mm/hugetlb: reduce arch dependent code about hugetlb_prefault_arch_hook (diff) | |
download | wireguard-linux-a9919c79359df9a706ff9e14fc0a93cd15791c9b.tar.xz wireguard-linux-a9919c79359df9a706ff9e14fc0a93cd15791c9b.zip |
mm: only define hashdist variable when needed
For !CONFIG_NUMA, hashdist will always be 0, since it's setter is
otherwise compiled out. So we can save 4 bytes of data and some .text
(although mostly in __init functions) by only defining it for
CONFIG_NUMA.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: David Rientjes <rientjes@google.com>
Reviewed-by: 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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions