打印

How to understand Exclusive

[复制链接]
190|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
stand, RS, TI, IO, AC
The purpose of Exclusive Access is to read, calculate and modify a cache line atomically. The built-in Atomic Transactions can do some basic calculations at ICN or SN, but if more complex operations are necessary, Exclusive Access is needed.
CHI specification rules that during an Exclusive Transaction to a snoopable region, when the addressed location is updated by other Logical Processor(LP), or is targeted by an Exclusive Store from another LP that is permitted to proceed, this Exclusive Transaction must fail.
So whats the difference between these two conditions? One Exclusive Access being interrupted by another Exclusive Access should fail the former one, essentially because the addressed location is updated by the latter one and the transaction is not atomic any longer. Isn\'t this one special case of the first condition that the targeted memory is updated?

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

384

主题

384

帖子

0

粉丝