summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2024-09-29 16:42:53 +0200
committerPeter Zijlstra <peterz@infradead.org>2024-10-07 09:28:45 +0200
commitc5356ab1db28cafc448a50c26ba84442237abb98 (patch)
treee07dfec4f5af6e085c89272a115a308c9d431d89 /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
parent1cee988c1d21eabc936d1401811012522083e36f (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