* [LSF/MM/BPF TOPIC] mshare - sharing page tables across processes
@ 2026-02-24 2:11 anthony.yznaga
0 siblings, 0 replies; only message in thread
From: anthony.yznaga @ 2026-02-24 2:11 UTC (permalink / raw)
To: lsf-pc; +Cc: linux-mm
mshare is a new form of shared memory that shares resources between
processes, namely the page tables entries and VMAs of the shared
objects. Advantages include reduced memory consumption through
eliminating the need for duplicated PTEs in each process, reduced
overhead needed to fault shared pages into multiple processes, and the
ability for updates to the memory such as protection changes to be
immdediately visible to all sharing processes.
For some time now the proposed API has continued to evolve. With
feedback from mm maintainers, a new approach using syscalls is being
taken to create, attach, and deattach mshare regions and to map and
manipulate the memory objects within a region.
Let's discuss the current state of the API and technical challenges of
managing and accomodating shared page tables in the kernel.
Anthony
References:
https://lore.kernel.org/linux-mm/20250820010415.699353-1-anthony.yznaga@oracle.com/
https://lore.kernel.org/linux-mm/20250404021902.48863-1-anthony.yznaga@oracle.com/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-02-24 2:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-24 2:11 [LSF/MM/BPF TOPIC] mshare - sharing page tables across processes anthony.yznaga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox