diff options
| author | Saket Kumar Bhaskar <skb99@linux.ibm.com> | 2025-01-31 12:35:22 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-10 14:39:20 +0200 |
| commit | c9fad5ce1ef90b0f5abf406da3cbc87eb93a73bf (patch) | |
| tree | 901139d58ae7616d920d966cd3b38abc0a33b576 /lib | |
| parent | 4d32504f7ae951600e216aac4e04c81b02421a9d (diff) | |
| download | linux-c9fad5ce1ef90b0f5abf406da3cbc87eb93a73bf.tar.gz linux-c9fad5ce1ef90b0f5abf406da3cbc87eb93a73bf.tar.bz2 linux-c9fad5ce1ef90b0f5abf406da3cbc87eb93a73bf.zip | |
selftests/bpf: Select NUMA_NO_NODE to create map
[ Upstream commit 4107a1aeb20ed4cdad6a0d49de92ea0f933c71b7 ]
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, if no CPUs are allocated
from NUMA node 0.
This patch fixes the issue by setting NUMA_NO_NODE (-1) for map
creation for this selftest.
Fixes: 96eabe7a40aa ("bpf: Allow selecting numa node during map creation")
Signed-off-by: Saket Kumar Bhaskar <skb99@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/cf1f61468b47425ecf3728689bc9636ddd1d910e.1738302337.git.skb99@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
