summaryrefslogtreecommitdiff
path: root/include/linux/smp.h
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-05-14 18:38:17 (GMT)
commit852966311c98b98674d1c5c6fbbbbb28bd71d2cb (patch)
treee787c92a3580f23a30c815bb5b8eb90283303edb /include/linux/smp.h
parent1b678644e09edc8163fd91fe5a3d4ac6e3aaac79 (diff)
downloadlinux-fsl-qoriq-852966311c98b98674d1c5c6fbbbbb28bd71d2cb.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 'include/linux/smp.h')
0 files changed, 0 insertions, 0 deletions