lkml.org 
[lkml]   [2018]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/9] dma-direct: reject highmem pages from dma_alloc_from_contiguous
On Fri, Nov 30, 2018 at 07:04:51PM +0000, Robin Murphy wrote:
> On 05/11/2018 12:19, Christoph Hellwig wrote:
>> dma_alloc_from_contiguous can return highmem pages depending on the
>> setup, which a plain non-remapping DMA allocator can't handle. Detect
>> this case and try the normal page allocator instead.
>
> ...except the actual implementation is "Detect this case and fail the
> entire allocation if so".

True, that actually changed from when I wrote the commit log due to
some layer issues. I'll update the commit log.

\
 
 \ /
  Last update: 2018-12-01 17:58    [W:0.055 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site