+65
−1
Loading
This commit adds refscale readers based on local_irq_disable() and
local_irq_enable() ("refscale.scale_type=irq") and on local_irq_save()
and local_irq_restore ("refscale.scale_type=irqsave"). On my x86 laptop,
these are about 2.8ns and 7.5ns per enable/disable pair, respectively.
Signed-off-by:
Paul E. McKenney <paulmck@kernel.org>
Signed-off-by:
Frederic Weisbecker <frederic@kernel.org>