Seems like there is a more familiar interface for saying "write this data at some point, and let me know when you are done so I can reuse (or de-mmap) this memory", namely aio_write (or lio_listio where there are several noncontiguous blocks of memory).
Now, there might be various semantic differences (like whether one has to write entire pages or can write less), but I'm curious whether the two things could/should be separate or unified.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds