From owner-freebsd-current@FreeBSD.ORG Tue Dec 24 04:37:16 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 447A3903 for ; Tue, 24 Dec 2013 04:37:16 +0000 (UTC) Received: from mail-qa0-x236.google.com (mail-qa0-x236.google.com [IPv6:2607:f8b0:400d:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 028DB1AEB for ; Tue, 24 Dec 2013 04:37:15 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id f11so5820588qae.13 for ; Mon, 23 Dec 2013 20:37:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=qIgmK7qrc7nFSHtRkH/NiKbkqFgm/zrAV7lrK9rJElg=; b=0Nz9RnRTWcgQ/YfUKx0A6Eoe2nlT1nOrOM8CBh52uC3rirTBXKyKnI9n1HIFmnYkqQ /MoetUhAUNvXv0/Ybh9tiit+cUIhDZf5ZRu090UMAQVw8503leOKjvrSPLrH6c7rU4t2 NZN3nxzfYNpZGZNaXL50lweeSrYMCT1vDypPGsO1VWWqT3rtbilpM+X/gOoVILJNyojU davsYFpZwzXiG5eG6+AC6yCQoS4e1s4ezGSDTD9ETXDnIMiIlqCZ15oarrjuqC3b37La 0gyTxTiKd4EOBPM/h0aIopEUDFMp9KBoKgE9TflXjztTLKVHqYRtppwcCOqJpM6UHVK4 0bNQ== MIME-Version: 1.0 X-Received: by 10.229.249.66 with SMTP id mj2mr48928605qcb.4.1387859834277; Mon, 23 Dec 2013 20:37:14 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Mon, 23 Dec 2013 20:37:14 -0800 (PST) In-Reply-To: References: Date: Mon, 23 Dec 2013 20:37:14 -0800 X-Google-Sender-Auth: 6y-5qFjrS0SwjnN82XccmqbN_Ys Message-ID: Subject: Re: A tweak to HWPMC hooks to improve code generation From: Adrian Chadd To: "Rang, Anton" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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, 24 Dec 2013 04:37:16 -0000 Hm! Cool! I'll give this a spin tomorrow on my frequently-very-lock-busy boxes and get back to you. -a On 23 December 2013 09:52, Rang, Anton wrote: > The HWPMC hooks are never invoked except when using the soft PMC feature = for performance monitoring. This trivial patch hints as much to the compile= r, which then moves some fairly lengthy code sequences out of the locking p= rimitives (in particular), reducing their runtime footprint. > > This patch was reviewed by Attilio Rao. > > Anton > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= "