<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear Gracjan Polak, and Cafe for wider attention,<div class=""><br class=""></div><div class="">I'm using the great [mmap](<a href="https://hackage.haskell.org/package/mmap" class="">https://hackage.haskell.org/package/mmap</a>) package, and now I need 2 more features closely related to its existing features:</div><div class=""><br class=""></div><div class="">- API to perform `msync` so as for:</div><div class=""> - A long running process to checkpoint the persistence of modifications</div><div class=""> - Parallel readers to see other writer's modification with cache coherence, i.e. invalidate cache as notified</div><div class="">- API to do anonymous mmap-ping for volatile (virtual) memory allocation</div><div class=""><br class=""></div><div class="">I expect the coding work to be trivial and intend to do it myself, however it's better to ask your opinion meanwhile I experiment with the ideas.</div><div class=""><br class=""></div><div class="">Would you like to accept such features into [mmap] package?</div><div class="">How do you think about details of such features?</div><div class=""><br class=""></div><div class="">For the background of my needs: I'm working on a shared immutable heap implementation, persistency will be provided by disk backed storage servers, parallel work horse servers will build heap contents in rather coarse grained fashion, first as volatile heaps in one's private memory, then publish into shared storage with bulk writing, so all servers will be able to mmap such public heaps into their own memory address space, with kernel pages as cache shared by all processes on a same physical node.</div><div class=""><br class=""></div><div class="">I hope it's okay to ask in the Cafe list at the same time, as I also anticipate more feedbacks/opinions from the list with broader expertise, will much appreciate!</div><div class=""><br class=""></div><div class="">Thanks with best regards,</div><div class="">Compl</div><div class=""><br class=""></div></body></html>