Re: [PATCH 3/3][RFC] swsusp: shrink file cache first
From: Rafael J. Wysocki
Date: Sat Feb 07 2009 - 12:25:43 EST
On Saturday 07 February 2009, Johannes Weiner wrote:
> On Fri, Feb 06, 2009 at 01:00:09PM -0800, Andrew Morton wrote:
> > On Fri, 6 Feb 2009 05:49:07 +0100
> > Johannes Weiner <hannes@xxxxxxxxxxx> wrote:
> >
> > > > and, I think you should mesure performence result.
> > >
> > > Yes, I'm still thinking about ideas how to quantify it properly. I
> > > have not yet found a reliable way to check for whether the working set
> > > is intact besides seeing whether the resumed applications are
> > > responsive right away or if they first have to swap in their pages
> > > again.
> >
> > Describing your subjective non-quantitative impressions would be better
> > than nothing...
>
> Okay.
>
> > The patch bugs me.
>
> Please ignore it, it is broken as is. My verbal cortex got obviously
> disconnected from my code cortex when writing the changelog...
If I understood this correctly, patch 3/3 is to be disregarded.
> And I will reconsider the actual change bits, I still think that we
> shouldn't scan anon page lists while may_swap is zero.
Hm, can you please remind me what may_swap == 0 acutally means?
Rafael
--
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/