Re: Regarding the gfp mask "GFP_NOFS"

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

 




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)?


Ummm ... not sure ... but just a direction to think upon. There memory
occupied by VFS / filesystems may be holding some buffers (of certain
files). So a file system request may be used to flush these buffers to
the disk, and thus free memory to be returned.

Thanks,

Rajat
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux