diff options
author | Song Liu <song@kernel.org> | 2023-09-15 01:25:42 +0300 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2023-09-15 01:30:45 +0300 |
commit | 5c04433daf9ed8b28d4900112be1fd19e1786b25 (patch) | |
tree | 7efc47a87fb966e1c2fd4b71923737dffa3f78fe /net/xdp/xsk.c | |
parent | 971f7c32147f2d0953a815a109b22b8ed45949d4 (diff) | |
download | linux-5c04433daf9ed8b28d4900112be1fd19e1786b25.tar.xz |
bpf: Charge modmem for struct_ops trampoline
Current code charges modmem for regular trampoline, but not for struct_ops
trampoline. Add bpf_jit_[charge|uncharge]_modmem() to struct_ops so the
trampoline is charged in both cases.
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230914222542.2986059-1-song@kernel.org
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'net/xdp/xsk.c')
0 files changed, 0 insertions, 0 deletions