Files
twx-linux/tools/testing/selftests/cpu-hotplug
Zhao Gongyi 0c8fa15e22 selftests/cpu-hotplug: Reserve one cpu online at least
[ Upstream commit 51d4c85146 ]

Considering that we can not offline all cpus in any cases,
we need to reserve one cpu online when the test offline all
hotpluggable online cpus, otherwise the test will fail forever.

Fixes: d89dffa976 ("fault-injection: add selftests for cpu and memory hotplug")

Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-21 12:38:36 +02:00
..