linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Change calling convention for ->huge_fault
@ 2023-08-18 20:23 Matthew Wilcox (Oracle)
  2023-08-18 20:23 ` [PATCH v2 1/3] mm: Move PMD_ORDER to pgtable.h Matthew Wilcox (Oracle)
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Matthew Wilcox (Oracle) @ 2023-08-18 20:23 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Matthew Wilcox (Oracle), linux-mm

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-18 20:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-18 20:23 [PATCH v2 0/3] Change calling convention for ->huge_fault Matthew Wilcox (Oracle)
2023-08-18 20:23 ` [PATCH v2 1/3] mm: Move PMD_ORDER to pgtable.h Matthew Wilcox (Oracle)
2023-08-18 20:23 ` [PATCH v2 2/3] mm: Allow ->huge_fault() to be called without the mmap_lock held Matthew Wilcox (Oracle)
2023-08-18 20:23 ` [PATCH v2 3/3] mm: Remove enum page_entry_size Matthew Wilcox (Oracle)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox