3 ms·
And how would you implement a "sparse page"? Without hardware support, the only idea I can think of is to mark the page unreadable and pass all memory reads th
by Filligree 10y ago
And how would you implement a "sparse page"?
Without hardware support, the only idea I can think of is to mark the page unreadable and pass all memory reads through the kernel. Which would be readily detectable... among other problems.
- DannyBee 10y agoSure, you'd need hardware support. But, for example, hardware dedup is infeasible (IE you can make the compression go in hardware, but the management, not so much or sanely. Unless you can make both constant time, ...). Sparse pages are at least feasible in hardware. Also, you realize that passing all memory reads through the kernel is what any read barrier garbage collected language does, right?