aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2011-04-05 17:23:53 +0200
committerIngo Molnar <mingo@elte.hu>2011-04-14 08:52:39 +0200
commit8f42ced974df7d5af2de4cf5ea21fe978c7e4478 (patch)
tree514ee978491dc62ee727308be1f228987c47eb54 /net/unix/af_unix.c
parentsched: Drop rq->lock from first part of wake_up_new_task() (diff)
downloadwireguard-linux-8f42ced974df7d5af2de4cf5ea21fe978c7e4478.tar.xz
wireguard-linux-8f42ced974df7d5af2de4cf5ea21fe978c7e4478.zip
sched: Drop rq->lock from sched_exec()
Since we can now call select_task_rq() and set_task_cpu() with only p->pi_lock held, and sched_exec() load-balancing has always been optimistic, drop all rq->lock usage. Oleg also noted that need_migrate_task() will always be true for current, so don't bother calling that at all. Reviewed-by: Frank Rowand <frank.rowand@am.sony.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Nick Piggin <npiggin@kernel.dk> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Andrew Morton <akpm@linux-foundation.org> Link: http://lkml.kernel.org/r/20110405152729.314204889@chello.nl Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions