We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19419fd commit 2892b00Copy full SHA for 2892b00
arch/powerpc/kernel/smp.c
@@ -1254,6 +1254,9 @@ void start_secondary(void *unused)
1254
1255
vdso_getcpu_init();
1256
#endif
1257
+ set_numa_node(numa_cpu_lookup_table[cpu]);
1258
+ set_numa_mem(local_memory_node(numa_cpu_lookup_table[cpu]));
1259
+
1260
/* Update topology CPU masks */
1261
add_cpu_to_masks(cpu);
1262
@@ -1266,9 +1269,6 @@ void start_secondary(void *unused)
1266
1269
if (!cpumask_equal(cpu_l2_cache_mask(cpu), sibling_mask(cpu)))
1267
1270
shared_caches = true;
1268
1271
- set_numa_node(numa_cpu_lookup_table[cpu]);
- set_numa_mem(local_memory_node(numa_cpu_lookup_table[cpu]));
-
1272
smp_wmb();
1273
notify_cpu_starting(cpu);
1274
set_cpu_online(cpu, true);
0 commit comments