dazuko-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dazuko-devel] Why kmalloc with GFP_ATOMIC?


From: Tikka, Sami
Subject: [Dazuko-devel] Why kmalloc with GFP_ATOMIC?
Date: Fri, 6 Jun 2008 15:52:21 +0300

Hi!

Is there good reason why dazuko on Linux 2.6 allocates memory using
GFP_ATOMIC instead of GFP_KERNEL?

As I understand, GFP_ATOMIC should only be used by interrupt handlers and
other code that absolutely cannot sleep. Isn't all of dazuko functionality
happening in process context so there is no reason why it could not sleep
while kernel does some swapping?

-- 
Sami Tikka
F-Secure Corporation
BE SURE. 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]