diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-08-11 13:03:35 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-05-14 18:38:17 (GMT) |
commit | 852966311c98b98674d1c5c6fbbbbb28bd71d2cb (patch) | |
tree | e787c92a3580f23a30c815bb5b8eb90283303edb /kernel/seccomp.c | |
parent | 1b678644e09edc8163fd91fe5a3d4ac6e3aaac79 (diff) | |
download | linux-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 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions