summaryrefslogtreecommitdiff
path: root/net/xdp
diff options
context:
space:
mode:
authorSong Liu <song@kernel.org>2023-09-15 01:25:42 +0300
committerMartin KaFai Lau <martin.lau@kernel.org>2023-09-15 01:30:45 +0300
commit5c04433daf9ed8b28d4900112be1fd19e1786b25 (patch)
tree7efc47a87fb966e1c2fd4b71923737dffa3f78fe /net/xdp
parent971f7c32147f2d0953a815a109b22b8ed45949d4 (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions