• Paul E. McKenney's avatar
    srcu: Fill out polled grace-period APIs · e206f33e
    Paul E. McKenney authored
    This commit adds the get_completed_synchronize_srcu() and the
    same_state_synchronize_srcu() functions.  The first returns a cookie
    that is always interpreted as corresponding to an expired grace period.
    The second does an equality comparison of a pair of cookies.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    Cc: Kent Overstreet <kent.overstreet@linux.dev>
    e206f33e
srcutiny.c 8.47 KB