]> www.infradead.org Git - users/jedix/linux-maple.git/commit
uprobes: move the initialization of utask->xol_vaddr from pre_ssout() to xol_get_insn...
authorOleg Nesterov <oleg@redhat.com>
Sun, 29 Sep 2024 14:42:48 +0000 (16:42 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 7 Oct 2024 07:28:45 +0000 (09:28 +0200)
commit1cee988c1d21eabc936d1401811012522083e36f
treea848b82d0d9d4998dcd11f392e15255c2b5c3360
parent6ffe8c7d871b327d16ae6b6f1db4c8ecb0f15c64
uprobes: move the initialization of utask->xol_vaddr from pre_ssout() to xol_get_insn_slot()

This simplifies the code and makes xol_get_insn_slot() symmetric with
xol_free_insn_slot() which clears utask->xol_vaddr.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240929144248.GA9483@redhat.com
kernel/events/uprobes.c