Remix.run Logo
adgjlsfhk1 3 days ago

> - The hardcoded page size.

I'm pretty confident that this will get removed. It's an extension that made it's way into RVA23, but once anyone has a design big enough for it to be a burden, it can be dropped.

monocasa 3 days ago | parent [-]

That's really hard to drop.

Fancier unix programs tend to make all kinds of assumptions about page size to do things like the double mapped ring buffer trick.

https://en.wikipedia.org/wiki/Circular_buffer#Optimization

In fact it looks like apple silicon maintains support for 4kb pages just for running Rosetta. It's one of those things like TSO that was enough of a pain to work around the assumptions that they just included hardware support for it that isn't enabled when running in regular arm software mode.