[PATCH] [act] UBUNTU: SAUCE: ubuntu_kernel_selftests: disable memory-hotplug

Paolo Pisati paolo.pisati at canonical.com
Fri Jul 2 14:14:14 UTC 2021

On Wed, Jun 30, 2021 at 02:55:03PM +0800, Po-Hsu Lin wrote:

> As Krzysztof mentioned this test can be useful for testing memory
> management,if this is just failing for newer release I think we can
> disable it on H/I.
> This can be achieved by either:
> 1. Have a series check to determine if we need to run this.
> 2. Or make a copy of the control file, name it as
> control.ubuntu.bionic / control.ubuntu.focal and etc to host different
> test plans in the ubuntu_kernel_selftest directory and the mem-hp test
> can be removed from the control file, this control file will be used
> by other releases.
> (off-topic, we might need to review our ubuntu_kernel_selftests test
> plan as there are more tests have been added to the kselftest
> directory)
> Thoughts?

I noticed the issue only happens when the test tries to offline all the
hotpluggable memory while injecting errors - the same test, without memory
injection, is actually ratio limited (usually between 2% to 10% of all
hotpluggable memory), so i sent this patch upstream:


Would you consider it instead of turning off the test completely?

More information about the kernel-team mailing list