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

To be clear, since the other replies to you don't seem to be mentioning it, the major costs of MMU page-based virtual memory are never about setting the page metadata. In any instance of remapping, TLB shootdowns and subsequent misses hurt. Page remapping is still very useful for large buffers, and other costs can be controlled based on intended usage, but smaller buffers should use other methods.

(Of course I'm being vague about the cutoff for "large" and "smaller" buffers. Always benchmark!)



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

Search: