summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-07-26 13:44:00 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-08-30 16:03:45 -0700
commitfced9c8cfe6bc8a26dbbf785927aa673c83a7a35 (patch)
tree04b80df17ce5b236c0aa4fef28a5d1ab6bf889b0 /Documentation
parentd3052109c0bc9e536d17d627ae628ed8ceb6928c (diff)
rcu: Avoid resched_cpu() when rescheduling the current CPU
The resched_cpu() interface is quite handy, but it does acquire the specified CPU's runqueue lock, which does not come for free. This commit therefore substitutes the following when directing resched_cpu() at the current CPU: set_tsk_need_resched(current); set_preempt_need_resched(); Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions