mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] pi-futex: rt mutex tester
RT-mutex tester: scriptable tester for rt mutexes, which allows userspace scripting of mutex unit-tests (and dynamic tests as well), using the actual rt-mutex implementation of the kernel. [[email protected]: fixlet] Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Arjan van de Ven <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
e7eebaf6a8
commit
61a8712286
20 changed files with 1923 additions and 1 deletions
|
|
@ -640,7 +640,8 @@ rt_mutex_slowlock(struct rt_mutex *lock, int state,
|
|||
|
||||
debug_rt_mutex_print_deadlock(&waiter);
|
||||
|
||||
schedule();
|
||||
if (waiter.task)
|
||||
schedule_rt_mutex(lock);
|
||||
|
||||
spin_lock(&lock->wait_lock);
|
||||
set_current_state(state);
|
||||
|
|
|
|||
Loading…
Reference in a new issue