]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rcutorture: Check preemption for failing reader
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 28 Oct 2024 20:07:11 +0000 (13:07 -0700)
committerUladzislau Rezki (Sony) <urezki@gmail.com>
Sat, 14 Dec 2024 16:03:41 +0000 (17:03 +0100)
commit0f38c06cab7712fc82c314fe4264a8897f3e6365
tree34436c8e49b4b288e9955f19f5ef4f46b4d41273
parent4569cf60b6caf26995f314a0c1e14f73ab8c924b
rcutorture: Check preemption for failing reader

This commit checks to see if the RCU reader has been preempted within
its read-side critical section for RCU flavors supporting this notion
(currently only preemptible RCU).  If such a preemption occurred, then
this is printed at the end of the "Failure/close-call rcutorture reader
segments" list at the end of the rcutorture run.

[ paulmck: Apply kernel test robot feedback. ]

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Frederic Weisbecker <frederic@kernel.org>
Tested-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
include/linux/rcupdate_wait.h
kernel/rcu/rcutorture.c