Re: Hardware limits on numbers of threads?
Jamie Lokier (lk@tantalophile.demon.co.uk)
Wed, 18 Sep 2002 20:19:27 +0100
Ulrich Drepper wrote:
> > Is this true? Where does the limit come from?
>
> This was and is true with the kernel before 2.5.3<mumble> when Ingo
> introduced TLS support since the thread specific data had to be
> addressed via LDT entries and the LDT holds at most 8192 entries. The
> GDT based solution now implemented in the kernel has no such limitation
> and the number of threads you can create with the new thread library is
> only limited by system resources.
So you did not implement LDT entry swapping through the "segment not
present" traps? Ah well, moot now :-)
-- Jamie
-
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/