aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2011-08-11 15:03:35 +0200
committerSteven Rostedt <rostedt@goodmis.org>2013-11-13 11:21:10 -0500
commitd2d829a4bfc391e05bcb31e5df33623a393dfa83 (patch)
tree23d3bb1fbfecb7f0c56ac5991a83dac8c253e994 /lib
parent35b7a96b973202361c92edbc4d7b0d04679d13a0 (diff)
sched: Optimize migrate_disable
Change from task_rq_lock() to raw_spin_lock(&rq->lock) to avoid a few atomic ops. See comment on why it should be safe. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/n/tip-cbz6hkl5r5mvwtx5s3tor2y6@git.kernel.org
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions