From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx185.postini.com [74.125.245.185]) by kanga.kvack.org (Postfix) with SMTP id F0EEC6B002C for ; Mon, 13 Feb 2012 16:37:26 -0500 (EST) Received: by wera13 with SMTP id a13so4920321wer.14 for ; Mon, 13 Feb 2012 13:37:25 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <1328895151-5196-1-git-send-email-m.szyprowski@samsung.com> <1328895151-5196-13-git-send-email-m.szyprowski@samsung.com> Date: Mon, 13 Feb 2012 15:37:25 -0600 Message-ID: Subject: Re: [Linaro-mm-sig] [PATCHv21 12/16] mm: trigger page reclaim in alloc_contig_range() to stabilise watermarks From: Robert Nelson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: To: Michal Nazarewicz Cc: Marek Szyprowski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-mm@kvack.org, linaro-mm-sig@lists.linaro.org, Ohad Ben-Cohen , Daniel Walker , Russell King , Arnd Bergmann , Jonathan Corbet , Mel Gorman , Dave Hansen , Jesse Barker , Kyungmin Park , Andrew Morton , Rob Clark , KAMEZAWA Hiroyuki 2012/2/13 Michal Nazarewicz : >>> On Fri, Feb 10, 2012 at 11:32 AM, Marek Szyprowski >>>> >>>> +static int __reclaim_pages(struct zone *zone, gfp_t gfp_mask, int >>>> count) >>>> >>>> +{ >>>> + =A0 =A0 =A0 enum zone_type high_zoneidx =3D gfp_zone(gfp_mask); >>>> + =A0 =A0 =A0 struct zonelist *zonelist =3D node_zonelist(0, gfp_mask)= ; >>>> + =A0 =A0 =A0 int did_some_progress =3D 0; >>>> + =A0 =A0 =A0 int order =3D 1; >>>> + =A0 =A0 =A0 unsigned long watermark; >>>> + >>>> + =A0 =A0 =A0 /* >>>> + =A0 =A0 =A0 =A0* Increase level of watermarks to force kswapd do his= job >>>> + =A0 =A0 =A0 =A0* to stabilise at new watermark level. >>>> + =A0 =A0 =A0 =A0*/ >>>> + =A0 =A0 =A0 __modify_min_cma_pages(zone, count); > > >> 2012/2/13 Michal Nazarewicz : >> >>> This should read __update_cma_wmark_pages(). =A0Sorry for the incorrect >>> patch. > > > On Mon, 13 Feb 2012 13:15:13 -0800, Robert Nelson > wrote: >> >> Thanks Michal, that fixed it.. > > > You are most welcome. > > >> cma-v21 with Rob Clark's omapdrm works great on the Beagle xM.. > > > Can we take that as: > > Tested-by: Robert Nelson > > ? ;) Oh, of course: Tested-by: Robert Nelson Regards, --=20 Robert Nelson http://www.rcn-ee.com/ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org