CVSROOT: /cvs Module name: src Changes by: [email protected] 2023/01/10 14:27:12
Modified files:
sys/arch/powerpc/powerpc: pmap.c
Log message:
Use atomic ops on the set of used segment registers
Each pmap sets a bit in usedsr to claim 16 unique VSIDs for its
segment registers. Use atomic_cas_uint to set this bit (checking that
the other cpu didn't steal it) and atomic_clearbits_int to clear it.
Stop using splvm.
ok miod@
