3 ms·
Now you've pushed the job of cleaning up page tables to the OS.
by saagarjha 4y ago
Now you've pushed the job of cleaning up page tables to the OS.
- chrisseaton 4y agoBut that’s extremely easy - you go through a linear list once and free them all. You don’t even need to bring the contents from main memory to do it. (Exception is shared pages, not used for heap memory often.)
- saagarjha 4y agoIt's definitely easier, because you don't have interior pointers. But it's still work :)
- jeeeb 4y agoThe OS would have that job anyway.
- int_19h 4y agoIt's optimized for that, so just let it do its job. https://devblogs.microsoft.com/oldnewthing/20120105-00/?p=8683 https://devblogs.microsoft.com/oldnewthing/20120105-00/?p=86...