diff options
author | Magnus Karlsson <[email protected]> | 2021-05-21 10:33:01 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-05-25 13:11:50 +0200 |
commit | a720a2a0ad6cb6f769b6c7cbc3c54287a7d54ff8 (patch) | |
tree | fa40b51bb81c30779dd268fa19394f8b6472eb50 /tools/lib/bpf/bpf_prog_linfo.c | |
parent | 8fb33b6055300a23f26868680c22a5726834785e (diff) |
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_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions