Re: [PATCH] Re: futex and timeouts

Joel Becker (jlbec@evilplan.org)
Fri, 15 Mar 2002 19:28:18 +0000


On Fri, Mar 15, 2002 at 01:59:38PM -0500, Hubertus Franke wrote:
> > > What I would like to see is an interface that lets me pass optional
> > > parameters to the syscall interface, so I can call with different number
> > > of parameters.
> >
> > Is this to lock multiple futexes "atomically"? If we are
> > looking for a fast path stack-wise, this seems extra work.
>
> No, take for example...
>
> syscall3(int,futex,int,op, struct futex*, futex, int opt_arg);

Oh, I totally misparsed your statement. I thought you meant you
wanted a vararg sys_futex(), not a smarter _syscall() :-)

Joel

-- 

Life's Little Instruction Book #347

"Never waste the oppourtunity to tell someone you love them."

http://www.jlbec.org/ jlbec@evilplan.org - 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/