]> www.infradead.org Git - users/jedix/linux-maple.git/commit
refscale: Add acqrel, lock, and lock-irq
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 11 Mar 2021 02:02:36 +0000 (18:02 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 6 Apr 2021 23:07:13 +0000 (16:07 -0700)
commit85518569b14e5fc1fbc7e17919018c829ae93584
tree301498cd3b5c1ad8b08f29c616f92033af54faa6
parent7958f4f9fdafdd6bf41cb40fba4d8d269b059353
refscale: Add acqrel, lock, and lock-irq

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: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/refscale.c