From owner-svn-src-all@FreeBSD.ORG Sat Mar 13 13:57:01 2010 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D32B81065673; Sat, 13 Mar 2010 13:57:01 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 999338FC1F; Sat, 13 Mar 2010 13:57:01 +0000 (UTC) Received: from compute2.internal (compute2 [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 995FDBEF23; Sat, 13 Mar 2010 08:57:00 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Sat, 13 Mar 2010 08:57:00 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; s=smtpout; bh=iHQELKOc6OJVSpsVzkO80preu80=; b=CPvXxnW9PfymuKX9fSuZ13tfwTUmY/qv4+d7KmzHwO/0PDHdauzBF0Oai6SrLEPrFMjf/7CaSRPMgG0K9S3H0WlotUpWhY8e7RDyKRAmEZIYCHHzIaTFg679Bu9n4QKTU7EHGTAnsq6lGH5s99fnjUCuugM1bhKRv/APVs2V1TE= X-Sasl-enc: GY8T1ikfoFr3FRkofp1LIuQT7OqpR6SIJTARODcfZbd7 1268488620 Received: from anglepoise.lon.incunabulum.net (cpc2-dals7-0-0-cust253.hari.cable.virginmedia.com [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id DC2CA79E8; Sat, 13 Mar 2010 08:56:59 -0500 (EST) Message-ID: <4B9B99A9.7040904@incunabulum.net> Date: Sat, 13 Mar 2010 13:56:57 +0000 From: Bruce Simpson User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.8) Gecko/20100302 Thunderbird/3.0.3 MIME-Version: 1.0 To: "Robert N. M. Watson" References: <201003122258.o2CMwqDM039077@svn.freebsd.org> <2F4A2F84-4955-49C2-B25E-BB987BC27815@lakerest.net> <92C0A9B0-9297-4F56-A6A1-603006423230@FreeBSD.org> In-Reply-To: <92C0A9B0-9297-4F56-A6A1-603006423230@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Randall Stewart Subject: Re: svn commit: r205104 - in head/sys: dev/xen/netback netinet netinet6 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 13 Mar 2010 13:57:01 -0000 On 03/13/10 13:53, Robert N. M. Watson wrote: > On Mar 13, 2010, at 1:50 PM, Randall Stewart wrote: > >> I could refactor that this way if you want... it would mean a few more de-ref's and >> looking to see if its a v4 or v6 packet and then doing the proper offset... >> This is the sort of thing which M_PROTO* flags are good for. Derefs in the hot path should be amortized whenever that makes sense.