]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched, numa, mm: Introduce last_nid in the pageframe
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 13 Aug 2012 13:22:20 +0000 (15:22 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 28 Oct 2012 16:31:13 +0000 (17:31 +0100)
commitebec8f0885cf99ac9fa1db0a91cc3b1898de79e0
treea486e2d4756b542d2e853670fae4523d65eda38f
parent99a5b87cd580ed32dd46cbb7032be34f57041b98
sched, numa, mm: Introduce last_nid in the pageframe

Introduce a per-page last_nid field, fold this into the struct
page::flags field whenever possible.

The unlikely/rare 32bit NUMA configs will likely grow the page-frame.

Completely dropping 32bit support for CONFIG_SCHED_NUMA would simplify
things, but it would also remove the warning if we grow enough 64bit
only page-flags to push the last-nid out.

Suggested-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Link: http://lkml.kernel.org/n/tip-0uois4f9skfw9mwyk1yoy0jq@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/mm.h
include/linux/mm_types.h
include/linux/mmzone.h
include/linux/page-flags-layout.h [new file with mode: 0644]
mm/huge_memory.c
mm/memory.c