dazuko-devel
[Top][All Lists]
Advanced

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

Re: [Dazuko-devel] Why kmalloc with GFP_ATOMIC?


From: John Ogness
Subject: Re: [Dazuko-devel] Why kmalloc with GFP_ATOMIC?
Date: Sat, 07 Jun 2008 02:00:05 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix)

On 2008-06-06, Tikka, Sami <address@hidden> wrote:
> Is there good reason why dazuko on Linux 2.6 allocates memory using
> GFP_ATOMIC instead of GFP_KERNEL?

The change was made for Linux 2.6.x. The motivation at the time was to
try to eliminate as much potential blocking as possible. Since Dazuko
involves several context switches for each file access event,
additional blocking could cause significant slow downs.

However, with the latest preemptive efforts of kernel development, it
would probably be a good idea to switch back to GFP_KERNEL.

John Ogness

-- 
Dazuko Maintainer




reply via email to

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