-
Notifications
You must be signed in to change notification settings - Fork 5
bpf: stream: start using kmalloc_nolock() #6205
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: stream: start using kmalloc_nolock() #6205
Conversation
|
Upstream branch: e758657 |
|
Upstream branch: e758657 |
ed00111 to
d09db2e
Compare
d5592b9 to
27d6d8b
Compare
|
Upstream branch: e758657 |
d09db2e to
e357585
Compare
27d6d8b to
4d1f3ab
Compare
|
Upstream branch: e758657 |
e357585 to
7fef01e
Compare
4d1f3ab to
7ba9a34
Compare
|
Upstream branch: ff88079 |
7fef01e to
6ce3929
Compare
7ba9a34 to
2991dd5
Compare
|
Upstream branch: f9db3a3 |
6ce3929 to
3f19053
Compare
2991dd5 to
583dec7
Compare
|
Upstream branch: 8842732 |
3f19053 to
3fdda4b
Compare
583dec7 to
e224139
Compare
|
Upstream branch: 23f852d |
3fdda4b to
30432d6
Compare
e224139 to
1f11231
Compare
|
Upstream branch: 54c134f |
30432d6 to
80f9607
Compare
1f11231 to
2563a04
Compare
|
Upstream branch: 9f317bd |
80f9607 to
94864b4
Compare
2563a04 to
b8a9697
Compare
|
Upstream branch: 54c134f |
94864b4 to
fe20f84
Compare
b8a9697 to
0ff1d70
Compare
|
Upstream branch: e2e668b |
fe20f84 to
9347388
Compare
0ff1d70 to
75ba762
Compare
|
Upstream branch: d28c0e4 |
BPF stream kfuncs need to be non-sleeping as they can be called from programs running in any context, this requires a way to allocate memory from any context. Currently, this is done by a custom per-CPU NMI-safe bump allocation mechanism, backed by try_alloc_pages() and free_pages_nolock() primitives. As kmalloc_nolock() and kfree_nolock() primitives are available now, the custom allocator can be removed in favor of these. Signed-off-by: Puranjay Mohan <[email protected]> Acked-by: Kumar Kartikeya Dwivedi <[email protected]>
9347388 to
2e09b94
Compare
75ba762 to
385f65b
Compare
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=1015112 irrelevant now. Closing PR. |
Pull request for series with
subject: bpf: stream: start using kmalloc_nolock()
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1015112