]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched, numa, mm: Add NUMA_MIGRATION feature flag
authorIngo Molnar <mingo@kernel.org>
Sat, 20 Oct 2012 20:20:19 +0000 (22:20 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 28 Oct 2012 16:31:18 +0000 (17:31 +0100)
commit5c56968cc6eb8fc94a92b38478d5bd0e0f25c8c2
tree184027705f282bbb78860e8ab205ee34f51bee4f
parent64ae83155d5b37306766164def4c1c5bd216f4da
sched, numa, mm: Add NUMA_MIGRATION feature flag

After this patch, doing:

   # echo NO_NUMA_MIGRATION > /sys/kernel/debug/sched_features

Will turn off the NUMA placement logic/policy - but keeps the
working set sampling faults in place.

This allows the debugging of the WSS facility, by using it
but keeping vanilla, non-NUMA CPU and memory placement
policies.

Default enabled. Generates on extra code on !CONFIG_SCHED_DEBUG.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
Link: http://lkml.kernel.org/n/tip-xjt7bqjlphxRfjXxasqm4cdv@git.kernel.org
kernel/sched/core.c
kernel/sched/features.h