Hacker News new | past | comments | ask | show | jobs | submit login

> One suggested solution has been filling in gaps with NOP's, but then the compiler would have to track the page alignment, which would not work anyway if a system supports pages of varying sizes (ordinary vs huge pages).

If it's in the linker then tracking pages sounds pretty doable.

You don't need to care about multiple page sizes. If you pad at the minimum page size, or even at 1KB boundaries, that's a miniscule number of NOPs.




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

Search: