OSDN Git Service

rcutorture: Suppressing read-exit testing is not an error
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 4 Aug 2021 00:42:25 +0000 (17:42 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 13 Sep 2021 23:36:15 +0000 (16:36 -0700)
commitfda84866b1e68ab409074e7fcf1a7db800615445
tree6b3d3288fa180fb5873e1c726cbb8c300324593b
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
rcutorture: Suppressing read-exit testing is not an error

Currently, specifying the rcutorture.read_exit_burst=0 kernel boot
parameter will result in a -EINVAL exit code that will stop the rcutorture
test run before it has fully initialized.  This commit therefore uses a
zero exit code in that case, thus allowing rcutorture.read_exit_burst=0
to complete normally.

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