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

From: Wu Fengguang
Date: Thu Aug 06 2009 - 05:59:35 EST


On Thu, Aug 06, 2009 at 05:59:53PM +0800, Avi Kivity wrote:
> On 08/06/2009 12:35 PM, Wu Fengguang wrote:
> > On Thu, Aug 06, 2009 at 05:35:59PM +0800, Avi Kivity wrote:
> >
> >> On 08/06/2009 12:25 PM, Wu Fengguang wrote:
> >>
> >>>> So you're effectively running a 256M guest on a 128M host?
> >>>>
> >>>> Do cgroups have private active/inactive lists?
> >>>>
> >>>>
> >>> Yes, and they reuse the same page reclaim routines with the global
> >>> LRU lists.
> >>>
> >>>
> >> Then this looks like a bug in the shadow accessed bit handling.
> >>
> >
> > Yes. One question is: why only stack pages hurts if it is a
> > general page reclaim problem?
> >
>
> Do we know for a fact that only stack pages suffer, or is it what has
> been noticed?

It shall be the first case: "These pages are nearly all stack pages.",
Jeff said.
--
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/