Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]]

From: Andrea Arcangeli (andrea@suse.de)
Date: Fri Jan 19 2001 - 15:54:00 EST


On Fri, Jan 19, 2001 at 08:52:53PM +0300, kuznet@ms2.inr.ac.ru wrote:
> Hello!
>
> > I thought setsockopt is meant to set an option in the socket,
>
> It is not.

The manpage disagrees with you:

       getsockopt, setsockopt - get and set options on sockets
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

SIOCPUSH doesn't fit in get/setsockopt, face it.

> > controls the I/O (aka ioctl ;). Anyways either ioctl or setsockopt is fine in
> > pratice
>
> After BKL is moved down.

The BKL will be moved down in the next months regardless of where we put the
functionality, as said in my original email choosing in function of the BKL in
ioctl VFS is wrong IMHO.

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:21 EST