[lkml]   [2011]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Linaro-mm-sig] [PATCHv17 0/11] Contiguous Memory Allocator
2011/11/18 Michal Nazarewicz <>:
> On Fri, 18 Nov 2011 22:20:48 +0100, sandeep patil <>
> wrote:
>> I am running a simple test to allocate contiguous regions and write a log
>> on
>> in a file on sdcard simultaneously. I can reproduce this migration failure
>> 100%
>> times with it.
>> when I tracked the pages that failed to migrate, I found them on the
>> buffer head lru
>> list with a reference held on the buffer_head in the page, which
>> causes drop_buffers()
>> to fail.
>> 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?
> No.  Current CMA implementation will stick to the same range of pages also
> on consequent allocations of the same size.

Doesn't that mean the drivers that fail to allocate from contiguous DMA region
will fail, if the migration fails?

~ sandeep
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2011-11-19 00:33    [W:0.066 / U:2.968 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site