[lkml]   [2002]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: LDT_ENTRIES in ldt.h: why 8192?
> wondering about an alternate solution.  What would happen if LDT_ENTRIES was
> reduced, to, say, 4096, or 512, instead of 8192?

Some apps using LDT will stop working. Very little actually uses LDT's - the
main ones being wine and the sco 286 emulation software. Its also used by
glibc 2.2 by threads, and due to extremely stupid design considerations
by the glibc 2.3 current snapshots for everything.

Using LDT's has a measurable performance hit on task switching, so good
apps don't use them unless they really need them (eg for a threaded app
there is no other good way to do thread local storage and it is much
cheaper than having different memory maps)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:24    [W:0.040 / U:10.028 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site