Even if unaligned memory operations are allowed, there may still be restrictions when it comes to atomic operations. We do such atomic operations on userland addresses at least when _umtx_op() is used, which will use casueword32(). Fix that by not panicing if pcb_onfault is set, and just go back to that fault handler instead.
Details
Details
- Reviewers
andrew manu - Commits
- rGc6f5d8fb269f: arm64: Use the fault handler when one is provided
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
While here I think it would make sense to also handle this case in tag_check_abort, although I don't think we can currently hit it there (no tag checking in the kernel).