All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Rapoport <rppt@kernel.org>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: Jan Beulich <jbeulich@suse.com>,
	Naresh Kamboju <naresh.kamboju@linaro.org>,
	open list <linux-kernel@vger.kernel.org>,
	linux-mm <linux-mm@kvack.org>,
	lkft-triage@lists.linaro.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Dan Carpenter <dan.carpenter@linaro.org>,
	Arnd Bergmann <arnd@arndb.de>
Subject: Re: x86: WARNING: at mm/memblock.c:1339 memblock_set_node - Usage of MAX_NUMNODES is deprecated. Use NUMA_NO_NODE instead
Date: Thu, 6 Jun 2024 22:48:01 +0300	[thread overview]
Message-ID: <ZmIScSCwqpS6WBGn@kernel.org> (raw)
In-Reply-To: <b004f0be-1aa5-4f5b-8dd5-a071bcfc5179@paulmck-laptop>

On Thu, Jun 06, 2024 at 11:04:30AM -0700, Paul E. McKenney wrote:
> On Thu, Jun 06, 2024 at 07:19:40AM -0700, Paul E. McKenney wrote:
> > On Thu, Jun 06, 2024 at 08:13:17AM +0200, Jan Beulich wrote:
> > > On 05.06.2024 22:48, Paul E. McKenney wrote:
> > > > On Wed, Jun 05, 2024 at 09:46:37PM +0200, Jan Beulich wrote:
> > > >> On 05.06.2024 21:07, Paul E. McKenney wrote:
> > > >>> On Mon, Jun 03, 2024 at 07:19:21PM +0530, Naresh Kamboju wrote:
> > > >>>> The following kernel warnings are noticed on x86 devices while booting
> > > >>>> the Linux next-20240603 tag and looks like it is expected to warn users to
> > > >>>> use NUMA_NO_NODE instead.
> > > >>>>
> > > >>>> Usage of MAX_NUMNODES is deprecated. Use NUMA_NO_NODE instead
> > > >>>>
> > > >>>> The following config is enabled
> > > >>>> CONFIG_NUMA=y
> > > >>>
> > > >>> I am seeing this as well.  Is the following commit premature?
> > > >>>
> > > >>> e0eec24e2e19 ("memblock: make memblock_set_node() also warn about use of MAX_NUMNODES")
> > > >>>
> > > >>> Maybe old ACPI tables and device trees need to catch up?
> > > >>>
> > > >>> Left to myself, I would simply remove the WARN_ON_ONCE() from the above
> > > >>> commit, but I would guess that there is a better way.
> > > >>
> > > >> Well, the warning is issued precisely to make clear that call
> > > >> sites need to change. A patch to do so for the two instances
> > > >> on x86 that I'm aware of is already pending maintainer approval.
> > > > 
> > > > Could you please point me at that patch so that I can stop repeatedly
> > > > reproducing those two particular issues?
> > > 
> > > https://lore.kernel.org/lkml/abadb736-a239-49e4-ab42-ace7acdd4278@suse.com/
> > 
> > Thank you, Jan!
> > 
> > A quick initial test shows that this clears things up.  I have started
> > a longer test to check for additional issues.  But in the meantime
> > for the issues I was already seeing in the initial test:
> > 
> > Tested-by: Paul E. McKenney <paulmck@kernel.org>
> 
> And the longer test ran without errors as well, so again, thank you!
> 
> Any chance of getting this into -next sooner rather than later?

Should be there tomorrow.
 
> 							Thanx, Paul

-- 
Sincerely yours,
Mike.


  reply	other threads:[~2024-06-06 19:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-03 13:49 x86: WARNING: at mm/memblock.c:1339 memblock_set_node - Usage of MAX_NUMNODES is deprecated. Use NUMA_NO_NODE instead Naresh Kamboju
2024-06-05 19:07 ` Paul E. McKenney
2024-06-05 19:46   ` Jan Beulich
2024-06-05 20:48     ` Paul E. McKenney
2024-06-06  6:13       ` Jan Beulich
2024-06-06 14:19         ` Paul E. McKenney
2024-06-06 18:04           ` Paul E. McKenney
2024-06-06 19:48             ` Mike Rapoport [this message]
2024-06-06 20:17               ` Paul E. McKenney

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=ZmIScSCwqpS6WBGn@kernel.org \
    --to=rppt@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=dan.carpenter@linaro.org \
    --cc=jbeulich@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lkft-triage@lists.linaro.org \
    --cc=naresh.kamboju@linaro.org \
    --cc=paulmck@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 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.