4 ms·
How does the OS know which pages to mark?
by grog454 2y ago
How does the OS know which pages to mark?
- magicalhippo 2y agoAs I mentioned in my other reply[1], I imagined executable pages and those marked explicitly through code. This allows the kernel and applications to protect important variables and data structures. [1]: https://news.ycombinator.com/item?id=40297035 https://news.ycombinator.com/item?id=40297035
- smallpipe 2y agoThat relies on hardware support in the TLB. If you need TLB support for "please don't corrupt this page" you might as well get hardware with ECC in caches and RAMs
- magicalhippo 2y agoWhich relies on three components supporting ECC, not just one. But sure, ECC all around would be best. Btw, it was my understanding that CPU caches already use ECC?