|
|
Log in / Subscribe / Register

Sharing page tables with mshare()

Sharing page tables with mshare()

Posted May 18, 2022 18:05 UTC (Wed) by willy (subscriber, #9762)
In reply to: Sharing page tables with mshare() by ncm
Parent article: Sharing page tables with mshare()

Because the app wants different semantics from those normally provided by mmap(). Specifically, setting mprotect() on a sub-region of the area needs to apply to all processes mapping the area, not just this one.

It really does want "Treat this region of address space as if the sharing processes are threads but the rest of the address space is mine".


to post comments

Sharing page tables with mshare()

Posted May 18, 2022 22:33 UTC (Wed) by zev (subscriber, #88455) [Link]

Though this plus a new opt-in mmap() flag is essentially what it sounds like Jason Gunthorpe asked about? Or have I misunderstood something?


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds