A tweak to HWPMC hooks to improve code generation

From: Rang, Anton <anton.rang_at_isilon.com>
Date: Mon, 23 Dec 2013 17:52:01 +0000
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


Received on Mon Dec 23 2013 - 17:12:40 UTC

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