Re: [patch] tls-2.5.30-A1

Christoph Hellwig
2002-08-07T18:59:16Z

On Wed, Aug 07, 2002 at 08:10:40PM +0200, Ingo Molnar wrote:
>
> the attached patch (against BK-curr + Luca Barbieri's two TLS patches)
> does two things:
>
> - it implements a second TLS entry for Wine's purposes.

The sys_set_thread_area interface gets worse with every patch you post..

Why do you really need a magic multiplexer syscall (you could have just
used prctl if you don't need a sane interface..)?

What about a proper interface like:

asmlinkage int
sys_set_thread_area(int entry, unsigned long base, int writeable)

instead?