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

Re: Re: Regarding the gfp mask "GFP_NOFS"



Hi...
> So if some memory needs to be swapped out to disk (in order to free
> memory that can be returned to the process calling kmalloc), I
> understand Disk IO should suffice. But my doubt is how can a
> filesystem IO help to free memory (so that it can be returned to the
> process calling kmalloc)?

I hope I also got your point...

Think about a scenario where the swap area is actually a file stored 
inside formatted partition (let's say ext2). Thus, it will first 
generate filesystem operation, right?

regards,

Mulyadi.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/