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

From: Sukadev Bhattiprolu
Date: Tue Sep 01 2015 - 18:14:44 EST


Peter Zijlstra [peterz@xxxxxxxxxxxxx] 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.

Thanks,

Sukadev

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/