[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1301408017.3161.154.camel@edumazet-laptop>
Date: Tue, 29 Mar 2011 16:13:37 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Changli Gao <xiaosuo@...il.com>
Cc: Viral Mehta <Viral.Mehta@...infotech.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: zero copy for relay server
Le mardi 29 mars 2011 à 19:28 +0800, Changli Gao a écrit :
> It is a waste of fd using pipe buffer with two fds. In fact, I had
> ever posted a patch, which extends pipe(2) to return a O_RDWR fd when
> NULL is passed in.
>
Oh well, one extra fd is less than 256 bytes.
Adding a syscall means you force users to have latest kernel.
All this is hypothetical, nobody gave performance numbers demonstrating
splice()/splice() is slow enough we have to optimize it and add kernel
bloat...
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists