From: Sang-Heon Jeon <ekffu200098@gmail.com>
To: Mike Rapoport <rppt@kernel.org>
Cc: akpm@linux-foundation.org, djbw@kernel.org, mingo@kernel.org,
linux-mm@kvack.org
Subject: Re: [RFC PATCH 2/2] mm/fake-numa: fix outdated return value comment
Date: Thu, 16 Apr 2026 19:16:11 +0900 [thread overview]
Message-ID: <CABFDxMEmsM9gCqZsPahHAQ-LDvb=EucOvA_mjSTYCQtbpvR_-g@mail.gmail.com> (raw)
In-Reply-To: <ad41JQ_MjuPNhC3M@kernel.org>
Hello,
On Tue, Apr 14, 2026 at 9:38 PM Mike Rapoport <rppt@kernel.org> wrote:
>
> Hi,
>
> On Tue, Apr 14, 2026 at 12:44:38AM +0900, Sang-Heon Jeon wrote:
> > split_nodes_size_interleave_uniform() returns absolute node ID when
> > succeed, not zero.
> >
> > Fix the outdated comment to match the actual return value.
>
> This should be merged in the previous patch.
I got it. I'll include it in the v2 patch.
> > Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
> > ---
> > mm/numa_emulation.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/mm/numa_emulation.c b/mm/numa_emulation.c
> > index e7f856c8f2a1..c1d0a76aef64 100644
> > --- a/mm/numa_emulation.c
> > +++ b/mm/numa_emulation.c
> > @@ -214,7 +214,7 @@ static u64 uniform_size(u64 max_addr, u64 base, u64 hole, int nr_nodes)
> > * Sets up fake nodes of `size' interleaved over physical nodes ranging from
> > * `addr' to `max_addr'.
> > *
> > - * Returns zero on success or negative on error.
> > + * Returns absolute node ID on success or negative on error.
> > */
> > static int __init split_nodes_size_interleave_uniform(struct numa_meminfo *ei,
> > struct numa_meminfo *pi,
> > --
> > 2.43.0
> >
>
> --
> Sincerely yours,
> Mike.
Best Regards,
Sang-Heon Jeon
prev parent reply other threads:[~2026-04-16 10:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-13 15:44 [RFC PATCH 0/2] mm/fake-numa: fix under-allocation detection logic in uniform split Sang-Heon Jeon
2026-04-13 15:44 ` [RFC PATCH 1/2] " Sang-Heon Jeon
2026-04-14 12:37 ` Mike Rapoport
2026-04-16 10:18 ` Sang-Heon Jeon
2026-04-13 15:44 ` [RFC PATCH 2/2] mm/fake-numa: fix outdated return value comment Sang-Heon Jeon
2026-04-14 12:37 ` Mike Rapoport
2026-04-16 10:16 ` Sang-Heon Jeon [this message]
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='CABFDxMEmsM9gCqZsPahHAQ-LDvb=EucOvA_mjSTYCQtbpvR_-g@mail.gmail.com' \
--to=ekffu200098@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=djbw@kernel.org \
--cc=linux-mm@kvack.org \
--cc=mingo@kernel.org \
--cc=rppt@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox