logoalt Hacker News

duskwuffyesterday at 11:01 PM2 repliesview on HN

> on nommu, you don't have any application isolation

That isn't necessarily the case. You can have memory protection without a MMU - for instance, most ARM Cortex-M parts have a MPU which can be used to restrict a thread's access to memory ranges or to hardware. What it doesn't get you is memory remapping, which is necessary for features like virtual memory.


Replies

tombltoday at 5:30 AM

Yeah, nommu absolutely doesn't imply zero memory isolation. I have a kernel port to an architecture with a nonstandard way of doing memory isolation and the existing nommu infrastructure is the only reason it can exist.

raszyesterday at 11:52 PM

virtual memory as in swap is one, but imo bigger one is memory-mapped files