diff options
| author | Yafang Shao <[email protected]> | 2023-03-05 12:46:08 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-03-07 17:33:42 +0000 |
| commit | c6e66b42a348125fd41131de75f84fa67b6579ce (patch) | |
| tree | 32c27e68a710088ff57c4801c79d35ff5a1290b9 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
| parent | bpf: devmap memory usage (diff) | |
| download | kernel-c6e66b42a348125fd41131de75f84fa67b6579ce.tar.gz kernel-c6e66b42a348125fd41131de75f84fa67b6579ce.zip | |
bpf: queue_stack_maps memory usage
A new helper is introduced to calculate queue_stack_maps memory usage.
The result as follows,
- before
20: queue name count_map flags 0x0
key 0B value 4B max_entries 65536 memlock 266240B
21: stack name count_map flags 0x0
key 0B value 4B max_entries 65536 memlock 266240B
- after
20: queue name count_map flags 0x0
key 0B value 4B max_entries 65536 memlock 524288B
21: stack name count_map flags 0x0
key 0B value 4B max_entries 65536 memlock 524288B
Signed-off-by: Yafang Shao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions
