rcutorture: Handle failure of memory allocation functions
authorLi Qiong <liqiong@nfschina.com>
Sun, 12 Jun 2022 06:48:25 +0000 (14:48 +0800)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 21 Jun 2022 22:57:04 +0000 (15:57 -0700)
commit1a5ca5e09811dec9472f50b98eeb3e3b2442d050
tree83ee7508ed4b92007f02157f233359d786cd1154
parent3002153a91a9732a6d1d0bb95138593c7da15743
rcutorture: Handle failure of memory allocation functions

This commit adds warnings for allocation failure during the mem_dump_obj()
tests.  It also terminates these tests upon such failure.

Signed-off-by: Li Qiong <liqiong@nfschina.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c