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>2014-04-10 00:19:16 (GMT)
commit78211b80f38536b8e0e2dea5dddb665969fe4c0e (patch)
treecddfad6f055b99b0e9ffe996cadfdf42d18a758f /lib
parent1a40cc806e7f6c16c63acbe6a542c3a4bc35bf8f (diff)
downloadlinux-fsl-qoriq-78211b80f38536b8e0e2dea5dddb665969fe4c0e.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