From owner-svn-src-head@freebsd.org Thu Jun 2 12:54:29 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74933B6493E; Thu, 2 Jun 2016 12:54:29 +0000 (UTC) (envelope-from royger@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0D564185E; Thu, 2 Jun 2016 12:54:29 +0000 (UTC) (envelope-from royger@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id z87so68500746wmh.0; Thu, 02 Jun 2016 05:54:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=xN+kHvAWJ8lWcgOsT4qcIo0q6AwxcJKDMOlq1FIrliA=; b=Toq5AG3NnxymabsAHIcAKWCJuDuIaZ/9VKsKg621Xx6LXhZ4S/OBorRGC47efgax+4 HVAX9+GACAhPy0neUsXeyRBk4h965dVLjn7R3Voirtm3/Fv5sKkvdqbQpPiaJzjBFxul HAFdFlnZ22f325YihLc1NLEVeqSC6cRGxgQ3RQL1Jeq+qKa7rkJz9MDxuVz2dr3CDZ91 O5Nlt4LgSz9NqcXM3ADglXdinYmVDfmsZGElun9R33hDUxaPJ9T0Q3kfeDuuQjrw9tjd gxwSXzt+5yZ5w0F//BAaHFj3kC2/kfRrYxpm6TnK9P89MLU6MWQDNb9hga/iJUmk26M/ Cltg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=xN+kHvAWJ8lWcgOsT4qcIo0q6AwxcJKDMOlq1FIrliA=; b=VNtzWtLrEHGFVdzL1h4JI1tCEbDLXYKOFi3m7DH7uNATWF1JXflF9GporhIsObPTF/ VSc+p5F/tYyT68GdAXn9ltpxcqGkyXsa7hfYnPaNCuu8VzJu2i59yDHSwMvS8Nyis7By k0X2J2Hdc0IXAFM5IPCg6/nroD9XnJ2exCj20u0lcy5gdliI9MjNw9juibnevvA9Z+Q0 xmBdVU1s24mOHW2WwslYBCYqlOL2g0aL9rMd+EPKrtzz4xuaNobirRL6bM4NzW7/kgvL CtWw7PAHK7os+cqnHHZ41dvmsKdyfCDubdYyy/Y0fY7K/LAU7e/a3gWnIoqx9yFFjFDC h21Q== X-Gm-Message-State: ALyK8tI2aGkb8wTkF0KcNuT8BHT/kWEmQQymYer73tVa3JFdHKxCp4dq+FbN+gR02Nab8w== X-Received: by 10.28.21.204 with SMTP id 195mr15951407wmv.64.1464872067589; Thu, 02 Jun 2016 05:54:27 -0700 (PDT) Received: from localhost (31.red-88-8-193.dynamicip.rima-tde.net. [88.8.193.31]) by smtp.gmail.com with ESMTPSA id j9sm438493wju.46.2016.06.02.05.54.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jun 2016 05:54:26 -0700 (PDT) Sender: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Date: Thu, 2 Jun 2016 14:54:22 +0200 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: Hans Petter Selasky Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r301197 - head/sys/dev/xen/netfront Message-ID: <20160602125422.gmdsueoeu5fiiec5@mac> References: <201606021114.u52BEQqB047172@repo.freebsd.org> <2c81e44d-65de-10f0-8837-f23896855150@selasky.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2c81e44d-65de-10f0-8837-f23896855150@selasky.org> User-Agent: Mutt/1.6.0-neo (2016-04-07) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2016 12:54:29 -0000 On Thu, Jun 02, 2016 at 01:19:56PM +0200, Hans Petter Selasky wrote: > On 06/02/16 13:14, Roger Pau Monné wrote: > > + callout_reset(&rxq->rx_refill, hz/10, xn_alloc_rx_buffers_callout, > > + rxq); > > Maybe use callout_reset_curcpu() to take advantage of callout's SMP > capabilities ? Yes, that's fine. But what's the benefit of it? I don't really care whether the callout is run on the current CPU or not. Is callout_reset_curcpu cheaper than callout_reset? Roger.