HomeFreeBSD

Disable interrupts when updating the TLB

Description

Disable interrupts when updating the TLB

Without disabling interrupts it's possible for another thread to preempt
and update the registers post-read (tlb1_read_entry) or pre-write
(tlb1_write_entry), and confuse the kernel with mixed register states.

MFC after: 2 weeks

Details

Provenance
jhibbitsAuthored on
Parents
rS320391: Update comments and simplify conditionals for compat32
Branches
Unknown
Tags
Unknown