All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Mike Rapoport <rppt@kernel.org>
Cc: stable@vger.kernel.org, Geert Uytterhoeven <geert@linux-m68k.org>,
	Finn Thain <fthain@linux-m68k.org>,
	Mikael Pettersson <mikpelinux@gmail.com>,
	Mike Rapoport <rppt@linux.ibm.com>,
	linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org
Subject: Re: [PATCH stable 5.10] mm: make zone_to_nid() and zone_set_nid() available for DISCONTIGMEM
Date: Fri, 13 Aug 2021 10:42:39 +0200	[thread overview]
Message-ID: <YRYwf3rAHfWUWfiL@kroah.com> (raw)
In-Reply-To: <20210811134139.5451-1-rppt@kernel.org>

On Wed, Aug 11, 2021 at 04:41:39PM +0300, Mike Rapoport wrote:
> From: Mike Rapoport <rppt@linux.ibm.com>
> 
> Since the commit ce6ee46e0f39 ("mm/page_alloc: fix memory map
> initialization for descending nodes") initialization of the memory map
> relies on availability of zone_to_nid() and zone_set_nid methods to link
> struct page to a node.
> 
> But in 5.10 zone_to_nid() is only defined for NUMA, but not for
> DISCONTIGMEM which causes crashes on m68k systems with two memory banks.
> 

Many thanks for the work done to figure this out and fix it.  Now queued
up.

greg k-h

  reply	other threads:[~2021-08-13  8:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-11 13:41 [PATCH stable 5.10] mm: make zone_to_nid() and zone_set_nid() available for DISCONTIGMEM Mike Rapoport
2021-08-13  8:42 ` Greg KH [this message]
2021-08-13  9:04 ` Patch "mm: make zone_to_nid() and zone_set_nid() available for DISCONTIGMEM" has been added to the 5.10-stable tree gregkh

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=YRYwf3rAHfWUWfiL@kroah.com \
    --to=greg@kroah.com \
    --cc=fthain@linux-m68k.org \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=mikpelinux@gmail.com \
    --cc=rppt@kernel.org \
    --cc=rppt@linux.ibm.com \
    --cc=stable@vger.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.