Re: LDT_ENTRIES in ldt.h: why 8192?

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Feb 13 2002 - 15:44:51 EST


> E.g. linuxthreads can eat up to 1024 LDT entries, but that's not very common.
> IMHO there should be a single entry LDT, the emulation 5 entry LDT (current
> default_ldt), 512 entries LDT (page) and then the full blown 8192 entries
> LDT variants. Will post a patch once I finish it.

Manfred already posted a patch that also uses kmalloc not vmalloc which
improves things no end. Why not use his patch ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:57 EST