[PATCH v2 0/1][SRU][N/P] System hangs when running the memory stress test

AceLan Kao acelan.kao at canonical.com
Tue Sep 30 05:02:39 UTC 2025


From: "Chia-Lin Kao (AceLan)" <acelan.kao at canonical.com>

BugLink: https://bugs.launchpad.net/bugs/2103680

[Impact]
While running the memory stress test, the system becomes unresponsive.

[Fix]
The commit from linux-next fixes the issue
19c5fb83f2a4 mm: page_alloc: avoid kswapd thrashing due to NUMA restrictions

[Test]
Run the following command on the machine
   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