[lkml]   [2002]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Hardware limits on numbers of threads?
Dan Kegel wrote:
> says:
>>Hardware restrictions put hard limits on the number of
>>threads the kernel can support for each process.
>>Specifically this applies to IA-32 (and AMD x86_64) where the thread
>>register is a segment register. The processor architecture
>>puts an upper limit on the number of segment register values
>>which can be used (8192 in this case).
> Is this true? Where does the limit come from?
> - Dan

A long time ago Linux did use one GDT segment for a TSS and LDT for each
process. Then it was changed in 2.3.11 to have one TSS and LDT per cpu,
removing the limit on the number of processes that can exist in the system.

Brian Gerst

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 12:53    [W:0.087 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site