Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf: Avoid allocing memory on memoryless numa node
In architecture like powerpc, we can have cpus without any local memory attached to it. In such cases the node does not have real memory. Use local_memory_node(), which is guaranteed to have memory. local_memory_node is a noop in other architectures that does not support memoryless nodes. Signed-off-by: Xianting Tian <tian.xianting@h3c.com>
- Loading branch information