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

They could, but it would be extremely inefficient for small allocations. Pages are 8 KiB minimum, so it would waste memory, bloat up the page tables, and ruin cache efficiency.


Hmm, I see what you mean. But it seems like that could be solved by more sophisticated virtual memory management, although it seems like it would essentially take an entire other layer of virtualization to make it work, which might have other performance consequences.


Basically you would just reimplement malloc on the MMU level.




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

Search: