zlacker

[parent] [thread] 1 comments
1. _0w8t+(OP)[view] [source] 2022-01-20 16:01:32
I wonder if this is kind of return to segmented architecture? It so it seems flat address spaces backed by virtual memory where not so good idea to begin with.
replies(1): >>jrtc27+7f
2. jrtc27+7f[view] [source] 2022-01-20 17:01:12
>>_0w8t+(OP)
CHERI is orthogonal to virtual memory, and the two complement each other. You still want virtual memory so you can do the usual paging tricks, copy-on-write, sharing of read-only pages, and so on. Plus the fact that there is a single page table entry for an address that affects all accesses is crucial for our experimental temporal memory safety implementation (see https://msrc-blog.microsoft.com/2022/01/20/an_armful_of_cher...). There's nothing stopping you from using segments instead of flat address spaces with page tables, but it's not really related to CHERI, you still have the same trade-offs as you do on conventional architectures.
[go to top]