CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2024/05/28 09:16:45
Modified files:
sys/arch/arm64/arm64: pmap.c
Log message:
Rework the pmap ASID handling to not require the SCHED_LOCK
The ASID lookup code already uses its own mutex (pmap_asid_mtx)
and this mutex is enough to ensure that pmap_rollover_asid()
is safe. Now only the generation number check in pmap_setttb()
is done without the lock but the update of the pmap_asid_gen
is now atomic so using READ_ONCE there is enough.
OK kettenis@ mpi@