From: Cyril Hrubis <chrubis@suse.cz>
To: Huaisheng Ye <yehuaisheng@open-hieco.net>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] hugemmap10: Add linux-git tag for NUMA fix
Date: Mon, 16 Nov 2026 13:52:11 +0100 [thread overview]
Message-ID: <avr8exdOSVwgjR3C@yuki.lan> (raw)
In-Reply-To: <20261116101559.93229-1-yehuaisheng@open-hieco.net>
Hi!
> +/*
> + * This test also covers the NUMA regression fixed by Linux commit
> + * 21f514ad520459fbfa58ccdf171bb68148c2f5aa. If free huge pages are outside
> + * the nodes allowed by the task's cpuset or MPOL_BIND policy, hugetlb must
> + * account for the allowed-node shortfall when gathering surplus pages.
> + * Otherwise mmap() may fail with ENOMEM even when nr_overcommit_hugepages
> + * permits allocating surplus pages on the allowed nodes.
> + *
> + * The issue can be exercised on a system with two or more NUMA nodes, for
> + * example with:
> + *
> + * numactl --cpunodebind=0 --membind=1 ./hugemmap10
If nothing else, this text should be part of the doc comment just above
it so that it's properly exported to documentation.
Also if the test needs to be bind to specific nodes to reproduce the
problem, it would make sense (in a separate patch) to add a subtest to
the test so that we can test it properly.
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-11-16 12:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 10:15 [LTP] [PATCH] hugemmap10: Add linux-git tag for NUMA fix Huaisheng Ye
2026-11-16 12:10 ` [LTP] " linuxtestproject.agent
2026-11-16 12:52 ` Cyril Hrubis [this message]
2026-11-18 2:02 ` [LTP] [PATCH] " Huaisheng Ye
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=avr8exdOSVwgjR3C@yuki.lan \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
--cc=yehuaisheng@open-hieco.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.