Commit 1cee988
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.com1 parent 6ffe8c7 commit 1cee988
1 file changed
+8
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1646 | 1646 | | |
1647 | 1647 | | |
1648 | 1648 | | |
1649 | | - | |
1650 | 1649 | | |
1651 | | - | |
| 1650 | + | |
1652 | 1651 | | |
1653 | | - | |
1654 | | - | |
| 1652 | + | |
| 1653 | + | |
1655 | 1654 | | |
1656 | | - | |
1657 | 1655 | | |
1658 | | - | |
| 1656 | + | |
1659 | 1657 | | |
1660 | | - | |
1661 | | - | |
| 1658 | + | |
| 1659 | + | |
1662 | 1660 | | |
1663 | | - | |
| 1661 | + | |
1664 | 1662 | | |
1665 | 1663 | | |
1666 | 1664 | | |
| |||
1948 | 1946 | | |
1949 | 1947 | | |
1950 | 1948 | | |
1951 | | - | |
1952 | 1949 | | |
1953 | 1950 | | |
1954 | 1951 | | |
1955 | 1952 | | |
1956 | 1953 | | |
1957 | | - | |
1958 | | - | |
| 1954 | + | |
1959 | 1955 | | |
1960 | 1956 | | |
1961 | 1957 | | |
1962 | 1958 | | |
1963 | | - | |
1964 | 1959 | | |
1965 | | - | |
1966 | 1960 | | |
1967 | 1961 | | |
1968 | 1962 | | |
| |||
0 commit comments