torture: Convert torture_shutdown() to hrtimer
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 18 Jun 2016 14:45:43 +0000 (07:45 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 22 Aug 2016 17:01:49 +0000 (10:01 -0700)
commit31257c3c8b7307f106d67345755d937cb5fb8bd4
tree4a513d0513e18c1466ead9d0fdb22986031244e9
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
torture: Convert torture_shutdown() to hrtimer

Upcoming changes to the timer wheel introduce significant inaccuracy
and possibly also an ultimate limit on timeout duration.  This is a
problem for the current implementation of torture_shutdown() because
(1) shutdown times are user-specified, and can therefore be quite long,
and (2) the torture scripting will kill a test instance that runs for
more than a few minutes longer than scheduled.  This commit therefore
converts the torture_shutdown() timed waits to an hrtimer, thus avoiding
too-short torture test runs as well as death by scripting.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
kernel/torture.c
This page took 0.026932 seconds and 5 git commands to generate.