Steve Fink wrote:
Ah! So all we have to do is use discontiguous PMCs -- the first 32 bytes is at offset 0, the second at byte offset 128 or so. Then we can interleave them, so that everything in offset 0..127 gets loaded into the cache, but 128..255 is left untouched. (Just kidding.)
s/32/16/
But I don't think, this is a bad idea. The real size of a PMC is used only once for allocating the arena. So by faking a bigger structure for the compiler and interleaving this, we could really have double density for the pobj->flags during a DOD run.
This would need to determine the cache line size (or allocating allways more PMCs then a cache line size).
leo