Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How common is it for operating systems to do anything other than this:

1. Initially map the not-yet-written page to a read-only page full of zeros (the same one for all allocations: only one exists in the whole system).

2. When a write takes place, copy-on-write clone that page to a newly allocated zero-filled-page, then allow the write to proceed.



The "Giving advice about use of memory" section of the article answers this question directly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: