Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751538Ab2BHJV0 (ORCPT ); Wed, 8 Feb 2012 04:21:26 -0500 Received: from mail-ey0-f174.google.com ([209.85.215.174]:34318 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750950Ab2BHJVX convert rfc822-to-8bit (ORCPT ); Wed, 8 Feb 2012 04:21:23 -0500 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Mel Gorman" , "sandeep patil" Cc: "Marek Szyprowski" , "Ohad Ben-Cohen" , "Daniel Walker" , "Russell King" , "Arnd Bergmann" , "Jesse Barker" , "Jonathan Corbet" , linux-kernel@vger.kernel.org, "Dave Hansen" , linaro-mm-sig@lists.linaro.org, linux-mm@kvack.org, "Kyungmin Park" , "KAMEZAWA Hiroyuki" , "Andrew Morton" , "Rob Clark" , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Subject: Re: [Linaro-mm-sig] [PATCH 11/15] mm: trigger page reclaim in alloc_contig_range() to stabilize watermarks References: <1328271538-14502-1-git-send-email-m.szyprowski@samsung.com> <1328271538-14502-12-git-send-email-m.szyprowski@samsung.com> <20120203140428.GG5796@csn.ul.ie> Date: Wed, 08 Feb 2012 10:21:18 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT From: "Michal Nazarewicz" Message-ID: In-Reply-To: User-Agent: Opera Mail/11.61 (Linux) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1354 Lines: 32 On Wed, 08 Feb 2012 03:04:18 +0100, sandeep patil wrote: > There's another problem I am facing with zone watermarks and CMA. > > Test details: > Memory : 480 MB of total memory, 128 MB CMA region > Test case : around 600 MB of file transfer over USB RNDIS onto target > System Load : ftpd with console running on target. > No one is doing CMA allocations except for the DMA allocations done by the > drivers. > > Result : After about 300MB transfer, I start getting GFP_ATOMIC > allocation failures. This only happens if CMA region is reserved. [...] > Total memory available is way above the zone watermarks. So, we ended > up starving > UNMOVABLE/RECLAIMABLE atomic allocations that cannot fallback on CMA region. This looks like something Mel warned me about. I don't really have a good solution for that yet. ;/ -- Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michał “mina86” Nazarewicz (o o) ooo +------------------ooO--(_)--Ooo-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/