Cmnt: [PATCH v2 0/1][SRU][N/P] System hangs when running the memory stress test
Alessio Faina
alessio.faina at canonical.com
Wed Oct 1 07:41:41 UTC 2025
On Tue, Sep 30, 2025 at 01:02:39PM +0800, AceLan Kao wrote:
> 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
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
I've noticed you uploaded a patch for Q as well with the same content,
it would be better if you could use the flat hierarchy including all the
patches like the following one:
[PATCH v2 0/1][SRU][N/P/Q] System hangs when running the memory stress test
[PATCH v2 1/1][SRU][N/P] mm: page_alloc: avoid kswapd thrashing due to NUMA restrictions
[PATCH v2 1/1][SRU][Q] mm: page_alloc: avoid kswapd thrashing due to NUMA restrictions
--
Alessio Faina
More information about the kernel-team
mailing list