torture: Forgive -EBUSY from boottime CPU-hotplug operations
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 5 Dec 2019 18:49:11 +0000 (10:49 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 21 Feb 2020 00:03:30 +0000 (16:03 -0800)
commita59ee765a6890e7f4281070008a2654337458311
treeec2bbda358f8fd026e4986d8bc9cab28e89dbda4
parent435508095ab5b6870e8140948983920ce4684e9b
torture: Forgive -EBUSY from boottime CPU-hotplug operations

During boot, CPU hotplug is often disabled, for example by PCI probing.
On large systems that take substantial time to boot, this can result
in spurious RCU_HOTPLUG errors.  This commit therefore forgives any
boottime -EBUSY CPU-hotplug failures by adjusting counters to pretend
that the corresponding attempt never happened.  A non-splat record
of the failed attempt is emitted to the console with the added string
"(-EBUSY forgiven during boot)".

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