Welcome to gem5 Q&A, where you can ask questions and receive answers from other members of the community.

Problem in Dirtywriteback stat of gem5

0 votes

 I want to share one problem about Dirtywriteback stat in gem5

I think that if a dirty block is loaded from L2 cache into L1 cache, then this block is marked dirty in L1 cache (in handleFill() function in cache.cc file) and clean in L2 cache (in satisfyRequest() function in cache.cc file). Further, clean eviction of such blocks from L1 cache into L2 cache is treated as dirty writeback and adds to dirty writeback stat in GEM5.

       Should not it be treated as clean writeback?

asked Oct 4 in Coding Guidelines by maq.uetian (700 points)

Please log in or register to answer this question.