By: sr (nobody.delete@this.nowhere.com), April 5, 2021 2:41 am
Room: Moderated Discussions
Andrey (andrey.semashev.delete@this.gmail.com) on April 4, 2021 10:33 am wrote:
> Yes. You should read on how TSX works, there are limitations on what you can do in a transaction.
As I see it TSX does support ordered transactions, so to protect previously done work from hot spot you can do another speculative lock for it.
But hardware doesn't support it yet fully, abort in child transaction aborts parent transaction too as hardware can only track one transaction at time, so child transactions are morphed into parents in current hardware implementations.
> Yes. You should read on how TSX works, there are limitations on what you can do in a transaction.
As I see it TSX does support ordered transactions, so to protect previously done work from hot spot you can do another speculative lock for it.
But hardware doesn't support it yet fully, abort in child transaction aborts parent transaction too as hardware can only track one transaction at time, so child transactions are morphed into parents in current hardware implementations.