From owner-svn-src-all@freebsd.org Thu Aug 23 17:02:39 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D69F31092B3E; Thu, 23 Aug 2018 17:02:39 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6758F7AD83; Thu, 23 Aug 2018 17:02:39 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 5214A25D3A8F; Thu, 23 Aug 2018 17:02:37 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 71559D1F875; Thu, 23 Aug 2018 17:02:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id mo8ojWn1CchV; Thu, 23 Aug 2018 17:02:34 +0000 (UTC) Received: from [192.168.124.1] (fresh-ayiya.sbone.de [IPv6:fde9:577b:c1a9:f001::2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 76568D1F84C; Thu, 23 Aug 2018 17:02:34 +0000 (UTC) From: "Bjoern A. Zeeb" To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r338257 - head/sys/netinet6 Date: Thu, 23 Aug 2018 17:02:33 +0000 X-Mailer: MailMate (2.0BETAr6116) Message-ID: In-Reply-To: <201808231654.w7NGsMbI026404@repo.freebsd.org> References: <201808231654.w7NGsMbI026404@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 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: Thu, 23 Aug 2018 17:02:40 -0000 On 23 Aug 2018, at 16:54, Bjoern A. Zeeb wrote: > Author: bz > Date: Thu Aug 23 16:54:22 2018 > New Revision: 338257 > URL: https://svnweb.freebsd.org/changeset/base/338257 > > Log: > MFp4 bz_ipv6_fast: > > Migrate udp6_send() v4mapped code to udp6_output() saving us a > re-lock and > further simplifying the address-family handling code by eliminating > AF_INET checks and almost all v4mapped handling right after the > start > as cases could actually not happen anymore. > > Rework output path locking similar to UDP4 allowing for better > parallelism (see r222488, and later versions). > > Sponsored by: The FreeBSD Foundation (2012) > Sponsored by: iXsystems (2012) > Differential Revision: https://reviews.freebsd.org/D3721 > > Modified: > head/sys/netinet6/udp6_usrreq.c Yes, this was from a perforce branch (originally) but people might remember seeing it on net@. Not that anyone but me really cared so far. In case you wonder what the difference once was, there was a local benchmark case here showing the difference: https://people.freebsd.org/~bz/bench/20120408-diff_pps-pps.html (there are some more on those pages or in my old BSDCan presentation). This latest update also includes the epoch(9) changes and should finally get UDP6 on par with UDP4 and has addressed all but one comment from the old review. Happy UDP-encaping or QUICing or .. /bz