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
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).