[PATCH 0/1][SRU][N] System hangs when running the memory stress test
AceLan Kao
acelan.kao at canonical.com
Tue Sep 30 03:35:30 UTC 2025
From: "Chia-Lin Kao (AceLan)" <acelan.kao at canonical.com>
BugLink: https://bugs.launchpad.net/ubuntu/bugs/2103680
[Impact]
While running the memory stress test, the system becomes unresponsive.
[Fix]
The commit from linux-next fixes the issue
4a077b6dd4a4 mm: page_alloc: avoid kswapd thrashing due to NUMA restrictions
[Test]
Run the following command on the machine with kernel version greater or
equal to v6.11
sudo stress-ng --aggressive --verify --timeout 300 --mmapmany 0
It should finish the test in 5mins.
[Where problems could occur]
Given that the patch was reviewed and tested by multiple experienced kernel
developers, the likelihood of it causing a noticeable regression is very
low. It is far more likely to improve performance and stability on NUMA
systems under the conditions described in the commit message.
Johannes Weiner (1):
mm: page_alloc: avoid kswapd thrashing due to NUMA restrictions
mm/page_alloc.c | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
--
2.43.0
More information about the kernel-team
mailing list