Re: patch for x86 treatment of fs and gs in signal handlers

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Fri, 28 Aug 1998 10:26:30 +0100


On Thu, Aug 27, 1998 at 01:01:36PM +0000, David Bruce wrote:
> IMHO the LDT allocation is overkill in almost all situations. It should
> be fairly easy to have variable length LDT's allocated in say 512 LDT
> entry chunks.
>
> At the moment it is very easy for LDT's to use up large chunks of your
> physical memory but hold only a few bytes of useful infomation.

I'll add to that.

If an LDT entry is going to be used by newer glibc programs that only
have one thread, for uniform access to thread local data (errno), it
makes sense to reserve space for a minimal LDT directly in struct mm.

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html