mbox series

[v10,0/3] mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind

Message ID 1676645312-13-1-git-send-email-ruansy.fnst@fujitsu.com (mailing list archive)
Headers show
Series mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind | expand

Message

Shiyang Ruan Feb. 17, 2023, 2:48 p.m. UTC
Changes since v9 RESEND:
  1. P1: Simplify the assignment expression:
    len -= offset + len - 1 - ddev_end; => len = ddev_end - offset + 1;
  2. P2: Add '*' after '/*' to make it a part of kernel-doc
  3. P2: Replace 'void *unused' with a specific function signature
  4. P3: Freeze the fs before invalidate dax mapping

Shiyang Ruan (3):
  xfs: fix the calculation of length and end
  fs: introduce super_drop_pagecache()
  mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind

 drivers/dax/super.c         |  3 ++-
 fs/drop_caches.c            | 29 +------------------------
 fs/super.c                  | 43 +++++++++++++++++++++++++++++++++++++
 fs/xfs/xfs_notify_failure.c | 34 +++++++++++++++++++++++++----
 include/linux/fs.h          |  2 ++
 include/linux/mm.h          |  1 +
 include/linux/pagemap.h     |  1 +
 mm/truncate.c               | 20 +++++++++++++++--
 8 files changed, 98 insertions(+), 35 deletions(-)