From owner-freebsd-current@FreeBSD.ORG Tue Oct 23 16:37:12 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F4C6F13 for ; Tue, 23 Oct 2012 16:37:12 +0000 (UTC) (envelope-from oppermann@networx.ch) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id D3F1F8FC08 for ; Tue, 23 Oct 2012 16:37:11 +0000 (UTC) Received: (qmail 86542 invoked from network); 23 Oct 2012 18:15:09 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 23 Oct 2012 18:15:09 -0000 Message-ID: <5086C7AC.5050009@networx.ch> Date: Tue, 23 Oct 2012 18:37:00 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: ZERO_COPY_SOCKETS kernel option removed References: <201210231633.q9NGXhIX010297@svn.freebsd.org> In-Reply-To: <201210231633.q9NGXhIX010297@svn.freebsd.org> X-Forwarded-Message-Id: <201210231633.q9NGXhIX010297@svn.freebsd.org> Content-Type: multipart/mixed; boundary="------------090000010608010006000004" X-Mailman-Approved-At: Tue, 23 Oct 2012 17:44:55 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 16:37:12 -0000 This is a multi-part message in MIME format. --------------090000010608010006000004 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit The ZERO_COPY_SOCKETS kernel option has been removed from HEAD today. Please see the explanation in the attached commit message. -- Andre --------------090000010608010006000004 Content-Type: message/rfc822; name="svn commit: r241955 - head.eml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="svn commit: r241955 - head.eml" X-Account-Key: account3 X-Mozilla-Keys: Return-Path: Delivered-To: andre@networx.ch Received: (qmail 86532 invoked from network); 23 Oct 2012 18:11:50 -0000 Received: from mx2.freebsd.org ([69.147.83.53]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 23 Oct 2012 18:11:50 -0000 Received: from hub.freebsd.org (hub.FreeBSD.org [8.8.178.136]) by mx2.freebsd.org (Postfix) with ESMTP id EE7DE3B50A7 for ; Tue, 23 Oct 2012 16:33:49 +0000 (UTC) Received: by hub.freebsd.org (Postfix) id E18F3C9F; Tue, 23 Oct 2012 16:33:49 +0000 (UTC) Delivered-To: andre@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 538) id DB493C98; Tue, 23 Oct 2012 16:33:49 +0000 (UTC) Delivered-To: src-committers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B768C94; Tue, 23 Oct 2012 16:33:44 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 326B18FC08; Tue, 23 Oct 2012 16:33:44 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9NGXiNq010299; Tue, 23 Oct 2012 16:33:44 GMT (envelope-from andre@svn.freebsd.org) Received: (from andre@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9NGXhIX010297; Tue, 23 Oct 2012 16:33:43 GMT (envelope-from andre@svn.freebsd.org) Message-Id: <201210231633.q9NGXhIX010297@svn.freebsd.org> From: Andre Oppermann Date: Tue, 23 Oct 2012 16:33:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241955 - head X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG Author: andre Date: Tue Oct 23 16:33:43 2012 New Revision: 241955 URL: http://svn.freebsd.org/changeset/base/241955 Log: Note the removal of the ZERO_COPY_SOCKETS kernel option in r241931 and provide a proper explanation. Modified: head/UPDATING Modified: head/UPDATING ============================================================================== --- head/UPDATING Tue Oct 23 16:12:17 2012 (r241954) +++ head/UPDATING Tue Oct 23 16:33:43 2012 (r241955) @@ -25,6 +25,17 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10 "ln -s 'abort:false,junk:false' /etc/malloc.conf".) 20121023: + The ZERO_COPY_SOCKET kernel option has been removed and + split into SOCKET_SEND_COW and SOCKET_RECV_PFLIP. + NB: SOCKET_SEND_COW uses the VM page based copy-on-write + mechanism which is not safe and may result in kernel crashes. + NB: The SOCKET_RECV_PFLIP mechanism is useless as no current + driver supports disposeable external page sized mbuf storage. + Proper replacements for both zero-copy mechanisms are under + consideration and will eventually lead to complete removal + of the two kernel options. + +20121023: The IPv4 network stack has been converted to network byte order. The following modules need to be recompiled together with kernel: carp(4), divert(4), gif(4), siftr(4), gre(4), --------------090000010608010006000004--