lkml.org 
[lkml]   [2008]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] dmatest: properly handle duplicate DMA channels
Andrew Morton <akpm@linux-foundation.org> wrote:
> One of them is incorrect. The interface is undocumented (natch), but I
> assume that GFP_KERNEL is the one to use here.

You're right -- there's no reason to use GFP_ATOMIC there. I messed
around with various kinds of locks before I realized that it was
already protected by a mutex.

Haavard


\
 
 \ /
  Last update: 2008-09-20 14:45    [W:0.119 / U:1.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site