diff options
| author | Jesper Dangaard Brouer <[email protected]> | 2020-07-14 15:56:34 +0200 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-07-16 17:00:31 +0200 |
| commit | 9b74ebb2b0f259474da65fa0178c657e5fa5c640 (patch) | |
| tree | 7b9bb6908c13b0ab5e7eee616cff9c2762db5c78 /tools/include/uapi/linux | |
| parent | 59632b220f2d61df274ed3a14a204e941051fdad (diff) | |
cpumap: Use non-locked version __ptr_ring_consume_batched
Commit 77361825bb01 ("bpf: cpumap use ptr_ring_consume_batched") changed
away from using single frame ptr_ring dequeue (__ptr_ring_consume) to
consume a batched, but it uses a locked version, which as the comment
explain isn't needed.
Change to use the non-locked version __ptr_ring_consume_batched.
Fixes: 77361825bb01 ("bpf: cpumap use ptr_ring_consume_batched")
Signed-off-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/a9c7d06f9a009e282209f0c8c7b2c5d9b9ad60b9.1594734381.git.lorenzo@kernel.org
Diffstat (limited to 'tools/include/uapi/linux')
0 files changed, 0 insertions, 0 deletions