locktorture: Forgive apparent unfairness if CPU hotplug
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 31 Jan 2020 04:37:04 +0000 (20:37 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 20 Feb 2020 23:59:59 +0000 (15:59 -0800)
commit28e09a2e48486ce8ff0a72e21570d59b1243b308
tree1eaa21255f337b0c4eeb6435f97d523711165e27
parentc0e1472d80784206ead1dd803dd4bc10e282b17f
locktorture: Forgive apparent unfairness if CPU hotplug

If CPU hotplug testing is enabled, a lock might appear to be maximally
unfair just because one of the CPUs was offline almost all the time.
This commit therefore forgives unfairness if CPU hotplug testing was
enabled.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/locking/locktorture.c