-
Notifications
You must be signed in to change notification settings - Fork 5
selftests/bpf: Convert glob_match() to bpf arena #6328
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
selftests/bpf: Convert glob_match() to bpf arena #6328
Conversation
|
Upstream branch: 026bcf9 |
4eb9670 to
e1b05fd
Compare
|
Upstream branch: f1d8c65 |
35bdcce to
f94dc49
Compare
e1b05fd to
b1af442
Compare
|
Upstream branch: 93ce3be |
f94dc49 to
c05bb2b
Compare
b1af442 to
67d3dd3
Compare
|
Upstream branch: 93ce3be |
c05bb2b to
511e58f
Compare
67d3dd3 to
488318d
Compare
|
Upstream branch: c1da3df |
511e58f to
186e164
Compare
488318d to
728ac5f
Compare
|
Upstream branch: fea3f5e |
Increase arena test coverage. Convert glob_match() to bpf arena in two steps: 1. Copy paste lib/glob.c into bpf_arena_strsearch.h Copy paste lib/globtests.c into progs/arena_strsearch.c 2. Add __arena to pointers Add __arg_arena to global functions that accept arena pointers Add cond_break to loops The test also serves as a good example of what's possible with bpf arena and how existing algorithms can be converted. Signed-off-by: Alexei Starovoitov <[email protected]>
186e164 to
c895846
Compare
4fcc7e1 to
1aeb398
Compare
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=1021846 irrelevant now. Closing PR. |
Pull request for series with
subject: selftests/bpf: Convert glob_match() to bpf arena
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1021846