[PATCH v2 0/3] Change calling convention for ->huge_fault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There are two unrelated changes to the calling convention for
->huge_fault.  I've bundled them together to help people notice the
change.  The first is to improve scalability of DAX page faults by
allowing them to be handled under the VMA lock.  The second is to remove
enum page_entry_size since it's really unnecessary.  The changelogs
and documentation updates hopefully work to that end.

I vaguely contemplated introducing PTE_ORDER to replace use of the bare
'0' order.  I'll happily do it if anyone feels strongly about it.

v2:
 - Split into three patches
 - Use PAGE_SHIFT instead of PTE_SHIFT to fix build errors on hexagon & csky

Matthew Wilcox (Oracle) (3):
  mm: Move PMD_ORDER to pgtable.h
  mm: Allow ->huge_fault() to be called without the mmap_lock held
  mm: Remove enum page_entry_size

 Documentation/filesystems/locking.rst | 36 +++++++++++++++++----------
 Documentation/filesystems/porting.rst | 11 ++++++++
 drivers/dax/device.c                  | 22 ++++++----------
 fs/dax.c                              | 33 ++++++------------------
 fs/erofs/data.c                       |  6 ++---
 fs/ext2/file.c                        |  2 +-
 fs/ext4/file.c                        | 11 ++++----
 fs/fuse/dax.c                         | 20 +++++++--------
 fs/xfs/xfs_file.c                     | 24 +++++++++---------
 fs/xfs/xfs_trace.h                    | 22 ++++++++--------
 include/linux/dax.h                   |  4 +--
 include/linux/mm.h                    | 10 +-------
 include/linux/pgtable.h               |  3 +++
 mm/memory.c                           | 30 +++++-----------------
 14 files changed, 102 insertions(+), 132 deletions(-)

-- 
2.40.1





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux