diff options
| author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-08-11 15:03:35 +0200 |
|---|---|---|
| committer | Clark Williams <williams@redhat.com> | 2012-04-10 16:40:39 -0500 |
| commit | edcca136918a7dcd811bd09467dd0b2f65c0e597 (patch) | |
| tree | 088d5db64c2cc6ff86fbf298602ab5ae57cfc63c /lib | |
| parent | eb56b1b0dbcafaaa33c10023a0ac1c9252a720c4 (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
