[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHk-=wiOwJD6sp6mdFg+6Ab8shcB0+qD8=m6MFBA-ExxBnYG5A@mail.gmail.com>
Date: Fri, 14 Jun 2024 09:28:11 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Mike Rapoport <rppt@...nel.org>
Cc: Borislav Petkov <bp@...en8.de>, Jan Beulich <jbeulich@...e.com>, Narasimhan V <Narasimhan.V@....com>,
"Paul E. McKenney" <paulmck@...nel.org>, stable@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [GIT PULL] memblock:fix validation of NUMA coverage
On Fri, 14 Jun 2024 at 01:20, Mike Rapoport <rppt@...nel.org> wrote:
>
> A single constant is likely to backfire because I remember seeing checks
> like 'if (nid < 0)' so redefining NUMA_NO_NODE will require auditing all
> those.
Yeah, fair enough.
> But a helper function works great.
Thanks, that patch looks like a nice improvement to me.
Linus
Powered by blists - more mailing lists