HomeFreeBSD

dev/mem: use sx instead of rw lock

Description

dev/mem: use sx instead of rw lock

Some ops require sleepable context to success, like DMAP demotion.

Reviewed by: alc, markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D50970

Details

Provenance
kibAuthored on Jun 22 2025, 4:35 PM
Reviewer
alc
Differential Revision
D50970: amd64 pmap: eliminate two explicit panics on low mem conditions
Parents
rGc5f5d0cf49bf: if_bridge_test: add a test for QinQ (802.1ad)
Branches
Unknown
Tags
Unknown