[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZnfADPCiONdn1F8d@kernel.org>
Date: Sun, 23 Jun 2024 09:26:20 +0300
From: Mike Rapoport <rppt@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: [GIT PULL] memblock: fix fragility in checks for unset node ID
Hi Linus,
The following changes since commit 3ac36aa7307363b7247ccb6f6a804e11496b2b36:
x86/mm/numa: Use NUMA_NO_NODE when calling memblock_set_node() (2024-06-06 22:20:39 +0300)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/fixes-2024-06-23
for you to fetch changes up to 8043832e2a123fd9372007a29192f2f3ba328cd6:
memblock: use numa_valid_node() helper to check for invalid node ID (2024-06-16 10:17:57 +0300)
----------------------------------------------------------------
memblock: fix fragility in checks for unset node ID
Use numa_valid_node() function to verify that nid is a valid node ID
instead of inconsistent comparisons with either NUMA_NO_NODE or
MAX_NUMNODES.
----------------------------------------------------------------
Mike Rapoport (IBM) (1):
memblock: use numa_valid_node() helper to check for invalid node ID
include/linux/numa.h | 5 +++++
mm/memblock.c | 28 +++++++---------------------
2 files changed, 12 insertions(+), 21 deletions(-)
--
Sincerely yours,
Mike.
Powered by blists - more mailing lists