by CharlesMerriam2 · 10y ago · 0 comments
>Why not put the effort into a great MMU
The people who are writing for OpenBSD can not "put their effort" into hardware changes to entire platforms.
They can do something to improve their own OS, however.
If it's just an interpreter, then the "sort-of executable" is just data being read, and the page can stay write-only.
We used to have that, they're called segments.
https://en.wikipedia.org/wiki/Intel_iAPX_432#Object-oriented...
EDIT: There's a passing mention in a book [1]
> The Intel i960 extended architecture processor used a tagged architecture with a bit on each memory word that marked the word as a "capability", not as an ordinary location for data or instructions. A capability controlled access to a variable-sized memory block or segment. The large number of possible tag values supported memory segments that ranged in size from 64 to 4 billion bytes, with a potential 2^256 different protection domains.
[1] https://books.google.co.uk/books?id=O3VB-zspJo4C&pg=PA189#v=...
Do you perhaps mean "every allocation is its own address space"? I guess that would require pointers that are double the size of regular pointers (the first half pointing to the address space, and the second half being an index into that space).
These kind of protections are for widespread use protecting legacy codebases they don't want to straight up fix or take performance hit of tools like Softbound+CETS. Incidentally, tradeoffs like that usually fail. ;)