From: "Matthew Wilcox (Oracle)" <willy@infradead.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>, linux-mm@kvack.org
Subject: [PATCH 0/8] Convert huge_zero_page to huge_zero_folio
Date: Tue, 26 Mar 2024 20:28:20 +0000 [thread overview]
Message-ID: <20240326202833.523759-1-willy@infradead.org> (raw)
Almost all the callers of is_huge_zero_page() already have a folio.
And they should -- is_huge_zero_page() will return false for tail pages,
even if they're tail pages of the huge zero page. That's confusing,
and one of the benefits of the folio conversion is to get rid of this
confusion.
Matthew Wilcox (Oracle) (8):
sparc: Use is_huge_zero_pmd()
mm: Add is_huge_zero_folio()
mm: Add pmd_folio()
mm: Convert migrate_vma_collect_pmd to use a folio
mm: Convert huge_zero_page to huge_zero_folio
mm: Convert do_huge_pmd_anonymous_page to huge_zero_folio
dax: Use huge_zero_folio
mm: Rename mm_put_huge_zero_page to mm_put_huge_zero_folio
arch/sparc/mm/tlb.c | 6 ++--
fs/dax.c | 14 ++++----
fs/proc/page.c | 2 +-
include/linux/huge_mm.h | 14 ++++----
include/linux/pgtable.h | 2 ++
include/trace/events/fs_dax.h | 16 ++++-----
kernel/fork.c | 2 +-
mm/huge_memory.c | 65 ++++++++++++++++++-----------------
mm/madvise.c | 2 +-
mm/mempolicy.c | 4 +--
mm/migrate_device.c | 16 ++++-----
mm/mlock.c | 2 +-
mm/swap.c | 2 +-
mm/swap_state.c | 2 +-
mm/userfaultfd.c | 4 +--
15 files changed, 78 insertions(+), 75 deletions(-)
--
2.43.0
next reply other threads:[~2024-03-26 20:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-26 20:28 Matthew Wilcox (Oracle) [this message]
2024-03-26 20:28 ` [PATCH 1/8] sparc: Use is_huge_zero_pmd() Matthew Wilcox (Oracle)
2024-03-26 20:28 ` [PATCH 2/8] mm: Add is_huge_zero_folio() Matthew Wilcox (Oracle)
2024-03-26 20:28 ` [PATCH 3/8] mm: Add pmd_folio() Matthew Wilcox (Oracle)
2024-04-04 19:39 ` David Hildenbrand
2024-03-26 20:28 ` [PATCH 4/8] mm: Convert migrate_vma_collect_pmd to use a folio Matthew Wilcox (Oracle)
2024-03-26 20:28 ` [PATCH 5/8] mm: Convert huge_zero_page to huge_zero_folio Matthew Wilcox (Oracle)
2024-03-26 20:28 ` [PATCH 6/8] mm: Convert do_huge_pmd_anonymous_page " Matthew Wilcox (Oracle)
2024-04-04 19:41 ` David Hildenbrand
2024-03-26 20:28 ` [PATCH 7/8] dax: Use huge_zero_folio Matthew Wilcox (Oracle)
2024-03-26 20:28 ` [PATCH 8/8] mm: Rename mm_put_huge_zero_page to mm_put_huge_zero_folio Matthew Wilcox (Oracle)
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=20240326202833.523759-1-willy@infradead.org \
--to=willy@infradead.org \
--cc=akpm@linux-foundation.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