[PATCH 14/31] perf, x86: Avoid checkpointed counters causing excessive TSX aborts

2012-10-02 Thread Andi Kleen
From: Andi Kleen With checkpointed counters there can be a situation where the counter is overflowing, aborts the transaction, is set back to a non overflowing checkpoint, causes interupt. The interrupt doesn't see the overflow because it has been checkpointed. This is then a spurious PMI,

[PATCH 14/31] perf, x86: Avoid checkpointed counters causing excessive TSX aborts

2012-10-02 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com With checkpointed counters there can be a situation where the counter is overflowing, aborts the transaction, is set back to a non overflowing checkpoint, causes interupt. The interrupt doesn't see the overflow because it has been checkpointed. This is then