Re: [PATCH v2 0/9] Add support for shared PTEs across processes

From: Andrew Morton
Date: Sat Jul 02 2022 - 00:24:20 EST


On Wed, 29 Jun 2022 16:53:51 -0600 Khalid Aziz <khalid.aziz@xxxxxxxxxx> wrote:

> This patch series implements a mechanism in kernel to allow
> userspace processes to opt into sharing PTEs. It adds a new
> in-memory filesystem - msharefs.

Dumb question: why do we need a new filesystem for this? Is it not
feasible to permit PTE sharing for mmaps of tmpfs/xfs/ext4/etc files?