diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-10 10:57:33 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-30 09:49:47 +0200 |
commit | 57dd924e541a98219bf3a508623db2e0c07e75a7 (patch) | |
tree | 83a9d11d073455d02279c141f6bdf506034a02d6 /drivers/md/raid10.c | |
parent | 44fe84459faf1a7781595b7c64cd36daf2f2827d (diff) |
locking/ww-mutex: Limit stress test to 2 seconds
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 <xiaolong.ye@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170310105733.6444-1-chris@chris-wilson.co.uk
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions