Re: [PATCH 13/18] flag parameters: NONBLOCK in socket andsocketpair
From: David Miller
Date: Mon May 05 2008 - 04:16:31 EST
From: Ulrich Drepper <drepper@xxxxxxxxxx>
Date: Sun, 4 May 2008 23:42:46 -0400
> This patch introduces support for the SOCK_NONBLOCK flag in socket,
> socketpair, and paccept. To do this the internal function sock_attach_fd
> gets an additional parameter which it uses to set the appropriate flag for
> the file descriptor.
>
> Given that in modern, scalable programs almost all socket connections are
> non-blocking and the minimal additional cost for the new functionality
> I see no reason not to add this code.
...
> Signed-off-by: Ulrich Drepper <drepper@xxxxxxxxxx>
Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
--
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/