LWN.net Logo

POSIX_FADV_VOLATILE

POSIX_FADV_VOLATILE

Posted Dec 1, 2011 1:02 UTC (Thu) by zlynx (subscriber, #2285)
Parent article: POSIX_FADV_VOLATILE

Overriding this call seems wrong to me. In my opinion a new flag to mmap would work better. Then the entire mmap range could be cleared, fixing the potential problem of losing one page from the middle of an object.


(Log in to post comments)

Kernel to process notification?

Posted Mar 23, 2012 18:36 UTC (Fri) by cheako (guest, #81350) [Link]

This solution still needs a way for the kernel to let the process know when it's memory was relinquished.

POSIX_FADV_VOLATILE as a corresponding call for this task and it would be better overall if this lock/unlock||unPOSIX_FADV_VOLATILE/POSIX_FADV_VOLATILE didn't have many options.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds