[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1303840280.2816.71.camel@work-vm>
Date: Tue, 26 Apr 2011 10:51:20 -0700
From: John Stultz <john.stultz@...aro.org>
To: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
Cc: Mel Gorman <mgorman@...e.de>, linux-kernel@...r.kernel.org,
Arve Hj?nnev?g <arve@...roid.com>,
Dave Hansen <dave@...ux.vnet.ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] mm: Check if any page in a pageblock is reserved
before marking it MIGRATE_RESERVE
On Tue, 2011-04-26 at 18:49 +0900, KOSAKI Motohiro wrote:
> > On Thu, Apr 21, 2011 at 06:34:03PM -0700, John Stultz wrote:
> > > From: Arve Hjønnevåg <arve@...roid.com>
> > >
> > > This fixes a problem where the first pageblock got marked MIGRATE_RESERVE even
> > > though it only had a few free pages. This in turn caused no contiguous memory
> > > to be reserved and frequent kswapd wakeups that emptied the caches to get more
> > > contiguous memory.
> > >
> > > CC: Dave Hansen <dave@...ux.vnet.ibm.com>
> > > CC: Mel Gorman <mgorman@...e.de>
> > > CC: Andrew Morton <akpm@...ux-foundation.org>
> > > Signed-off-by: Arve Hjønnevåg <arve@...roid.com>
> > > Acked-by: Mel Gorman <mel@....ul.ie>
> > >
> > > [This patch was submitted and acked a little over a year ago
> > > (see: http://lkml.org/lkml/2010/4/6/172 ), but never seemingly
> > > made it upstream. Resending for comments. -jstultz]
> > >
> > > Signed-off-by: John Stultz <john.stultz@...aro.org>
> >
> > Whoops, should have spotted it slipped through. FWIW, I'm still happy
> > with my Ack being stuck onto it.
>
> Hehe, No.
>
> You acked another patch at last year and John taked up old one. Sigh.
> Look, correct one has pfn_valid_within().
> http://lkml.org/lkml/2010/4/6/172
Oh yikes! Many thanks for noticing that detail! Indeed, I started with
the patch in the Android tree, and didn't notice the difference in the
discussion I linked to. My apologies.
> And, Minchan suggested to add more explanation to the description. Then, I think
> following is desiable one.
Thanks so much again!
-john
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists