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