NetBSD/src 4dVfXzwsys/arch/amd64/amd64 netbsd32_machdep.c machdep.c, sys/compat/linux32/arch/amd64 linux32_machdep.c

   Disable preemption when setting PCB_COMPAT32, to prevent a context switch
   before cpu_fsgs_reload() finishes, otherwise we write garbage in the GDT.
   On NetBSD-current it is harmless, however in NetBSD-8 it might cause
   panics, because NetBSD-8 uses the old SegRegs model and under this model
   we reload %fs and %gs during switches.
VersionDeltaFile
1.120+9-8sys/arch/amd64/amd64/netbsd32_machdep.c
1.44+8-6sys/compat/linux32/arch/amd64/linux32_machdep.c
1.329+3-4sys/arch/amd64/amd64/machdep.c
+20-183 files

UnifiedSplitRaw