On Sun, 2 Jan 2022, Matthew Wilcox wrote: > On Wed, Dec 08, 2021 at 04:22:08AM +0000, Matthew Wilcox (Oracle) wrote: > > This all passes xfstests with no new failures on both xfs and tmpfs. > > I intend to put all this into for-next tomorrow. > > As a result of Christoph's review, here's the diff. I don't > think it's worth re-posting the entire patch series. Yes, please don't re-post. I've just spent a few days testing and fixing the shmem end of it (as I did in Nov 2020 - but I've kept closer to your intent this time), three patches follow: mm/shmem.c | 58 ++++++++++++++++++++++++++------------------------ mm/truncate.c | 15 ++++++------ 2 files changed, 38 insertions(+), 35 deletions(-) Those patches are against next-20211224, not based on your latest diff; but I think your shmem.c and truncate.c updates can just be replaced by mine (yes, I too changed "same_page" to "same_folio"). Hugh