[PATCH v5 1/8] perf: Add a flags parameter to pmu txn interfaces

Sukadev Bhattiprolu sukadev at linux.vnet.ibm.com
Wed Sep 2 08:11:53 AEST 2015

Peter Zijlstra [peterz at infradead.org] wrote:
| when looking at this (I almost pressed A for apply) it occurred to me
| that we now keep double state, cpuhw->txn_flags and cpuhw->group_flag
| are basically the same thing.
| Would not something like the below avoid this duplication?

Yes, it makes sense to drop the duplication. Will similarly drop the usage
of PERF_EVENT_TXN from other architectures too and try it out.



More information about the Linuxppc-dev mailing list