Re: [PATCH] nextfd(2)

From: Ulrich Drepper
Date: Wed Apr 04 2012 - 13:49:45 EST


On Wed, Apr 4, 2012 at 13:07, KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxx> wrote:
> Umm... I'm sorry. I haven't catch why OOM is related topic. Could you please
> elaborate more?

With fork you always have some copy-on-write (and worse for
overcommit) just to then execute exec. With a real spawn
implementation you wouldn't have that. A big problem if you, for
instance, have to spawn a small helper from a gigantic process.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/