diff options
| author | Magnus Karlsson <[email protected]> | 2021-05-21 08:33:01 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-05-25 11:11:50 +0000 |
| commit | a720a2a0ad6cb6f769b6c7cbc3c54287a7d54ff8 (patch) | |
| tree | fa40b51bb81c30779dd268fa19394f8b6472eb50 /tools/lib/bpf/bpf_helpers.h | |
| parent | bpf: Fix spelling mistakes (diff) | |
| download | kernel-a720a2a0ad6cb6f769b6c7cbc3c54287a7d54ff8.tar.gz kernel-a720a2a0ad6cb6f769b6c7cbc3c54287a7d54ff8.zip | |
xsk: Use kvcalloc to support large umems
Use kvcalloc() instead of kcalloc() to support large umems with, on my
server, one million pages or more in the umem.
Reported-by: Dan Siemon <[email protected]>
Signed-off-by: Magnus Karlsson <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Björn Töpel <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions
