Re: sharing page cache pages between multiple mappings

From: Michal Hocko
Date: Thu May 19 2016 - 05:05:31 EST


On Thu 19-05-16 10:20:13, Miklos Szeredi wrote:
> Has anyone thought about sharing pages between multiple files?
>
> The obvious application is for COW filesytems where there are
> logically distinct files that physically share data and could easily
> share the cache as well if there was infrastructure for it.

FYI this has been discussed at LSFMM this year[1]. I wasn't at the
session so cannot tell you any details but the LWN article covers it at
least briefly.

[1] https://lwn.net/Articles/684826/
--
Michal Hocko
SUSE Labs