rcutorture: Validate get_completed_synchronize_rcu()
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 13 Apr 2022 23:14:02 +0000 (16:14 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 20 Jun 2022 16:21:51 +0000 (09:21 -0700)
commitd0eac20f9909de044fbeb958960b08ff235cf8a2
tree76af48871141addc396360631303e98c40eb7f7e
parent414c12385d4741e35d88670c6cc2f40a77809734
rcutorture: Validate get_completed_synchronize_rcu()

This commit verifies that the RCU grace-period state cookie returned
from get_completed_synchronize_rcu() causes poll_state_synchronize_rcu()
to return true, as required.

This commit is in preparation for polled expedited grace periods.

Link: https://lore.kernel.org/all/20220121142454.1994916-1-bfoster@redhat.com/
Link: https://docs.google.com/document/d/1RNKWW9jQyfjxw2E8dsXVTdvZYh0HnYeSHDKog9jhdN8/edit?usp=sharing
Cc: Brian Foster <bfoster@redhat.com>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Ian Kent <raven@themaw.net>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c