From: Paul E. McKenney Date: Tue, 18 Mar 2014 17:34:18 +0000 (-0700) Subject: torture: Use elapsed time to detect hangs X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~26^2^2~2^3~10 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bca7c33ba7785083f38324cc221dfaa35c1c7cf;p=pandora-kernel.git torture: Use elapsed time to detect hangs The kvm-test-1-run.sh currently counts "sleep 1" commands to detect hangs. This can fail spectacularly on busy systems, where "sleep 1" might take far longer than one second to complete. This commit therefore changes hang detection to use elapsed time measurements. Signed-off-by: Paul E. McKenney Reviewed-by: Josh Triplett --- Reading git-diff-tree failed