]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita20c6c293d9701d9830a649a9c0c4ac8c58a1f52
treeec2bbda358f8fd026e4986d8bc9cab28e89dbda4
parent003dd9af51aa2f3576df1d64f8b0ba6f2b1e55fa
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