linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Matthew Wilcox (Oracle)" <willy@infradead.org>
To: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org,
	Andrew Morton <akpm@linux-foundation.org>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Subject: [PATCH 0/7] THP prep patches
Date: Mon, 29 Jun 2020 16:19:52 +0100	[thread overview]
Message-ID: <20200629151959.15779-1-willy@infradead.org> (raw)

These are some generic cleanups and improvements, which I would like
merged into mmotm soon.  The first one should be a performance improvement
for all users of compound pages, and the others are aimed at getting
code to compile away when CONFIG_TRANSPARENT_HUGEPAGE is disabled (ie
small systems).  Also better documented / less confusing than the current
prefix mixture of compound, hpage and thp.

Matthew Wilcox (Oracle) (7):
  mm: Store compound_nr as well as compound_order
  mm: Move page-flags include to top of file
  mm: Add thp_order
  mm: Add thp_size
  mm: Replace hpage_nr_pages with thp_nr_pages
  mm: Add thp_head
  mm: Introduce offset_in_thp

 drivers/nvdimm/btt.c      |  4 +--
 drivers/nvdimm/pmem.c     |  6 ++--
 include/linux/huge_mm.h   | 58 ++++++++++++++++++++++++++++++++++++---
 include/linux/mm.h        | 12 ++++----
 include/linux/mm_inline.h |  6 ++--
 include/linux/mm_types.h  |  1 +
 include/linux/pagemap.h   |  6 ++--
 mm/compaction.c           |  2 +-
 mm/filemap.c              |  2 +-
 mm/gup.c                  |  2 +-
 mm/hugetlb.c              |  2 +-
 mm/internal.h             |  4 +--
 mm/memcontrol.c           | 10 +++----
 mm/memory_hotplug.c       |  7 ++---
 mm/mempolicy.c            |  2 +-
 mm/migrate.c              | 16 +++++------
 mm/mlock.c                |  9 +++---
 mm/page_alloc.c           |  5 ++--
 mm/page_io.c              |  4 +--
 mm/page_vma_mapped.c      |  6 ++--
 mm/rmap.c                 |  8 +++---
 mm/swap.c                 | 16 +++++------
 mm/swap_state.c           |  6 ++--
 mm/swapfile.c             |  2 +-
 mm/vmscan.c               |  6 ++--
 mm/workingset.c           |  6 ++--
 26 files changed, 127 insertions(+), 81 deletions(-)

-- 
2.27.0


             reply	other threads:[~2020-06-29 18:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-29 15:19 Matthew Wilcox (Oracle) [this message]
2020-06-29 15:19 ` [PATCH 1/7] mm: Store compound_nr as well as compound_order Matthew Wilcox (Oracle)
2020-06-29 16:22   ` Ira Weiny
2020-06-29 16:24     ` Matthew Wilcox
2020-07-06 10:29   ` Kirill A. Shutemov
2020-08-11 22:53     ` Matthew Wilcox
2020-06-29 15:19 ` [PATCH 2/7] mm: Move page-flags include to top of file Matthew Wilcox (Oracle)
2020-06-29 15:19 ` [PATCH 3/7] mm: Add thp_order Matthew Wilcox (Oracle)
2020-06-29 15:19 ` [PATCH 4/7] mm: Add thp_size Matthew Wilcox (Oracle)
2020-06-29 15:19 ` [PATCH 5/7] mm: Replace hpage_nr_pages with thp_nr_pages Matthew Wilcox (Oracle)
2020-06-29 17:40   ` Mike Kravetz
2020-06-29 18:14     ` Matthew Wilcox
2020-06-29 18:32       ` Matthew Wilcox
2020-07-01  1:33         ` Andrew Morton
2020-06-29 15:19 ` [PATCH 6/7] mm: Add thp_head Matthew Wilcox (Oracle)
2020-06-29 15:19 ` [PATCH 7/7] mm: Introduce offset_in_thp Matthew Wilcox (Oracle)
2020-06-29 17:11 ` [PATCH 0/7] THP prep patches William Kucharski
2020-06-29 18:13 ` Zi Yan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200629151959.15779-1-willy@infradead.org \
    --to=willy@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).