lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 19 Nov 2011 19:09:23 +0100
From:	"Michal Nazarewicz" <mina86@...a86.com>
To:	"sandeep patil" <psandeep.s@...il.com>
Cc:	"Marek Szyprowski" <m.szyprowski@...sung.com>,
	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	linux-media@...r.kernel.org, linux-mm@...ck.org,
	linaro-mm-sig@...ts.linaro.org,
	"Daniel Walker" <dwalker@...eaurora.org>,
	"Russell King" <linux@....linux.org.uk>,
	"Arnd Bergmann" <arnd@...db.de>,
	"Jonathan Corbet" <corbet@....net>, "Mel Gorman" <mel@....ul.ie>,
	"Dave Hansen" <dave@...ux.vnet.ibm.com>,
	"Jesse Barker" <jesse.barker@...aro.org>,
	"Kyungmin Park" <kyungmin.park@...sung.com>,
	"Ankita Garg" <ankita@...ibm.com>,
	"Andrew Morton" <akpm@...ux-foundation.org>,
	"KAMEZAWA Hiroyuki" <kamezawa.hiroyu@...fujitsu.com>
Subject: Re: [Linaro-mm-sig] [PATCHv17 0/11] Contiguous Memory Allocator

>> 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 <mina86@...a86.com>:
>> 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 <psandeep.s@...il.com> 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 +----<email/xmpp: mpn@...gle.com>--------------ooO--(_)--Ooo--
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ