summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2012-08-22 20:22:55 +0000
committerjimharris <jimharris@FreeBSD.org>2012-08-22 20:22:55 +0000
commita49bdc9a252d8c144ed4c8d040b34a1e2ce6e653 (patch)
tree4d371bc1b95315baf3235a48ed3c94ff639228a5 /etc
parent9d2e20143f198869149c9e2dc114da6153f2df12 (diff)
downloadFreeBSD-src-a49bdc9a252d8c144ed4c8d040b34a1e2ce6e653.zip
FreeBSD-src-a49bdc9a252d8c144ed4c8d040b34a1e2ce6e653.tar.gz
Remove unncessary atomic operation when reading process flags in
PMC_PROC_IS_USING_PMCS macro. Invocations of this macro are not synchronized with setting/clearing of P_HWPMC flag, so the atomic operation here isn't needed. Removing the atomic operation provides noticeable improvement (5-6%) on some scheduler-intensive workloads with HWPMC_HOOKS enabled on an 8C Sandy Bridge Xeon system. Sponsored by: Intel Reviewed by: jhb MFC after: 1 week
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud