From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,rppt@kernel.org,bfaccini@nvidia.com,
ekffu200098@gmail.com,akpm@linux-foundation.org
Subject: + arch_numa-fix-broken-numa-emulation-with-dummy_numa_init.patch added to mm-unstable branch
Date: Sun, 22 Nov 2026 00:50:08 -0800 [thread overview]
Message-ID: <20261122085009.7A8241F000C0@smtp.kernel.org> (raw)
In-Reply-To: <20261114132625.1710476-1-ekffu200098@gmail.com>
The patch titled
Subject: arch_numa: fix broken NUMA emulation with dummy_numa_init()
has been added to the -mm mm-unstable branch. Its filename is
arch_numa-fix-broken-numa-emulation-with-dummy_numa_init.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/arch_numa-fix-broken-numa-emulation-with-dummy_numa_init.patch
This patch will later appear in the mm-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via various
branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there most days
------------------------------------------------------
From: Sang-Heon Jeon <ekffu200098@gmail.com>
Subject: arch_numa: fix broken NUMA emulation with dummy_numa_init()
Date: Sat, 14 Nov 2026 22:26:24 +0900
If arch_numa_init() falls back to dummy_numa_init(), numa_off is set to
true before numa_emulation() runs. Then numa_emulation() calls
fix_pxm_node_maps(), which fails when CONFIG_ACPI_NUMA is enabled and
numa_off is true, so numa=fake is ignored in that case.
So set numa_off in arch_numa_init() after numa_emulation() runs
instead.
Link: https://patch.msgid.link/20261114132625.1710476-1-ekffu200098@gmail.com
Fixes: 63db8170bf34 ("mm/fake-numa: allow later numa node hotplug")
Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Bruno Faccini <bfaccini@nvidia.com>
mm/arch_numa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/arch_numa.c~arch_numa-fix-broken-numa-emulation-with-dummy_numa_init
+++ a/mm/arch_numa.c
@@ -289,7 +289,6 @@ static int __init dummy_numa_init(void)
return ret;
}
- numa_off = true;
return 0;
}
@@ -329,6 +328,7 @@ void __init arch_numa_init(void)
}
numa_init(dummy_numa_init);
+ numa_off = true;
}
#ifdef CONFIG_NUMA_EMU
_
Patches currently in -mm which might be from ekffu200098@gmail.com are
arch_numa-fix-broken-numa-emulation-with-dummy_numa_init.patch
fault-inject-use-a-shared-initialization-helper-for-the-random-state.patch
fault-inject-fix-wrong-unit-of-verbose_ratelimit_interval_ms.patch
fault-injection-fix-typo-in-failcmdsh.patch
prev parent reply other threads:[~2026-11-22 8:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-14 13:26 [PATCH] arch_numa: fix broken NUMA emulation with dummy_numa_init() Sang-Heon Jeon
2026-11-22 8:50 ` Andrew Morton [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=20261122085009.7A8241F000C0@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=bfaccini@nvidia.com \
--cc=ekffu200098@gmail.com \
--cc=mm-commits@vger.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 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.