-
- Downloads
mutex: Use p->on_cpu for the adaptive spin
Since we now have p->on_cpu unconditionally available, use it to re-implement mutex_spin_on_owner. Requested-by:Thomas Gleixner <tglx@linutronix.de> Reviewed-by:
Frank Rowand <frank.rowand@am.sony.com> 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> Signed-off-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/20110405152728.826338173@chello.nl
Showing
- include/linux/mutex.h 1 addition, 1 deletioninclude/linux/mutex.h
- include/linux/sched.h 1 addition, 1 deletioninclude/linux/sched.h
- kernel/mutex-debug.c 1 addition, 1 deletionkernel/mutex-debug.c
- kernel/mutex-debug.h 1 addition, 1 deletionkernel/mutex-debug.h
- kernel/mutex.c 1 addition, 1 deletionkernel/mutex.c
- kernel/mutex.h 1 addition, 1 deletionkernel/mutex.h
- kernel/sched.c 33 additions, 50 deletionskernel/sched.c
Loading
Please register or sign in to comment