Hello,

In the function "CacheBlk* Cache::allocateBlock(Addr addr, bool is_secure,
PacketList &writebacks)" in cache_impl.hh, it calls "CacheBlk *blk =
tags->findVictim(addr)". What is the "findVictim(Addr addr)" function is
actually being called? I found that sometimes BaseCache::findVictim(Addr
addr) is executing, but sometimes LRU::findVictim(Addr addr) is executing
after that call.

I was using the default LRU replacement policy. I'm guessing the
allocateBlock is the only caller of the findVictim. Am I missing something?
Thanks for helping in advance.

Cheers,
Chao
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to