linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Remove PageKsm()
@ 2024-10-02 15:25 Matthew Wilcox (Oracle)
  2024-10-02 15:25 ` [PATCH 1/5] ksm: Use a folio in try_to_merge_one_page() Matthew Wilcox (Oracle)
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Matthew Wilcox (Oracle) @ 2024-10-02 15:25 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Matthew Wilcox (Oracle), linux-mm, Alex Shi

The KSM flag is almost always tested on the folio rather than on the page.
This series removes the final users of PageKsm() and makes the flag only
testable on the folio.

Matthew Wilcox (Oracle) (5):
  ksm: Use a folio in try_to_merge_one_page()
  ksm: Convert cmp_and_merge_page() to use a folio
  ksm: Convert should_skip_rmap_item() to take a folio
  mm: Add PageAnonNotKsm()
  mm: Remove PageKsm()

 include/linux/page-flags.h | 18 ++++----
 mm/internal.h              |  2 +-
 mm/ksm.c                   | 93 +++++++++++++++++++-------------------
 3 files changed, 58 insertions(+), 55 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2024-10-07  9:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-02 15:25 [PATCH 0/5] Remove PageKsm() Matthew Wilcox (Oracle)
2024-10-02 15:25 ` [PATCH 1/5] ksm: Use a folio in try_to_merge_one_page() Matthew Wilcox (Oracle)
2024-10-07  9:43   ` David Hildenbrand
2024-10-02 15:25 ` [PATCH 2/5] ksm: Convert cmp_and_merge_page() to use a folio Matthew Wilcox (Oracle)
2024-10-07  9:44   ` David Hildenbrand
2024-10-02 15:25 ` [PATCH 3/5] ksm: Convert should_skip_rmap_item() to take " Matthew Wilcox (Oracle)
2024-10-07  9:46   ` David Hildenbrand
2024-10-02 15:25 ` [PATCH 4/5] mm: Add PageAnonNotKsm() Matthew Wilcox (Oracle)
     [not found]   ` <CGME20241004114615eucas1p1910b6b4e74f8a878f56104026eece731@eucas1p1.samsung.com>
2024-10-04 11:46     ` Marek Szyprowski
2024-10-06 14:11   ` kernel test robot
2024-10-07  9:46   ` David Hildenbrand
2024-10-02 15:25 ` [PATCH 5/5] mm: Remove PageKsm() Matthew Wilcox (Oracle)
2024-10-07  9:47   ` David Hildenbrand

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