lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ