diff --git a/kernel/futex/core.c b/kernel/futex/core.c index a061f54b606d..94ebd2c25b2a 100644 --- a/kernel/futex/core.c +++ b/kernel/futex/core.c @@ -47,6 +47,7 @@ #include #include #include +#include #include @@ -1359,6 +1360,7 @@ static void exit_pi_state_list(struct task_struct *curr) */ WARN_ON(curr != current); guard(private_hash)(current->mm); + if (strcmp(current->comm, "SLOW-1") == 0) mdelay(1000); /* * We are a ZOMBIE and nobody can enqueue itself on * pi_state_list anymore, but we have to be careful @@ -1945,6 +1947,7 @@ static int futex_hash_allocate(unsigned int hash_slots, unsigned int flags) * reference on the existing hash. */ futex_ref_drop(cur); + if (strcmp(current->comm, "SLOW-2") == 0) mdelay(10000); } if (new) {