]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Allow sched_core_put() from atomic context
authorPeter Zijlstra <peterz@infradead.org>
Mon, 29 Mar 2021 08:08:58 +0000 (10:08 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 12 May 2021 09:43:27 +0000 (11:43 +0200)
commit936b89ea0650b72d918d8f2a556ee6910b2ea21d
tree41cc778114ce5ca201cc379a13d764dfeead02f1
parent9d2f6441cd63b43b74b393ce58cf3aecfd0737a8
sched: Allow sched_core_put() from atomic context

Stuff the meat of sched_core_put() into a work such that we can use
sched_core_put() from atomic context.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Don Hiatt <dhiatt@digitalocean.com>
Tested-by: Hongyu Ning <hongyu.ning@linux.intel.com>
Tested-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lkml.kernel.org/r/20210422123308.377455632@infradead.org
kernel/sched/core.c