aboutsummaryrefslogtreecommitdiff
path: root/source/Target/ThreadPlanPython.cpp
diff options
context:
space:
mode:
authorBenjamin Jacobs <freebsd@dev.thsi.be>2026-09-03 13:52:21 +0000
committerMark Johnston <markj@FreeBSD.org>2026-09-03 15:05:03 +0000
commitc874d312e78fc60e6731a043fc45b47165618370 (patch)
tree36cfbb30a7622b5100991bf66ea417d2c58488da /source/Target/ThreadPlanPython.cpp
parent3e6bc5c3b5632ac9f55633b7d4e2e1a42b96a78b (diff)
dtrace/arm: Fix and de-pessimize dtrace_copy
Use an unprivileged load to access user memory from dtrace_copy, which is running in SVC mode. Abort the loop if the load is trapped, as it is useless, hence wasteful, to keep faulting on successive addresses. I believe that this de-pessimization should also be done on aarch64 and riscv. PR: 298064 MFC after: 1 month Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D59280
Diffstat (limited to 'source/Target/ThreadPlanPython.cpp')
0 files changed, 0 insertions, 0 deletions