Thread (31 messages) 31 messages, 3 authors, 2024-11-27

Re: [PATCH v4 24/26] arch_numa: switch over to numa_memblks

From: "Arnd Bergmann" <arnd@arndb.de>
Date: 2024-08-07 18:53:27
Also in: linux-acpi, linux-arch, linux-arm-kernel, linux-cxl, linux-devicetree, linux-doc, linux-mips, linux-riscv, linux-s390, linux-sh, lkml, loongarch, nvdimm, sparclinux

On Wed, Aug 7, 2024, at 20:18, Mike Rapoport wrote:
On Wed, Aug 07, 2024 at 08:58:37AM +0200, Arnd Bergmann wrote:
quoted
On Wed, Aug 7, 2024, at 08:41, Mike Rapoport wrote:
quoted
 void __init arch_numa_init(void);
 int __init numa_add_memblk(int nodeid, u64 start, u64 end);
-void __init numa_set_distance(int from, int to, int distance);
-void __init numa_free_distance(void);
 void __init early_map_cpu_to_node(unsigned int cpu, int nid);
 int __init early_cpu_to_node(int cpu);
 void numa_store_cpu_info(unsigned int cpu);
but is still declared as __init in the header, so it is
still put in that section and discarded after boot.
I believe this should fix it
Yes, sorry I should have posted the patch as well, this is
what I tested with locally.

     Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help