[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <19f7ccec-db2a-4176-b6d9-12abe0586d07@app.fastmail.com>
Date: Wed, 07 Aug 2024 20:53:04 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Mike Rapoport" <rppt@...nel.org>
Cc: linux-kernel@...r.kernel.org,
"Alexander Gordeev" <agordeev@...ux.ibm.com>,
"Andreas Larsson" <andreas@...sler.com>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"Borislav Petkov" <bp@...en8.de>,
"Catalin Marinas" <catalin.marinas@....com>,
"Christophe Leroy" <christophe.leroy@...roup.eu>,
"Dan Williams" <dan.j.williams@...el.com>,
"Dave Hansen" <dave.hansen@...ux.intel.com>,
"David Hildenbrand" <david@...hat.com>,
"David S . Miller" <davem@...emloft.net>,
"Davidlohr Bueso" <dave@...olabs.net>,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
"Heiko Carstens" <hca@...ux.ibm.com>,
"Huacai Chen" <chenhuacai@...nel.org>, "Ingo Molnar" <mingo@...hat.com>,
"Jiaxun Yang" <jiaxun.yang@...goat.com>,
"John Paul Adrian Glaubitz" <glaubitz@...sik.fu-berlin.de>,
"Jonathan Cameron" <jonathan.cameron@...wei.com>,
"Jonathan Corbet" <corbet@....net>,
"Michael Ellerman" <mpe@...erman.id.au>,
"Palmer Dabbelt" <palmer@...belt.com>,
"Rafael J . Wysocki" <rafael@...nel.org>,
"Rob Herring" <robh@...nel.org>,
"Samuel Holland" <samuel.holland@...ive.com>,
"Thomas Bogendoerfer" <tsbogend@...ha.franken.de>,
"Thomas Gleixner" <tglx@...utronix.de>,
"Vasily Gorbik" <gor@...ux.ibm.com>, "Will Deacon" <will@...nel.org>,
"Zi Yan" <ziy@...dia.com>, devicetree@...r.kernel.org,
linux-acpi@...r.kernel.org, Linux-Arch <linux-arch@...r.kernel.org>,
linux-arm-kernel@...ts.infradead.org, linux-cxl@...r.kernel.org,
linux-doc@...r.kernel.org, linux-mips@...r.kernel.org,
linux-mm@...ck.org, linux-riscv@...ts.infradead.org,
linux-s390@...r.kernel.org, linux-sh@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, loongarch@...ts.linux.dev,
nvdimm@...ts.linux.dev, sparclinux@...r.kernel.org, x86@...nel.org
Subject: Re: [PATCH v4 24/26] arch_numa: switch over to numa_memblks
On Wed, Aug 7, 2024, at 20:18, Mike Rapoport wrote:
> On Wed, Aug 07, 2024 at 08:58:37AM +0200, Arnd Bergmann wrote:
>> On Wed, Aug 7, 2024, at 08:41, Mike Rapoport wrote:
>> >
>> > 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
Powered by blists - more mailing lists