Re: LDT_ENTRIES in ldt.h: why 8192?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 13 Feb 2002 20:44:51 +0000 (GMT)


> 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/