diff options
| author | Oleg Nesterov <[email protected]> | 2024-09-29 14:42:53 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2024-10-07 07:28:45 +0000 |
| commit | c5356ab1db28cafc448a50c26ba84442237abb98 (patch) | |
| tree | e07dfec4f5af6e085c89272a115a308c9d431d89 /tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c | |
| parent | uprobes: move the initialization of utask->xol_vaddr from pre_ssout() to xol_... (diff) | |
| download | kernel-c5356ab1db28cafc448a50c26ba84442237abb98.tar.gz kernel-c5356ab1db28cafc448a50c26ba84442237abb98.zip | |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c')
0 files changed, 0 insertions, 0 deletions
