Searched hist:216847 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/i386/i386/
H A Dsys_machdep.cdiff 216847 Fri Dec 31 15:53:29 MST 2010 cperciva Make i386_set_ldt work on i386/XEN, step 5/5.

When cleaning up a thread, reset its LDT to the default LDT.

Note: Casting the LDT pointer to an int and storing it in pc_currentldt is
wildly bogus, but is harmless since pc_currentldt is a write-only variable.

MFC after: 3 days

Completed in 111 milliseconds