[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-vax/55094: vax pmap needs locking adjustments
>Synopsis: vax pmap needs locking adjustments
>Arrival-Date: Sat Mar 21 17:10:00 +0000 2020
>Originator: Andrew Doran
>Release: NetBSD 9.99.50
The NetBSD Project
The vax pmap looks like it needs locking at the pmap level, to
protect against multi-threaded programs doing concurrent operations.
It probably works OK for pmap_kernel since there is PV list locking,
and you don't tend to get concurrent modifications to the same VA in
Have a global pmap_lock. That would allow removal of the atomics
adjusting stats, and removal of pvtable_lock. Low maintainence
overhead and low runtime cost.
Main Index |
Thread Index |