sched/numa: Remove unnecessary NUMA dequeue update from non-SMP kernels
authorTim Chen <tim.c.chen@linux.intel.com>
Mon, 1 Feb 2016 22:47:59 +0000 (14:47 -0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 31 Mar 2016 08:49:45 +0000 (10:49 +0200)
commitbfdb198ccd99472c5bded689699eb30dd06316bb
treed4a27921091ad407e3ae19bbf87f13e83649d365
parentd02c071183e1c01a76811c878c8a52322201f81f
sched/numa: Remove unnecessary NUMA dequeue update from non-SMP kernels

In account_entity_enqueue(), we do not do account_numa_enqueue()
as NUMA balancing is not needed for UP kernels.

Hence, we should remove the account_numa_dequeue() call from
account_entity_dequeue() for UP kernels.

Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1454366879.21738.29.camel@schen9-desk2.jf.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c