On Tue, 22 Mar 2005, Rahul Iyer wrote:
In one of the earlier CART threads, you had mentioned that you had a way of
representing each non resident page by a 32 bit value. Could you please
elaborate on this? I haven't given too much thought on this, but i was
thinking of a 64 bit value... upper 32 bits being pid and lower 32 being the
virtual address. Would this work?
Pid doesn't seem like the best idea, since you also need
to represent page cache, and page cache files do not have
a PID. You also need to remember whether the page was on
the "frequency" or "recency" list.
64 bits should indeed be enough for all of this ;)