-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpf: Allow bpf_for/bpf_repeat while holding spin #8306
base: bpf-next_base
Are you sure you want to change the base?
Conversation
Upstream branch: dfa94ce |
Upstream branch: dfa94ce |
adad9ee
to
d581ce8
Compare
Upstream branch: dfa94ce |
d581ce8
to
2c1e7af
Compare
da86bde
to
2db328a
Compare
Upstream branch: 96ea081 |
2c1e7af
to
a739b09
Compare
Add the bpf_iter_num_* kfuncs called by bpf_for in special_kfunc_list, and allow the calls even while holding a spin lock. Signed-off-by: Emil Tsalapatis (Meta) <emil@etsalapatis.com> Reviewed-by: Eduard Zingerman <eddyz87@gmail.com>
Add a selftest to ensure BPF for loops within critical sections are accepted by the verifier. Signed-off-by: Emil Tsalapatis (Meta) <emil@etsalapatis.com> Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Upstream branch: 96ea081 |
a739b09
to
1c15586
Compare
Pull request for series with
subject: bpf: Allow bpf_for/bpf_repeat while holding spin
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=921699