Welcome! Log In Create A New Profile


FS: Control pages but unmapped from disk blocks

Posted by Paulo 

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?


Your Email:


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 17 plus 5?