Guarding unread values?

Article: Haswell Transactional Memory Alternatives
By: bakaneko (nyan.delete@this.hyan.wan), November 21, 2012 11:25 am
Room: Moderated Discussions
Paul A. Clayton (paaronclayton.delete@this.gmail.com) on November 21, 2012 9:39 am wrote:
> bakaneko (nyan.delete@this.hyan.wan) on November 21, 2012 6:52 am wrote:
> [snip]
> > This way you don't need to add superfluous reads to protect
> > objects which span multiple cachelines, which is as annoying
> > as multiple unrelated objects in one cacheline.
>
> When would one need to guard a value that is not accessed as part of the critical
> section? Is such an artifact of certain languages (e.g., providing object-granular
> locks) or are there cases where such provides a useful guard?

Good question, I just assumed it is, but
yeah, you are right, it's probably something
which happens rarely and not a good idea.

Even as guard, it would just make other
transactions fail more often...
< Previous Post in ThreadNext Post in Thread >
TopicPosted ByDate
Article: Haswell TM AlternativesDavid Kanter08/21/12 09:17 PM
  Article: Haswell TM AlternativesHåkan Winbom08/21/12 11:52 PM
    Article: Haswell TM AlternativesDavid Kanter08/22/12 01:06 AM
  Article: Haswell TM Alternativesanon08/22/12 08:46 AM
    Article: Haswell TM AlternativesLinus Torvalds08/22/12 09:16 AM
      Article: Haswell TM AlternativesDoug S08/24/12 08:34 AM
    AMD's ASF even more limitedPaul A. Clayton08/22/12 09:20 AM
      AMD's ASF even more limitedLinus Torvalds08/22/12 09:41 AM
        Compiler use of ll/sc?Paul A. Clayton08/28/12 09:28 AM
          Compiler use of ll/sc?Linus Torvalds09/08/12 12:58 PM
            Lock recognition?Paul A. Clayton09/10/12 01:17 PM
              Sorry, I was confusedPaul A. Clayton09/13/12 10:56 AM
  Filter to detect store conflictsPaul A. Clayton08/22/12 09:19 AM
  Article: Haswell TM Alternativesbakaneko08/22/12 02:02 PM
    Article: Haswell TM AlternativesDavid Kanter08/22/12 02:45 PM
      Article: Haswell TM Alternativesbakaneko08/22/12 09:56 PM
  Cache line granularity?Paul A. Clayton08/28/12 09:28 AM
    Cache line granularity?David Kanter08/31/12 08:13 AM
      A looser definition might have advantagesPaul A. Clayton09/01/12 06:29 AM
    Cache line granularity?rwessel08/31/12 07:54 PM
      Alpha load locked granularityPaul A. Clayton09/01/12 06:29 AM
        Alpha load locked granularityanon09/02/12 05:23 PM
          Alpha pages groupsPaul A. Clayton09/03/12 04:16 AM
  An alternative implementationMaynard Handley11/20/12 09:52 PM
    An alternative implementationbakaneko11/21/12 05:52 AM
      Guarding unread values?Paul A. Clayton11/21/12 08:39 AM
        Guarding unread values?bakaneko11/21/12 11:25 AM
    TM granularity and versioningPaul A. Clayton11/21/12 08:27 AM
      TM granularity and versioningMaynard Handley11/21/12 10:52 AM
        Indeed, TM (and coherence) has devilish details (NT)Paul A. Clayton11/21/12 10:56 AM
Reply to this Topic
Name:
Email:
Topic:
Body: No Text
How do you spell blue?