Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 2013 20:37:14 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        "Rang, Anton" <anton.rang@isilon.com>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: A tweak to HWPMC hooks to improve code generation
Message-ID:  <CAJ-VmokP9WKAMwP3Yf9T17UqQ1cMrxDPQzo%2BPU_B0bZr_YDR=w@mail.gmail.com>
In-Reply-To: <F21EDC44C64DB34B90AF485AC3CEDD4B27F9DE7B@MX104CL01.corp.emc.com>
References:  <F21EDC44C64DB34B90AF485AC3CEDD4B27F9DE7B@MX104CL01.corp.emc.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <anton.rang@isilon.com> 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 compiler, which then moves some fairly lengthy code sequences out of the locking primitives (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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokP9WKAMwP3Yf9T17UqQ1cMrxDPQzo%2BPU_B0bZr_YDR=w>