[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regarding the gfp mask "GFP_NOFS"
Hi...
> But I could not understand why and how could a filesystem request be
> initiated in order to free memory (the case avoided by GFP_NOFS)?
Not really sure, but I have an idea. What if the memory block you want
to free is currently swapped out? Thus at least, you need to mark the
related swap slot(s) as "free", right? In other word, it will generate
some I/Os, although not too much.
CMIIW people...
regards,
Mulyadi
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/