HNHacker News
TopNewBestAskShowJobs

xmlparser

8 karma · joined April 12, 2024

submissionscomments
xmlparser··on Show HN: Running TempleOS in user space without virtualization
> Thankfully the brk heap isn't intrusive enough to climb up into the pages I allocated :)

That seems about right[1], but the MAP_FIXED_NOREPLACE flag has been a thing since Linux 4.17. What about using that?

[1]: https://godbolt.org/z/698dPcvf6

xmlparser··on Show HN: Running TempleOS in user space without virtualization
Haha, that's like committing blasphemy to achieve a holy goal. I wonder what Terry or God would say about this.
xmlparser··on Show HN: Running TempleOS in user space without virtualization
Oh wow, nice! Just a question, how do you manage memory for the OS? I thought operating systems needed whole control of the MMU.