From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752463Ab1KSSJd (ORCPT ); Sat, 19 Nov 2011 13:09:33 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:38234 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751826Ab1KSSJc convert rfc822-to-8bit (ORCPT ); Sat, 19 Nov 2011 13:09:32 -0500 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "sandeep patil" 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, "Daniel Walker" , "Russell King" , "Arnd Bergmann" , "Jonathan Corbet" , "Mel Gorman" , "Dave Hansen" , "Jesse Barker" , "Kyungmin Park" , "Ankita Garg" , "Andrew Morton" , "KAMEZAWA Hiroyuki" Subject: Re: [Linaro-mm-sig] [PATCHv17 0/11] Contiguous Memory Allocator References: <1321634598-16859-1-git-send-email-m.szyprowski@samsung.com> Date: Sat, 19 Nov 2011 19:09:23 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT From: "Michal Nazarewicz" Message-ID: In-Reply-To: User-Agent: Opera Mail/11.52 (Linux) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> On Fri, 18 Nov 2011 22:20:48 +0100, sandeep patil wrote: >>> So, i guess my question is, until all the migration failures are >>> tracked down and fixed, is there a plan to retry the contiguous >>> allocation from a new range in the CMA region? > 2011/11/18 Michal Nazarewicz : >> No. Current CMA implementation will stick to the same range of pages also >> on consequent allocations of the same size. On Sat, 19 Nov 2011 00:30:49 +0100, sandeep patil wrote: > Doesn't that mean the drivers that fail to allocate from contiguous DMA region > will fail, if the migration fails? Yes. I have some ideas how that could be mitigated. The easiest would be to try another region to allocate from on failure. More complicated could be to try and wait for the I/O transfer to finish. I'll try to work on it during upcoming week. -- Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michał “mina86” Nazarewicz (o o) ooo +------------------ooO--(_)--Ooo--