CVSROOT:        /cvs
Module name:    src
Changes by:     mi...@cvs.openbsd.org   2009/02/03 04:24:19

Modified files:
        sys/arch/i386/i386: gdt.c mptramp.s vm_machdep.c 
        sys/arch/i386/include: gdt.h 
        sys/arch/amd64/amd64: gdt.c vm_machdep.c 
        sys/arch/amd64/include: gdt.h 

Log message:
Free TSS on the stack of the dead process.

In order to do that we have to remove all sleeping parts: sleeping
memory allocation and a sleeping lock.  Thus we're moving this code
to the spinning lock (mutex) and getting rid of the GDT grow code.
Downside is that now we're pre-allocating 64kb of memory per CPU
from the start, but this might be optimized in future.

This also unifies GDT code and MAXGDTSIZ define across i386 and amd64.

With help from mickey.

ok toby, art

Reply via email to