Re: [PATCH] dmatest: properly handle duplicate DMA channels

From: Haavard Skinnemoen
Date: Sat Sep 20 2008 - 08:42:54 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/