• Paul E. McKenney's avatar
    refscale: Add acqrel, lock, and lock-irq · e9b800db
    Paul E. McKenney authored
    This commit adds scale_type of acqrel, lock, and lock-irq to
    test acquisition and release.  Note that the refscale.nreaders=1
    module parameter is required if you wish to test uncontended locking.
    In contrast, acqrel uses a per-CPU variable, so should be just fine with
    large values of the refscale.nreaders=1 module parameter.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    e9b800db
refscale.c 19.6 KB