From owner-svn-src-all@FreeBSD.ORG Tue Oct 23 14:42:12 2012 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EC13BD5F; Tue, 23 Oct 2012 14:42:12 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id 63B738FC08; Tue, 23 Oct 2012 14:42:12 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id q9NEgB5K086152; Tue, 23 Oct 2012 18:42:11 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id q9NEgBFX086151; Tue, 23 Oct 2012 18:42:11 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 23 Oct 2012 18:42:11 +0400 From: Gleb Smirnoff To: Andre Oppermann Subject: Re: svn commit: r241931 - in head/sys: conf kern Message-ID: <20121023144211.GX70741@FreeBSD.org> References: <201210231419.q9NEJjYH082863@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <201210231419.q9NEJjYH082863@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 14:42:13 -0000 On Tue, Oct 23, 2012 at 02:19:45PM +0000, Andre Oppermann wrote: A> Author: andre A> Date: Tue Oct 23 14:19:44 2012 A> New Revision: 241931 A> URL: http://svn.freebsd.org/changeset/base/241931 A> A> Log: A> Replace the ill-named ZERO_COPY_SOCKET kernel option with two A> more appropriate named kernel options for the very distinct A> send and receive path. A> A> "options SOCKET_SEND_COW" enables VM page copy-on-write based A> sending of data on an outbound socket. A> A> NB: The COW based send mechanism is not safe and may result A> in kernel crashes. A> A> "options SOCKET_RECV_PFLIP" enables VM kernel/userspace page A> flipping for special disposable pages attached as external A> storage to mbufs. A> A> Only the naming of the kernel options is changed and their A> corresponding #ifdef sections are adjusted. No functionality A> is added or removed. A> A> Discussed with: alc (mechanism and limitations of send side COW) Users may call this a pointless POLA violation. IMO, the old kernel option that we had for years, more than a decade, should remain and just imply two new kernel options. -- Totus tuus, Glebius.