]> Git Repo - linux.git/commit
mm: fold page->_last_nid into page->flags where possible
authorPeter Zijlstra <[email protected]>
Sat, 23 Feb 2013 00:34:32 +0000 (16:34 -0800)
committerLinus Torvalds <[email protected]>
Sun, 24 Feb 2013 01:50:17 +0000 (17:50 -0800)
commit75980e97daccfc6babbac7e180ff118537955f5d
treeb5721bae11eab21a8ee7c2ba4c7f153a59766dd6
parentbbeae5b05ef6e40bf54db05ceb8635824153b9e2
mm: fold page->_last_nid into page->flags where possible

page->_last_nid fits into page->flags on 64-bit.  The unlikely 32-bit
NUMA configuration with NUMA Balancing will still need an extra page
field.  As Peter notes "Completely dropping 32bit support for
CONFIG_NUMA_BALANCING would simplify things, but it would also remove
the warning if we grow enough 64bit only page-flags to push the last-cpu
out."

[[email protected]: minor modifications]
Signed-off-by: Mel Gorman <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Simon Jeons <[email protected]>
Cc: Wanpeng Li <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/mm.h
include/linux/mm_types.h
include/linux/page-flags-layout.h
mm/memory.c
This page took 0.055853 seconds and 4 git commands to generate.