[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnumach ChangeLog i386/i386/gdt.h i386/i386/pcb... [gnumach-1-branch

From: Roland McGrath
Subject: Re: gnumach ChangeLog i386/i386/gdt.h i386/i386/pcb... [gnumach-1-branch]
Date: Mon, 6 Nov 2006 13:43:57 -0800 (PST)

Ok.  The much better thing to do is to use GDT entries for the standard
segments.  I don't really know why Mach never did that in the first place.

I think that i386_set_ldt was never used in Mach originally for adding some
segments to the standard set, as we want to do for TLS.  It was used only
for special x86 emulation purposes, where the user always supplied all the
segments they wanted to exist at all.  So if it was ever tested with the
old code, it might not have mattered for the uses that were tried.

However, it would be good to understand what the 1999-09-15 change was
trying to fix.  I don't really know what he meant by, "Prevent thrashing
the LDT for the current thread."


reply via email to

[Prev in Thread] Current Thread [Next in Thread]