]> git.ipfire.org Git - thirdparty/linux.git/commit
bpf: Remove cgroup local storage percpu counter
authorAmery Hung <ameryhung@gmail.com>
Thu, 5 Feb 2026 22:29:05 +0000 (14:29 -0800)
committerMartin KaFai Lau <martin.lau@kernel.org>
Fri, 6 Feb 2026 22:29:14 +0000 (14:29 -0800)
commit5254de7b9607dd341795cd693185f719a9e7298a
tree7edcf93357bb77310c4f280adfd5e91d5711191c
parent4a98c2efa613f0b01bc3aa0acb8c3ff7ae29b6f9
bpf: Remove cgroup local storage percpu counter

The percpu counter in cgroup local storage is no longer needed as the
underlying bpf_local_storage can now handle deadlock with the help of
rqspinlock. Remove the percpu counter and related migrate_{disable,
enable}.

Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20260205222916.1788211-8-ameryhung@gmail.com
kernel/bpf/bpf_cgrp_storage.c