Sharing page tables with msharefs
Sharing page tables with msharefs
Posted Jul 15, 2022 19:55 UTC (Fri) by josh (subscriber, #17465)In reply to: Sharing page tables with msharefs by willy
Parent article: Sharing page tables with msharefs
Posted Jul 15, 2022 20:52 UTC (Fri)
by bartoc (guest, #124262)
[Link]
Posted Jul 15, 2022 22:59 UTC (Fri)
by nickodell (subscriber, #125165)
[Link]
> That raises an obvious question, he said: why not just use threads? The answer was that "mmap_lock sucks". It is also not possible to change the existing behavior of MAP_SHARED, since that would break programs, so there would need to be, at a minimum, a new mmap() flag if not a new system call. Aziz said that the separate system call makes the page-table sharing explicit rather than it just being a side effect. That makes the decision to opt into this behavior explicit as well.
Sharing page tables with msharefs
Sharing page tables with msharefs