rcutorture: Recover from OOM during forward-progress tests
authorPaul E. McKenney <paulmck@linux.ibm.com>
Fri, 5 Oct 2018 16:09:49 +0000 (09:09 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Sat, 1 Dec 2018 20:45:41 +0000 (12:45 -0800)
commit2667ccce9328e4e25ed77a83291c066d5e11e65a
treeed25b17693ab860cf536fcdd5b1afd7b18805979
parent73d665b1410afae405309ad4475a98924776ab13
rcutorture: Recover from OOM during forward-progress tests

This commit causes the OOM handler to do rcu_barrier() calls and to
free up forward-progress callbacks in order to recover from OOM events.
The current test is terminated, but subsequent forward-progress tests can
proceed.  This allows a long test to result in multiple forward-progress
failures, greatly reducing the required testing time.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
kernel/rcu/rcutorture.c