* [folded-merged] arch-x86-mm-numa-do-not-initialize-nodes-twice-v2.patch removed from -mm tree
@ 2022-03-22 19:11 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-03-22 19:11 UTC (permalink / raw)
To: mm-commits, mhocko, osalvador, akpm
The patch titled
Subject: arch-x86-mm-numa-do-not-initialize-nodes-twice-v2
has been removed from the -mm tree. Its filename was
arch-x86-mm-numa-do-not-initialize-nodes-twice-v2.patch
This patch was dropped because it was folded into arch-x86-mm-numa-do-not-initialize-nodes-twice.patch
------------------------------------------------------
From: Oscar Salvador <osalvador@suse.de>
Subject: arch-x86-mm-numa-do-not-initialize-nodes-twice-v2
add comments
Link: https://lkml.kernel.org/r/20220221142649.3457-1-osalvador@suse.de
Signed-off-by: Oscar Salvador <osalvador@suse.de>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/x86/mm/numa.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
--- a/arch/x86/mm/numa.c~arch-x86-mm-numa-do-not-initialize-nodes-twice-v2
+++ a/arch/x86/mm/numa.c
@@ -755,6 +755,15 @@ void __init init_gi_nodes(void)
{
int nid;
+ /*
+ * Exclude this node from
+ * bringup_nonboot_cpus
+ * cpu_up
+ * __try_online_node
+ * register_one_node
+ * because node_subsys is not initialized yet.
+ * TODO remove dependency on node_online
+ */
for_each_node_state(nid, N_GENERIC_INITIATOR)
if (!node_online(nid))
node_set_online(nid);
@@ -787,6 +796,15 @@ void __init init_cpu_to_node(void)
if (node == NUMA_NO_NODE)
continue;
+ /*
+ * Exclude this node from
+ * bringup_nonboot_cpus
+ * cpu_up
+ * __try_online_node
+ * register_one_node
+ * because node_subsys is not initialized yet.
+ * TODO remove dependency on node_online
+ */
if (!node_online(node))
node_set_online(node);
_
Patches currently in -mm which might be from osalvador@suse.de are
arch-x86-mm-numa-do-not-initialize-nodes-twice.patch
mm-only-re-generate-demotion-targets-when-a-numa-node-changes-its-n_cpu-state.patch
mm-only-re-generate-demotion-targets-when-a-numa-node-changes-its-n_cpu-state-v3.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-22 19:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-22 19:11 [folded-merged] arch-x86-mm-numa-do-not-initialize-nodes-twice-v2.patch removed from -mm tree Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).