On Fri, 22 Feb 2013, Ric Mason wrote:On 02/21/2013 04:17 PM, Hugh Dickins wrote:No. It's only been asked as a hypothetical question: I don't know ofHere's a second KSM series, based on mmotm 2013-02-19-17-20: partly inDo you have any ideas ksm support page cache and tmpfs?
response to Mel's review feedback, partly fixes to issues that I found
myself in doing more review and testing. None of the issues fixed are
truly show-stoppers, though I would prefer them fixed sooner than later.
anyone actually needing it, and I wouldn't have time to do it myself.
It would be significantly more invasive than just dealing with anonymous
memory: with anon, we already have the infrastructure for read-only pages,
but we don't at present have any notion of read-only pagecache.
Just doing it in tmpfs? Well, yes, that might be easier: since v3.1's
radix_tree rework, shmem/tmpfs mostly goes through its own interfaces
to pagecache, so read-only pagecache, and hence KSM, might be easier
to implement there than more generally.