On Fri, 22 Feb 2013, Ric Mason wrote: > On 02/21/2013 04:17 PM, Hugh Dickins wrote: > > Here's a second KSM series, based on mmotm 2013-02-19-17-20: partly in > > 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. > > Do you have any ideas ksm support page cache and tmpfs? No. It's only been asked as a hypothetical question: I don't know of 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. Hugh -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>