linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] mm: finish three more folio conversion
@ 2024-08-17  9:51 Kefeng Wang
  2024-08-17  9:51 ` [PATCH 1/5] mm: remove find_subpage() Kefeng Wang
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Kefeng Wang @ 2024-08-17  9:51 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Matthew Wilcox, Alexander Viro, David Hildenbrand,
	Sidhartha Kumar, linux-mm, Kefeng Wang

Convert to use folios then remove find_subpage(), thp_nr_pages()
and PageTransHuge(). 

---
The thp_nr_pages() remove depends on "mm: memory_hotplug: remove head
variable in do_migrate_range()"[1]

[1] https://lore.kernel.org/linux-mm/20240817084941.2375713-2-wangkefeng.wang@huawei.com/

Kefeng Wang (5):
  mm: remove find_subpage()
  pagemap: use a folio in __readahead_batch()
  mm: remove thp_nr_pages()
  mm: khugepaged: pass a folio for set_huge_pmd()
  mm: remove PageTransHuge()

 include/linux/mm.h         |  9 ---------
 include/linux/page-flags.h | 13 -------------
 include/linux/pagemap.h    | 26 ++++++--------------------
 include/linux/pgtable.h    |  2 +-
 lib/iov_iter.c             | 24 +++++++++++++-----------
 mm/khugepaged.c            | 10 ++++------
 6 files changed, 24 insertions(+), 60 deletions(-)

-- 
2.27.0



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

end of thread, other threads:[~2024-08-20  8:41 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-17  9:51 [PATCH 0/5] mm: finish three more folio conversion Kefeng Wang
2024-08-17  9:51 ` [PATCH 1/5] mm: remove find_subpage() Kefeng Wang
2024-08-19 11:02   ` Kefeng Wang
2024-08-19 13:27     ` David Hildenbrand
2024-08-20  8:22       ` Kefeng Wang
2024-08-20  8:23         ` David Hildenbrand
2024-08-20  8:34           ` Kefeng Wang
2024-08-17  9:51 ` [PATCH 2/5] pagemap: use a folio in __readahead_batch() Kefeng Wang
2024-08-17  9:51 ` [PATCH 3/5] mm: remove thp_nr_pages() Kefeng Wang
2024-08-17  9:51 ` [PATCH 4/5] mm: khugepaged: pass a folio for set_huge_pmd() Kefeng Wang
2024-08-17  9:51 ` [PATCH 5/5] mm: remove PageTransHuge() Kefeng Wang
2024-08-18 20:33 ` [PATCH 0/5] mm: finish three more folio conversion Matthew Wilcox
2024-08-19  9:59   ` David Hildenbrand
2024-08-19 11:13     ` Kefeng Wang
2024-08-19 13:20       ` Matthew Wilcox
2024-08-20  8:41         ` Kefeng Wang

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).