• Paul E. McKenney's avatar
    rcutorture: Abstract torture_shutdown_absorb() · f67a3356
    Paul E. McKenney authored
    Because handling races between rmmod and normal shutdown is not specific
    to rcutorture, this commit renames rcutorture_shutdown_absorb() to
    torture_shutdown_absorb() and pulls it out into then kernel/torture.c
    module.  This implies pulling the fullstop mechanism into kernel/torture.c
    as well.
    
    The exporting of fullstop and fullstop_mutex is ugly and must die.
    And it does in fact die in later commits that introduce higher-level
    APIs that encapsulate both of these variables.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    Reviewed-by: Josh Triplett <josh@joshtriplett.org>`
    f67a3356
rcutorture.c 57.9 KB