summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2011-08-11 13:03:35 (GMT)
committerScott Wood <scottwood@freescale.com>2015-02-13 22:20:37 (GMT)
commit9587cb84db747d8cbe73bf8861e843778a5a462b (patch)
tree961e9bd2e4523bd9fe2947c2ce7e16372e539fdb /lib
parent4e2a82b515395625e60cf108455ea4f473e3df9c (diff)
downloadlinux-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