]> git.karo-electronics.de Git - linux-beck.git/commit
locking/mutexes: Add extra reschedule point
authorPeter Zijlstra <peterz@infradead.org>
Mon, 3 Feb 2014 15:21:09 +0000 (16:21 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 11 Mar 2014 11:14:59 +0000 (12:14 +0100)
commit34c6bc2c919a55e5ad4e698510a2f35ee13ab900
tree5ad85f7c86b6e42987d974f73e1b45aed05550a3
parentfb0527bd5ea99bfeb2dd91e3c1433ecf745d6b99
locking/mutexes: Add extra reschedule point

Add in an extra reschedule in an attempt to avoid getting reschedule
the moment we've acquired the lock.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-zah5eyn9gu7qlgwh9r6n2anc@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/mutex.c