aboutsummaryrefslogtreecommitdiff
path: root/lib/ARCMigrate/(developers-only)
diff options
context:
space:
mode:
authorBenjamin Jacobs <freebsd@dev.thsi.be>2026-09-16 13:07:01 +0000
committerMark Johnston <markj@FreeBSD.org>2026-09-21 00:04:43 +0000
commita6deeaa2fb3b28a61ae56a85f2275f67fcf23262 (patch)
treeed63f4274449cfc69fd7290f04404f39e940a581 /lib/ARCMigrate/(developers-only)
parent49bb2143f8a33684886df6e71c43486e98b8f598 (diff)
dtrace/arm64: Fix copyout and copyoutstrHEADmain
Calling dtrace_copy and dtrace_copystr with the kaddr and uaddr arguments inversed does not work with PAN. Rename them dtrace_copyin_pan and dtrace_copyinstr_pan, respectively, and implement dtrace_copyout_pan and dtrace_copyoutstr_pan. Avoid excessive faulting by checkin DTrace's CPU flags. Implement the trick from OpenSolaris/Illumos of only checking the flags when crossing into a new page, altough more effectively by examining the vaddr instead of the count. Reviewed by: markj MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D59449
Diffstat (limited to 'lib/ARCMigrate/(developers-only)')
0 files changed, 0 insertions, 0 deletions