refscale: Add locking, both irqsave and otherwise

This commit adds scale_type of lock and lock-irq to test exclusive-locking
acquisition and release.  Note that the refscale.nreaders=1 module
parameter is required if you wish to test uncontended locking.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
1 file changed