On Jun 30, 2008, at 5:15 PM, Steve Reinhardt wrote: > On Mon, Jun 30, 2008 at 9:11 AM, Ali Saidi <[EMAIL PROTECTED]> wrote: >> The FastAlloc pools and StaticInst cache should clearly be >> duplicated. > > Why would you want to duplicate the StaticInst cache? It's a > read-mostly structure so you'd only have to lock on a miss/insert, and > having a larger shared capacity for a given memory footprint seems > like a win to me. Right now we use an stl::map for the cache, so we could try reader/ writer locks, but we couldn't just lock to insert since the insert may cause the read to go off in the weeds unless we make some assumptions about the stl code that I don't think we can make.
Ali _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev