diff options
| author | Benjamin Jacobs <freebsd@dev.thsi.be> | 2026-09-16 13:07:01 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-09-21 00:04:43 +0000 |
| commit | a6deeaa2fb3b28a61ae56a85f2275f67fcf23262 (patch) | |
| tree | ed63f4274449cfc69fd7290f04404f39e940a581 /usr.bin/quota | |
| parent | 49bb2143f8a33684886df6e71c43486e98b8f598 (diff) | |
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 'usr.bin/quota')
0 files changed, 0 insertions, 0 deletions
