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

From: Avi Kivity
Date: Fri Aug 14 2009 - 03:17:21 EST


On 08/14/2009 12:16 AM, Johannes Weiner wrote:

- do not ignore the referenced bit
- if you see a run of N pages which all have the referenced bit set, do
swap one


But it also means destroying the LRU order.


True, it would, but if we ignore the referenced bit, LRU order is really FIFO.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
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/