A tweak to HWPMC hooks to improve code generation

Adrian Chadd adrian at freebsd.org
Tue Dec 24 04:37:16 UTC 2013


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"


More information about the freebsd-current mailing list