diff options
| author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-07-19 17:56:11 +0200 |
|---|---|---|
| committer | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-07-19 17:56:11 +0200 |
| commit | fa44402059a761dda241e7ca6452c45ab2cc1d45 (patch) | |
| tree | 32ea071a5307f7fb4ff3070a05df05dd8c234834 /tools/perf/scripts/python/bin | |
| parent | ecf11bc5f56abb3a2219a8c75e8a5b54467d1781 (diff) | |
| parent | 29e4bcf12604a8b217d0e3b86cb619f52c3a0a5f (diff) | |
Merge branch 'bpf-add-memory-usage-for-arena-and-selftest'
Jiayuan Chen says:
====================
bpf: Add memory usage for arena and selftest
arena is the only map type whose map_mem_usage() still returns 0, so
bpftool and fdinfo always show 0 memlock for it no matter how many pages
it holds. This series adds the accounting, runs the arena selftests
serially so they don't OOM a small CI VM, and adds a test for it.
v1 -> v2:
- split the scratch_page -> arena refactor into a prep patch (no
functional change)
- use WRITE_ONCE() for nr_pages to pair with the lockless reader
- reword the "run serially" commit message
- selftest: alloc prog returns 0 so the failure check is reached
v1: https://lore.kernel.org/bpf/20260716142746.8794-1-jiayuan.chen@linux.dev/
====================
Link: https://patch.msgid.link/20260717114117.350851-1-jiayuan.chen@linux.dev
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
