logoalt Hacker News

y1n010/11/20241 replyview on HN

There are more 4k boundaries than 16k boundaries. The issue is code compiled for 4k boundaries running on a 16k system.


Replies

amoss10/11/2024

I'm missing something here. Assuming there are pages at 0k, 16k, 32k etc - all of those pages are aligned on 4k boundaries as 4k > 16k. So code written with the assumption that its pages are 4k aligned should have that assumption met when running with 16k pages. It is still early here and I have only had one cup of coffee. Am I misunderstanding something really obvious?

show 1 reply