[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231103140119.2306578-1-wangkefeng.wang@huawei.com>
Date: Fri, 3 Nov 2023 22:01:01 +0800
From: Kefeng Wang <wangkefeng.wang@...wei.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: <linux-kernel@...r.kernel.org>, <linux-mm@...ck.org>,
Matthew Wilcox <willy@...radead.org>,
David Hildenbrand <david@...hat.com>,
<linux-s390@...r.kernel.org>,
Kefeng Wang <wangkefeng.wang@...wei.com>
Subject: [PATCH rfc 00/18] mm: convert to use folio mm counter
Convert mm counter page functions to folio ones.
mm_counter() -> mm_counter_folio()
mm_counter_file() -> mm_counter_file_folio()
Maybe it's better to rename folio mm counter function back to mm_counter()
and mm_counter_file() after all conversion?
Kefeng Wang (18):
mm: add mm_counter_folio() and mm_counter_file_folio()
uprobes: use mm_counter_file_folio()
mm: userfaultfd: use mm_counter_folio()
mm: rmap: use mm_counter_[file]_folio()
mm: swap: introduce pfn_swap_entry_to_folio()
mm: huge_memory: use a folio in __split_huge_pmd_locked()
mm: huge_memory: use a folio in zap_huge_pmd()
mm: khugepaged: use mm_counter_file_folio() in
collapse_pte_mapped_thp()
mm: memory: use a folio in do_set_pmd()
mm: memory: use mm_counter_file_folio() in copy_present_pte()
mm: memory: use mm_counter_file_folio() in wp_page_copy()
mm: memory: use mm_counter_file_folio() in set_pte_range()
mm: memory: use a folio in insert_page_into_pte_locked()
mm: remove mm_counter_file()
mm: memory: use a folio in copy_nonpresent_pte()
mm: use a folio in zap_pte_range()
s390: pgtable: use mm_counter_folio() in ptep_zap_swap_entry()
mm: remove mm_counter()
arch/s390/mm/pgtable.c | 4 +--
include/linux/mm.h | 12 +++----
include/linux/swapops.h | 13 +++++++
kernel/events/uprobes.c | 2 +-
mm/huge_memory.c | 25 +++++++------
mm/khugepaged.c | 4 +--
mm/memory.c | 77 +++++++++++++++++++++++------------------
mm/rmap.c | 10 +++---
mm/userfaultfd.c | 4 +--
9 files changed, 88 insertions(+), 63 deletions(-)
--
2.27.0
Powered by blists - more mailing lists