Welcome! Log In Create A New Profile

Advanced

FS: Control pages but unmapped from disk blocks

Posted by Paulo 
Hi!

I am learning VFS and I have the following problem:

When writepage get called, unsing generic procedures for write, etc..., (correct me if I am wrong) I have a page that is supposed to be mapped to some disk blocks (PG_mappedtodisk flag?).
I would like to keep this page (or these pages) under my FS control, delaying its writing, in memory eventually swappable to the normal swap partition. I still need that file I/O using mmap still access them.
How can I do that.
How do I tell they are free for any other use when I don't need them anymore?

Thanks
Author:

Your Email:


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 18 plus 24?
Message: