diff options
author | Oleg Nesterov <oleg@redhat.com> | 2024-09-29 16:42:53 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2024-10-07 09:28:45 +0200 |
commit | c5356ab1db28cafc448a50c26ba84442237abb98 (patch) | |
tree | e07dfec4f5af6e085c89272a115a308c9d431d89 /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c | |
parent | 1cee988c1d21eabc936d1401811012522083e36f (diff) |
uprobes: pass utask to xol_get_insn_slot() and xol_free_insn_slot()
Add the "struct uprobe_task *utask" argument to xol_get_insn_slot() and
xol_free_insn_slot(), their callers already have it so we can avoid the
unnecessary dereference and simplify the code.
Kill the "tsk" argument of xol_free_insn_slot(), it is always current.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240929144253.GA9487@redhat.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c')
0 files changed, 0 insertions, 0 deletions