diff options
author | Song Liu <song@kernel.org> | 2023-09-14 15:25:42 -0700 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2023-09-14 15:30:45 -0700 |
commit | 5c04433daf9ed8b28d4900112be1fd19e1786b25 (patch) | |
tree | 7efc47a87fb966e1c2fd4b71923737dffa3f78fe /net | |
parent | 971f7c32147f2d0953a815a109b22b8ed45949d4 (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