sched/numa: Convert sched_numa_balancing to a static_branch
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Tue, 11 Aug 2015 16:24:21 +0000 (21:54 +0530)
committerIngo Molnar <mingo@kernel.org>
Sun, 13 Sep 2015 07:52:54 +0000 (09:52 +0200)
commit2a595721a1fa6b684c1c818f379bef834ac3d65e
tree36ad793dceb62bdefefb9ec58d0f98d017c61676
parent2b49d84b259fc18e131026e5d38e7855352f71b9
sched/numa: Convert sched_numa_balancing to a static_branch

Variable sched_numa_balancing toggles numa_balancing feature. Hence
moving from a simple read mostly variable to a more apt static_branch.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Rik van Riel <riel@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1439310261-16124-1-git-send-email-srikar@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
kernel/sched/fair.c
kernel/sched/sched.h