linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [LSF/MM TOPIC] sharing pages between mappings
@ 2017-01-11 10:29 Miklos Szeredi
  2017-01-11 11:51 ` [Lsf-pc] " Jan Kara
  2017-01-11 20:35 ` Andreas Dilger
  0 siblings, 2 replies; 6+ messages in thread
From: Miklos Szeredi @ 2017-01-11 10:29 UTC (permalink / raw)
  To: linux-mm, linux-fsdevel, linux-btrfs, lsf-pc

I know there's work on this for xfs, but could this be done in generic mm code?

What are the obstacles?  page->mapping and page->index are the obvious ones.

If that's too difficult is it maybe enough to share mappings between
files while they are completely identical and clone the mapping when
necessary?

All COW filesystems would benefit, as well as layered ones: lots of
fuse fs, and in some cases overlayfs too.

Related:  what can DAX do in the presence of cloned block?

Thanks,
Miklos

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-01-17 15:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-11 10:29 [LSF/MM TOPIC] sharing pages between mappings Miklos Szeredi
2017-01-11 11:51 ` [Lsf-pc] " Jan Kara
2017-01-11 14:13   ` Miklos Szeredi
2017-01-17 15:46     ` Jan Kara
2017-01-11 18:05   ` Darrick J. Wong
2017-01-11 20:35 ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).