-
Notifications
You must be signed in to change notification settings - Fork 148
bpf: Replace kvfree with kfree for kzalloc memory #9577
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
base: bpf-next_base
Are you sure you want to change the base?
Conversation
Upstream branch: 2465bb8 |
Upstream branch: 2465bb8 |
6b54e93
to
485e4dc
Compare
cb708c1
to
2114ead
Compare
Upstream branch: 2660b9d |
485e4dc
to
4d42664
Compare
2114ead
to
762c919
Compare
Upstream branch: d3abefe |
4d42664
to
0fe5468
Compare
762c919
to
cc2b49e
Compare
Upstream branch: 4c229f3 |
0fe5468
to
1fb299e
Compare
cc2b49e
to
bc5f869
Compare
Upstream branch: bd27626 |
1fb299e
to
fd4aecb
Compare
bc5f869
to
1f6b339
Compare
Upstream branch: 737433c |
fd4aecb
to
430d2bd
Compare
1f6b339
to
1e6c912
Compare
Upstream branch: 98857d1 |
These pointers are allocated by kzalloc. Replace kvfree() with kfree() to avoid unnecessary is_vmalloc_addr() check in kvfree(). This is the remaining unmodified part from [1]. [1] https://lore.kernel.org/bpf/[email protected]. Signed-off-by: Feng Yang <[email protected]> Acked-by: Yonghong Song <[email protected]>
430d2bd
to
782f217
Compare
Pull request for series with
subject: bpf: Replace kvfree with kfree for kzalloc memory
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=995860