Re: A tweak to HWPMC hooks to improve code generation

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Mon, 23 Dec 2013 20:37:14 -0800
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_at_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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Tue Dec 24 2013 - 03:37:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:45 UTC