Hi Yuan, This is indeed what WriteClean does. It is always initiated by a cache which has a dirty copy of the block and updates any copies that might exist in memories below. This will leave the initiating cache with a clean copy of the block.
Nikos On 10/07/2019 20:28, yuan wrote: > Hi, All, > > I found that there is a kind of command in packet.hh file called > writeClean, and the comment for this command is writes dirty data below > without evicting. I am wondering what’s the meaning of this command, is > that when we have a cache hit and find that this cache block is dirty, > we just write this dirty block to the next level but do not evict the > current block from cache? > > Best regards. > > Yuan > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users