Subject: [merged] mm-sched-numa-fix-numa-balancing-when-sched_debug.patch removed from -mm tree To: dave.kleikamp@xxxxxxxxxx,mgorman@xxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Mon, 05 Aug 2013 12:05:47 -0700 The patch titled Subject: mm: sched: numa: fix NUMA balancing when !SCHED_DEBUG has been removed from the -mm tree. Its filename was mm-sched-numa-fix-numa-balancing-when-sched_debug.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Dave Kleikamp <dave.kleikamp@xxxxxxxxxx> Subject: mm: sched: numa: fix NUMA balancing when !SCHED_DEBUG 3105b86a ("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@xxxxxxxxxx> Acked-by: Mel Gorman <mgorman@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/sched/fair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN kernel/sched/fair.c~mm-sched-numa-fix-numa-balancing-when-sched_debug kernel/sched/fair.c --- a/kernel/sched/fair.c~mm-sched-numa-fix-numa-balancing-when-sched_debug +++ a/kernel/sched/fair.c @@ -851,7 +851,7 @@ void task_numa_fault(int node, int pages { struct task_struct *p = current; - if (!sched_feat_numa(NUMA)) + if (!numabalancing_enabled) return; /* FIXME: Allocate task-specific structure for placement policy here */ @@ -5786,7 +5786,7 @@ static void task_tick_fair(struct rq *rq entity_tick(cfs_rq, se, queued); } - if (sched_feat_numa(NUMA)) + if (numabalancing_enabled) task_tick_numa(rq, curr); update_rq_runnable_avg(rq, 1); _ Patches currently in -mm which might be from dave.kleikamp@xxxxxxxxxx are -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html