summaryrefslogtreecommitdiffstats
path: root/kernel/sched/stop_task.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2015-10-09 18:00:51 +0200
committerIngo Molnar <mingo@kernel.org>2015-10-20 10:23:56 +0200
commitf0cf16cbd0659d2dd21352da9f06f3fab7a51596 (patch)
tree88579ea69b73ad79151c90878357f6480b9340fb /kernel/sched/stop_task.c
parentc00166d87e730088d919814020e96ffed129d0d1 (diff)
downloadlinux-stable-f0cf16cbd0659d2dd21352da9f06f3fab7a51596.tar.gz
linux-stable-f0cf16cbd0659d2dd21352da9f06f3fab7a51596.tar.bz2
linux-stable-f0cf16cbd0659d2dd21352da9f06f3fab7a51596.zip
stop_machine: Kill cpu_stop_threads->setup() and cpu_stop_unpark()
Now that we always use stop_machine_unpark() to wake the stopper threas up, we can kill ->setup() and fold cpu_stop_unpark() into stop_machine_unpark(). And we do not need stopper->lock to set stopper->enabled = true. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Rik van Riel <riel@redhat.com> Cc: Tejun Heo <tj@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: heiko.carstens@de.ibm.com Link: http://lkml.kernel.org/r/20151009160051.GA10169@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/stop_task.c')
0 files changed, 0 insertions, 0 deletions