Re: [patch 1/2] mm: vmscan: fix force-scanning small targetswithout swap

From: Andrew Morton
Date: Wed Aug 31 2011 - 19:38:28 EST


On Mon, 29 Aug 2011 18:08:39 +0200
Johannes Weiner <jweiner@xxxxxxxxxx> wrote:

> Andrew,
>
> On Thu, Aug 11, 2011 at 10:31:54PM +0200, Johannes Weiner wrote:
> > Without swap, anonymous pages are not scanned. As such, they should
> > not count when considering force-scanning a small target if there is
> > no swap.
> >
> > Otherwise, targets are not force-scanned even when their effective
> > scan number is zero and the other conditions--kswapd/memcg--apply.
>
> I forgot to mention, this patch is a fix for '246e87a memcg: fix
> get_scan_count() for small targets', which went upstream this merge
> window.
>
> Probably makes sense to merge this one too before the release..?
>

Ah, I didn't realise that. Thanks.
--
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/