Hi
There is something vague in cache_impl.hh. There is a access function
in timingAccess():
bool satisfied = access(pkt, blk, lat, writebacks);

This function will call
blk = allocateBlock(pkt->getAddr(), writebacks);

within that, a victim is selected
BlkType *blk = tags->findVictim(addr, writebacks);

The question is why a victim is selected on a cache access? Don't we
have handleFill()?

In another word, when a block is being accessed, we favor only true or
false. Selecting a victim for replacement is done in another function
which is named handleFill()

I think this is redundant action. Can someone clarify that?
--
// Naderan *Mahmood;
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to