diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-08-11 15:03:35 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-06-07 07:47:00 -0400 |
commit | 63ffb52e2bbd0fdc429a2522d7831364018004b8 (patch) | |
tree | 2923bd073f88c26d684462f43429bf0a256fe54c /lib | |
parent | dd559a7fb236fe47d51043a893c9c4d159500207 (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