summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2015-06-30 03:29:48 +0200
committerIngo Molnar <mingo@kernel.org>2015-08-03 12:21:26 +0200
commitb377c2a089d4538e6e62e51fa595c896c314d83d (patch)
treeacff0609762feb9749087e199c216e752c8c61f1 /kernel/cpu.c
parentstop_machine: Move 'cpu_stopper_task' and 'stop_cpus_work' into 'struct cpu_s... (diff)
downloadlinux-b377c2a089d4538e6e62e51fa595c896c314d83d.tar.xz
linux-b377c2a089d4538e6e62e51fa595c896c314d83d.zip
stop_machine: Don't do for_each_cpu() twice in queue_stop_cpus_work()
queue_stop_cpus_work() can do everything in one for_each_cpu() loop. Signed-off-by: Oleg Nesterov <oleg@redhat.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: Tejun Heo <tj@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: dave@stgolabs.net Cc: der.herr@hofr.at Cc: paulmck@linux.vnet.ibm.com Cc: riel@redhat.com Cc: viro@ZenIV.linux.org.uk Link: http://lkml.kernel.org/r/20150630012948.GA23927@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions