Re: [RFD] Combined fork-exec syscall.

Davide Libenzi (davidel@xmailserver.org)
Sun, 27 Apr 2003 19:38:59 -0700 (PDT)


On Sun, 27 Apr 2003, dean gaudet wrote:

> On Sun, 27 Apr 2003, Mark Grosberg wrote:
>
> > I would think on large, multi-user systems that are spawning processes all
> > day, this might improve performance if the shells on such a system were
> > patched.
>
> more relevant is a large multithreaded (or async model with many
> connections per thread/process) webserver spawning cgi. otherwise you pay
> the costs of duplicating the mm and even if you use F_CLOEXEC (which has a
> cost-per-connection) you have to pay for scanning the open fds.

This might be the only edge of such new syscall IMO. Processes with
hugh file tables. Not the MM stuff, that is fine with vfork().

- Davide

-
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/