Re: [PATCH 2.6.20-rc5 4/4] sys_futex64 : allows 64bit futexes

2007-01-18 Thread Christoph Hellwig
On Thu, Jan 18, 2007 at 08:45:56AM +0100, Ingo Molnar wrote: > actually, we have a big multiplexer there already, so it's only > symmetric. Nothing is served by doing it half-assed. I raised the issue > of the multiplexer back when the first futex API was merged (years ago), > and it was rejecte

Re: [PATCH 2.6.20-rc5 4/4] sys_futex64 : allows 64bit futexes

2007-01-18 Thread Christoph Hellwig
On Thu, Jan 18, 2007 at 08:45:56AM +0100, Ingo Molnar wrote: > include/asm-i386/futex.h: > > switch (cmp) { > case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; > case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; > case FUTEX

Re: [PATCH 2.6.20-rc5 4/4] sys_futex64 : allows 64bit futexes

2007-01-17 Thread Ingo Molnar
* Christoph Hellwig <[EMAIL PROTECTED]> wrote: > On Wed, Jan 17, 2007 at 10:04:53AM +0100, Pierre Peiffer wrote: > > Hi, > > > > This latest patch is an adaptation of the sys_futex64 syscall > > provided in -rt patch (originally written by Ingo). It allows the > > use of 64bit futex. > > Big

Re: [PATCH 2.6.20-rc5 4/4] sys_futex64 : allows 64bit futexes

2007-01-17 Thread Christoph Hellwig
On Wed, Jan 17, 2007 at 10:04:53AM +0100, Pierre Peiffer wrote: > Hi, > > This latest patch is an adaptation of the sys_futex64 syscall provided in > -rt > patch (originally written by Ingo). It allows the use of 64bit futex. Big NACK here, we don't need yet another goddamn multiplexer. Please

[PATCH 2.6.20-rc5 4/4] sys_futex64 : allows 64bit futexes

2007-01-17 Thread Pierre Peiffer
Hi, This latest patch is an adaptation of the sys_futex64 syscall provided in -rt patch (originally written by Ingo). It allows the use of 64bit futex. I have re-worked most of the code to avoid the duplication of the code. It does not provide the functionality for all architectures, and thus,