diff options
author | Alexei Starovoitov <ast@kernel.org> | 2023-08-21 15:21:16 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-08-21 15:21:16 -0700 |
commit | 5bebd3e3a37dc00c6dbbcd0eb5cebd58e3f18f64 (patch) | |
tree | a3e9247534fe1fcb2809caabc9ba62daa7e6e381 /kernel/uid16.h | |
parent | 0a55264cf966fb95ebf9d03d9f81fa992f069312 (diff) | |
parent | c2e42ddf26cad03ea92400c88b024e8ce1601dff (diff) | |
download | linux-5bebd3e3a37dc00c6dbbcd0eb5cebd58e3f18f64.tar.gz linux-5bebd3e3a37dc00c6dbbcd0eb5cebd58e3f18f64.tar.bz2 linux-5bebd3e3a37dc00c6dbbcd0eb5cebd58e3f18f64.zip |
Merge branch 'remove-unnecessary-synchronizations-in-cpumap'
Hou Tao says:
====================
Remove unnecessary synchronizations in cpumap
From: Hou Tao <houtao1@huawei.com>
Hi,
This is the formal patchset to remove unnecessary synchronizations in
cpu-map after address comments and collect Rvb tags from Toke
Høiland-Jørgensen (Big thanks to Toke). Patch #1 removes the unnecessary
rcu_barrier() when freeing bpf_cpu_map_entry and replaces it by
queue_rcu_work(). Patch #2 removes the unnecessary call_rcu() and
queue_work() when destroying cpu-map and does the freeing directly.
Test the patchset by using xdp_redirect_cpu and virtio-net. Both
xdp-mode and skb-mode have been exercised and no issues were reported.
As ususal, comments and suggestions are always welcome.
Change Log:
v1:
* address comments from Toke Høiland-Jørgensen
* add Rvb tags from Toke Høiland-Jørgensen
* update outdated comment in cpu_map_delete_elem()
RFC: https://lore.kernel.org/bpf/20230728023030.1906124-1-houtao@huaweicloud.com
====================
Link: https://lore.kernel.org/r/20230816045959.358059-1-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/uid16.h')
0 files changed, 0 insertions, 0 deletions