<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">>> but if _all_ that is required is randomly unmapping some marked<br>>> application pages, _that_ can be naively 'done' by the application<br>>> itself :)<br><br>> Note that in this case, "naively" includes "not remembering to consider<br>> that the page being unmapped may have contained data we'd rather<br>> have kept by flushing the page to disk" :)<br clear="all"></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">but is it that bad ? <br><br>before marking a page unmappable, the application has full control<br>over what it wants to do with the data, and can choose to dump it<br>to the appropriate destination.<br><br>or if enough information is available, the unmapper thread can itself<br>play that role.<br><br>thinking some more about it, application has full control over the<br>unmap/resurrect behavior. though latter might not be as<br>transparent...<br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">--</div><div class="gmail_default" style="font-family:monospace,monospace">kind regards</div><div class="gmail_default" style="font-family:monospace,monospace">anupam</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font face="monospace, monospace">In the beginning was the lambda, and the lambda was with Emacs, and Emacs was the lambda. </font></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 19, 2020 at 11:14 AM Valdis Klētnieks <<a href="mailto:valdis.kletnieks@vt.edu">valdis.kletnieks@vt.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, 19 Jan 2020 10:55:44 +0000, Anupam Kapoor said:<br>
<br>
> but if _all_ that is required is randomly unmapping some marked<br>
> application pages, _that_ can be naively 'done' by the application<br>
> itself :)<br>
<br>
Note that in this case, "naively" includes "not remembering to consider<br>
that the page being unmapped may have contained data we'd rather<br>
have kept by flushing the page to disk" :)<br>
</blockquote></div>