Re: [PATCH 2/2] selftests/bpf: Select NUMA node of current CPU to create map

2025-01-27 Thread Saket Kumar Bhaskar
On Sat, Jan 25, 2025 at 09:02:37AM -0800, Alexei Starovoitov wrote: > On Sat, Jan 25, 2025 at 7:25 AM Saket Kumar Bhaskar > wrote: > > > > On powerpc, a CPU does not necessarily originate from NUMA node 0. > > This contrasts with architectures like x86, where CPU 0 is not > > hot-pluggable, makin

Re: [PATCH 2/2] selftests/bpf: Select NUMA node of current CPU to create map

2025-01-25 Thread Alexei Starovoitov
On Sat, Jan 25, 2025 at 7:25 AM Saket Kumar Bhaskar wrote: > > On powerpc, a CPU does not necessarily originate from NUMA node 0. > This contrasts with architectures like x86, where CPU 0 is not > hot-pluggable, making NUMA node 0 a consistently valid node. > This discrepancy can lead to failures

[PATCH 2/2] selftests/bpf: Select NUMA node of current CPU to create map

2025-01-25 Thread Saket Kumar Bhaskar
On powerpc, a CPU does not necessarily originate from NUMA node 0. This contrasts with architectures like x86, where CPU 0 is not hot-pluggable, making NUMA node 0 a consistently valid node. This discrepancy can lead to failures when creating a map on NUMA node 0, which is initialized by default, i