[PATCH 0/5] Remove PageKsm()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux