diff options
| author | Paul E. McKenney <paulmck@kernel.org> | 2020-07-24 01:53:02 +0300 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2020-08-25 04:38:38 +0300 |
| commit | 65bd77f554336407f5fd7ced7a6df686767fba21 (patch) | |
| tree | 439a1b46519f76e6ef8f17aa0ae18ba2e6d708f7 /lib/test_fortify/write_overflow-strcpy.c | |
| parent | 9e66bf03f9c538863e614a72c5799bcd9579630e (diff) | |
| download | linux-65bd77f554336407f5fd7ced7a6df686767fba21.tar.xz | |
scftorture: Add cond_resched() to test loop
Although the test loop does randomly delay, which would provide quiescent
states and so forth, it is possible for there to be a series of long
smp_call_function*() handler runtimes with no delays, which results in
softlockup and RCU CPU stall warning messages. This commit therefore
inserts a cond_resched() into the main test loop.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions
