diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-08-11 13:03:35 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-02-13 22:20:37 (GMT) |
commit | 9587cb84db747d8cbe73bf8861e843778a5a462b (patch) | |
tree | 961e9bd2e4523bd9fe2947c2ce7e16372e539fdb /lib | |
parent | 4e2a82b515395625e60cf108455ea4f473e3df9c (diff) | |
download | linux-fsl-qoriq-9587cb84db747d8cbe73bf8861e843778a5a462b.tar.xz |
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