Re: [patch 7/8] fdmap v2 - implement sys_socket2

From: Davide Libenzi
Date: Sat Jun 09 2007 - 23:49:45 EST

On Sat, 9 Jun 2007, Davide Libenzi wrote:

> On Sat, 9 Jun 2007, Linus Torvalds wrote:
> > On Sat, 9 Jun 2007, Al Viro wrote:
> > >
> > > Eww... Idea of pipe(2) taking flags as argument...
> >
> > Right. That was one of the patches, and it was one that I said was too
> > damn ugly to live.
> >
> > So I instead suggested the alternate approach of adding a single new
> > system call that runs another system call indirectly, with a set of flags
> > and/or other behaviour modifications.
> What if we put a data section in the vdso and we let userspace set the
> flags or whatever in there? Syslets could use one of those bits to set the
> "threadlet mode" w/out calling a syscall at all.
> In that way we have no new syscalls whatsoever. No?

Uhh, never mind :) That won't work in the vdso. Maybe in a TLS area.

- Davide

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at