]> git.baikalelectronics.ru Git - kernel.git/commit
mm: sched: numa: fix NUMA balancing when !SCHED_DEBUG
authorDave Kleikamp <dave.kleikamp@oracle.com>
Wed, 31 Jul 2013 20:53:35 +0000 (13:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 31 Jul 2013 21:41:02 +0000 (14:41 -0700)
commit117f0b83378d9709bbfaf176d7d2e53c52aa430b
treef3976fd809015195eb5965204a8344ab255a273b
parent7ddd6fa0aaeb6fb1570425b6b517375eef459225
mm: sched: numa: fix NUMA balancing when !SCHED_DEBUG

Commit f4953bc0d874 ("mm: sched: numa: Control enabling and disabling of
NUMA balancing if !SCHED_DEBUG") defined numabalancing_enabled to
control the enabling and disabling of automatic NUMA balancing, but it
is never used.

I believe the intention was to use this in place of sched_feat_numa(NUMA).

Currently, if SCHED_DEBUG is not defined, sched_feat_numa(NUMA) will
never be changed from the initial "false".

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sched/fair.c