Re: [External] Re: [PATCH bpf-next v3 0/2] Introduce access remote cpu elem support in BPF percpu map

From: Feng Zhou
Date: Sun May 15 2022 - 21:56:24 EST


在 2022/5/13 下午11:01, Daniel Borkmann 写道:
On 5/13/22 8:39 AM, Feng zhou wrote:
[...]
Changelog:
----------
v2->v3: Addressed comments from Andrii Nakryiko.
- use /* */ instead of //
- use libbpf_num_possible_cpus() instead of sysconf(_SC_NPROCESSORS_ONLN)
- use 8 bytes for value size
- fix memory leak
- use ASSERT_EQ instead of ASSERT_OK
- add bpf_loop to fetch values on each possible CPU
some details in here:
https://lore.kernel.org/lkml/20220511093854.411-1-zhoufeng.zf@xxxxxxxxxxxxx/T/

The v2 of your series is already in bpf-next tree, please just send a relative diff for
the selftest patch.

https://lore.kernel.org/lkml/165231901346.29050.11394051230756915389.git-patchwork-notify@xxxxxxxxxx/

Thanks,
Daniel

Ok, will do. Thanks.