[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1fee24cd-59ab-4843-6ae2-4e49424199f6@os.amperecomputing.com>
Date: Mon, 8 Apr 2024 10:06:14 -0700 (PDT)
From: "Lameter, Christopher" <cl@...amperecomputing.com>
To: Andrew Morton <akpm@...ux-foundation.org>
cc: Huang Shijie <shijie@...amperecomputing.com>, gregkh@...uxfoundation.org,
patches@...erecomputing.com, rafael@...nel.org, paul.walmsley@...ive.com,
palmer@...belt.com, aou@...s.berkeley.edu, yury.norov@...il.com,
kuba@...nel.org, vschneid@...hat.com, mingo@...nel.org, vbabka@...e.cz,
rppt@...nel.org, tglx@...utronix.de, jpoimboe@...nel.org,
ndesaulniers@...gle.com, mikelley@...rosoft.com, mhiramat@...nel.org,
arnd@...db.de, linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org,
catalin.marinas@....com, will@...nel.org, mark.rutland@....com,
mpe@...erman.id.au, linuxppc-dev@...ts.ozlabs.org, chenhuacai@...nel.org,
jiaxun.yang@...goat.com, linux-mips@...r.kernel.org
Subject: Re: [PATCH v3] NUMA: Early use of cpu_to_node() returns 0 instead
of the correct node id
On Wed, 27 Mar 2024, Andrew Morton wrote:
>> In order to fix the bug, the patch introduces early_numa_node_init()
>> which is called after smp_prepare_boot_cpu() in start_kernel.
>> early_numa_node_init will initialize the "numa_node" as soon as
>> the early_cpu_to_node() is ready, before the cpu_to_node() is called
>> at the first time.
>
> What are the userspace-visible runtime effects of this bug?
Performance is reduced since there is increase in off node accesses.
Powered by blists - more mailing lists