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

Andrea Arcangeli (andrea@suse.de)
Fri, 19 Jan 2001 21:54:00 +0100


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/