NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/59955: kernel diagnostic assertion "rw_lock_held(&map->lock)" failed: file "/home/riastradh/netbsd/11/src/sys/uvm/uvm_map.c", line 1704



Actually, just taking the read lock in mm_md_kernacc probably isn't
enough, because we really need the access to _remain_ allowed while we
do the uiomove in dev/mm.c.  Can we hold the map lock across uiomove?
Sounds unlikely.  Can we wire the pages with uvm_vslock or something
across the uvm_map_checkprot and uiomove?


Home | Main Index | Thread Index | Old Index