]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
rcutorture: Add testing for RCU's global memory ordering
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 29 Oct 2020 22:08:57 +0000 (15:08 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 4 Jan 2021 21:53:41 +0000 (13:53 -0800)
commit00504537f44422a99d97f615f2b3ee17cfba194d
treed28c2ad47655eed3f86b7725d215ebaba97e5e5f
parentbc480a6354ef2e15c26c3bdbd0db647026e788a7
rcutorture: Add testing for RCU's global memory ordering

RCU guarantees that anything seen by a given reader will also be seen
after any grace period that must wait on that reader.  This is very likely
to hold based on inspection, but the advantage of having rcutorture do
the inspecting is that rcutorture doesn't mind inspecting frequently
and often.

This commit therefore adds code to test RCU's global memory ordering.

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