From owner-svn-src-head@FreeBSD.ORG Mon Feb 2 00:52:12 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 58EC7293 for ; Mon, 2 Feb 2015 00:52:12 +0000 (UTC) Received: from mail-qc0-f176.google.com (mail-qc0-f176.google.com [209.85.216.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1445CD6E for ; Mon, 2 Feb 2015 00:52:11 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id c9so28164764qcz.7 for ; Sun, 01 Feb 2015 16:52:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=e8Wqg9T5Awgrg+K+jUW7+9nLUpKndxVis+H/+Zx4zG4=; b=S12XaRDU1I8zVhsFZaHp7npsMpgeaXQuGT4HManlXx2Qs5GP+2LXx5chFoSQFEYCJh pWQts6v1mv8sIE4/vlfpxoxvNHpsulMqf0cmw+apbv9EHjqjgwMzkH/ufePii8sxfU// BS/QBrxhIve8JTV7ieJQxtP+ldIZNu0evifK7DqehDiztz+yFdjR1GC6tsZOlwkzOfeP j8grPbJ6z39MFvptdWjg7Sc6rmtTYk/6QmMqju9ioyCSG4BcVcYEdk97rbfCiBy/gQK5 gIDmX8NZ5XbRzcTWFCGWTLbSkBe+YYwUnOvZueG3jNFXteXbiont1Pk+WPpdILnjPfmX RfaQ== X-Gm-Message-State: ALoCoQkkdfiDhVpr0wjSU4CvOCjllkcqGHOGPdRuuGoEHy2TM1jJ20+/+JltIJHTr3FvC8K+gp6s MIME-Version: 1.0 X-Received: by 10.229.68.202 with SMTP id w10mr36682528qci.13.1422837923425; Sun, 01 Feb 2015 16:45:23 -0800 (PST) Received: by 10.140.88.103 with HTTP; Sun, 1 Feb 2015 16:45:23 -0800 (PST) In-Reply-To: References: <201502020017.t120Hb2g095087@svn.freebsd.org> Date: Sun, 1 Feb 2015 17:45:23 -0700 Message-ID: Subject: Re: svn commit: r278040 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs From: Will Andrews To: Davide Italiano Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "svn-src-head@freebsd.org" , Steven Hartland , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 02 Feb 2015 00:52:12 -0000 On Sunday, February 1, 2015, Davide Italiano wrote: > On Mon, Feb 2, 2015 at 1:17 AM, Steven Hartland > wrote: > > Author: smh > > Date: Mon Feb 2 00:17:36 2015 > > New Revision: 278040 > > URL: https://svnweb.freebsd.org/changeset/base/278040 > > > > Log: > > Prevent inlining txg_quiesce > > > > This allows dtrace to monitor the calls to txg_quiesce which can be > really > > helpful. > > > > Also standardise __noinline order for arc_kmem_reap_now. > > > > Sponsored by: Multiplay > > > > > > I found this while I was at iXsystems, trying to port Richard Elling's > arc statistics utility to FreeBSD. > I do not disagree with the change in theory, but I never committed > this because I was worried of performance penalty. > Last time I checked Solaris/Illumos actually do not inline this > function without any particular directive (I guess this is mostly due > to difference in toolchain, in particular in the compiler), so it > shouldn't be a big deal, but if you have time, do you mind to check > the penalty introduced, if any, is negligible? > It should be negligible. The function is only called once per txg, which generally is only supposed to happen about 1-0.2Hz. --Will.