All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/8] Misc MM patches
@ 2020-03-18 14:02 Matthew Wilcox
  2020-03-18 14:02 ` [PATCH v2 1/8] mm: Use vm_fault error code directly Matthew Wilcox
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Matthew Wilcox @ 2020-03-18 14:02 UTC (permalink / raw)
  To: linux-mm; +Cc: Matthew Wilcox (Oracle)

From: "Matthew Wilcox (Oracle)" <willy@infradead.org>

These are all things that I noticed while working on the THP patches, but
all stand alone as useful MM cleanups.  Andrew, please consider applying.

There's two extra patches in here compared to v1; I separated out the
patch renaming the arguments to find_subpage() from the patch converting
it to use hpage_nr_pages(), and I added a patch to check PageTail()
in hpage_nr_pages() for the !THP case.

Patch 5 (Remove CONFIG_TRANSPARENT_HUGE_PAGECACHE) adds the missing hunk
that Alex Duyck pointed out.

Patch 8 (pagecache_get_page documentation) also renames the 'offset'
parameter to 'index'.

Original series here:
https://lore.kernel.org/linux-mm/20200303041125.19358-1-willy@infradead.org/

Matthew Wilcox (Oracle) (8):
  mm: Use vm_fault error code directly
  mm: Rename arguments to find_subpage
  mm: Check PageTail in hpage_nr_pages even when !THP
  mm: Optimise find_subpage for !THP
  mm: Remove CONFIG_TRANSPARENT_HUGE_PAGECACHE
  mm: Use VM_BUG_ON_PAGE in clear_page_dirty_for_io
  mm: Unexport find_get_entry
  mm: Rewrite pagecache_get_page documentation

 include/linux/huge_mm.h  |  6 ++++-
 include/linux/pagemap.h  | 15 +++++++-----
 include/linux/shmem_fs.h | 10 +-------
 mm/Kconfig               |  6 +----
 mm/filemap.c             | 52 +++++++++++++++++++---------------------
 mm/huge_memory.c         |  2 +-
 mm/khugepaged.c          | 12 ++++------
 mm/memory.c              |  5 ++--
 mm/page-writeback.c      |  2 +-
 mm/rmap.c                |  2 +-
 mm/shmem.c               | 36 ++++++++++++++--------------
 11 files changed, 67 insertions(+), 81 deletions(-)

-- 
2.25.1



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

end of thread, other threads:[~2020-03-19 15:59 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-18 14:02 [PATCH v2 0/8] Misc MM patches Matthew Wilcox
2020-03-18 14:02 ` [PATCH v2 1/8] mm: Use vm_fault error code directly Matthew Wilcox
2020-03-18 14:02 ` [PATCH v2 2/8] mm: Rename arguments to find_subpage Matthew Wilcox
2020-03-19 10:15   ` Christoph Hellwig
2020-03-19 14:31   ` Kirill A. Shutemov
2020-03-19 15:59   ` Pankaj Gupta
2020-03-18 14:02 ` [PATCH v2 3/8] mm: Check PageTail in hpage_nr_pages even when !THP Matthew Wilcox
2020-03-19 10:18   ` Christoph Hellwig
2020-03-19 14:33   ` Kirill A. Shutemov
2020-03-18 14:02 ` [PATCH v2 4/8] mm: Optimise find_subpage for !THP Matthew Wilcox
2020-03-19 10:18   ` Christoph Hellwig
2020-03-18 14:02 ` [PATCH v2 5/8] mm: Remove CONFIG_TRANSPARENT_HUGE_PAGECACHE Matthew Wilcox
2020-03-19 14:35   ` Kirill A. Shutemov
2020-03-18 14:02 ` [PATCH v2 6/8] mm: Use VM_BUG_ON_PAGE in clear_page_dirty_for_io Matthew Wilcox
2020-03-18 14:02 ` [PATCH v2 7/8] mm: Unexport find_get_entry Matthew Wilcox
2020-03-18 14:02 ` [PATCH v2 8/8] mm: Rewrite pagecache_get_page documentation Matthew Wilcox
2020-03-19 10:19   ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.