diff options
| author | Yafang Shao <laoar.shao@gmail.com> | 2023-02-10 15:47:34 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-02-10 18:59:57 -0800 |
| commit | bf3965082491601bf9cd6d9a0ce2d88cb219168a (patch) | |
| tree | 6c9048dbac70ddf85660493933287c979ac4921d /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | bpf: allow to disable bpf map memory accounting (diff) | |
| download | linux-bf3965082491601bf9cd6d9a0ce2d88cb219168a.tar.gz linux-bf3965082491601bf9cd6d9a0ce2d88cb219168a.zip | |
bpf: allow to disable bpf prog memory accounting
We can simply disable the bpf prog memory accouting by not setting the
GFP_ACCOUNT.
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Roman Gushchin <roman.gushchin@linux.dev>
Link: https://lore.kernel.org/r/20230210154734.4416-5-laoar.shao@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
