Messages in this thread | | | Date | Sat, 20 Sep 2008 14:42:07 +0200 | From | Haavard Skinnemoen <> | Subject | Re: [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
| |