Re: [RFC] respect the referenced bit of KVM guest pages?

From: Avi Kivity
Date: Wed Aug 05 2009 - 11:33:06 EST


On 08/05/2009 05:33 PM, Rik van Riel wrote:
Avi Kivity wrote:

The attached patch implements this.

The attached page requires each page to go around twice
before it is evicted, but they will still get evicted in
the order in which they were made present.

FIFO page replacement was shown to be a bad idea in the
1960's and it is still a terrible idea today.


Which is why we have accessed bits in page tables... but emulating the accessed bit via RWX (note no present bit in EPT) is better than ignoring it.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/