diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-06-18 07:45:43 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-08-22 10:01:49 -0700 |
commit | 31257c3c8b7307f106d67345755d937cb5fb8bd4 (patch) | |
tree | 4a513d0513e18c1466ead9d0fdb22986031244e9 /samples | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) | |
download | linux-31257c3c8b7307f106d67345755d937cb5fb8bd4.tar.bz2 |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions