[PATCH] locking/ww-mutex: Limit stress test to 2s

2017-03-10 Thread Chris Wilson
Use a timeout rather than a fixed number of loops to avoid running for very long periods, such as under the kbuilder VMs. Reported-by: kernel test robot Signed-off-by: Chris Wilson Cc: Boqun Feng Cc: Peter Zijlstra

[PATCH] locking/ww-mutex: Limit stress test to 2s

2017-03-10 Thread Chris Wilson
Use a timeout rather than a fixed number of loops to avoid running for very long periods, such as under the kbuilder VMs. Reported-by: kernel test robot Signed-off-by: Chris Wilson Cc: Boqun Feng Cc: Peter Zijlstra --- kernel/locking/test-ww_mutex.c | 18 +- 1 file changed, 9