Methods and systems for maintaining cache consistency are described. A
group of instructions is executed. The group of instructions can include
multiple memory operations, and also includes an instruction that when
executed causes a cache line to be accessed. In response to execution of
that instruction, an indicator associated with the group of instructions
is updated to indicate that the cache line has been accessed. The cache
line is indicated as having been accessed until execution of the group of
instructions is ended.