linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Better support for THP in page cache
@ 2018-11-22 21:32 Matthew Wilcox
  2018-11-22 21:32 ` [PATCH 1/2] mm: Remove redundant test from find_get_pages_contig Matthew Wilcox
  2018-11-22 21:32 ` [PATCH 2/2] page cache: Store only head pages in i_pages Matthew Wilcox
  0 siblings, 2 replies; 8+ messages in thread
From: Matthew Wilcox @ 2018-11-22 21:32 UTC (permalink / raw)
  To: linux-mm, linux-fsdevel
  Cc: linux-kernel, Kirill A. Shutemov, Hugh Dickins, Matthew Wilcox

This is the first step towards representing THPs more efficiently in
the page cache.  The next step is to insert one head page instead of
HPAGE_PMD_NR.  This passes a Trinity run, but I'm sure there's a
better test-case out there for THP.

Matthew Wilcox (2):
  mm: Remove redundant test from find_get_pages_contig
  page cache: Store only head pages in i_pages

 include/linux/pagemap.h |   9 ++++
 mm/filemap.c            | 106 +++++++++++-----------------------------
 mm/khugepaged.c         |   4 +-
 mm/shmem.c              |   2 +-
 mm/swap_state.c         |   2 +-
 5 files changed, 42 insertions(+), 81 deletions(-)

-- 
2.19.1


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

end of thread, other threads:[~2018-11-23 17:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-22 21:32 [PATCH 0/2] Better support for THP in page cache Matthew Wilcox
2018-11-22 21:32 ` [PATCH 1/2] mm: Remove redundant test from find_get_pages_contig Matthew Wilcox
2018-11-23 10:47   ` Kirill A. Shutemov
2018-11-23 17:59     ` Matthew Wilcox
2018-11-22 21:32 ` [PATCH 2/2] page cache: Store only head pages in i_pages Matthew Wilcox
2018-11-23 10:56   ` Kirill A. Shutemov
2018-11-23 17:19     ` Matthew Wilcox
2018-11-23 17:36       ` Kirill A. Shutemov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).