Skip to content

use folio in ksm

[email protected] linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 30 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10mm/ksm: reduce the flush action for ksm merging pagemm/ksm.c+8 -109 replies
2/10mm/ksm: skip subpages of compound pagesmm/ksm.c+7 -212 replies
3/10mm/ksm: use folio in try_to_merge_one_pagemm/ksm.c+35 -263 replies
4/10mm/ksm: add identical_folio funcinclude/linux/mm.h mm/ksm.c+18 -11 reply
5/10mm/ksm: use folio in stable_tree_searchmm/ksm.c+18 -180 replies
6/10mm/ksm: remove page_stable_nodemm/ksm.c+2 -70 replies
7/10mm/ksm: use folio in unstable_tree_search_insertmm/ksm.c+7 -70 replies
8/10mm/ksm: use folio in try_to_merge_xx serie funcsmm/ksm.c+24 -300 replies
9/10mm/ksm: calc_checksum for foliomm/ksm.c+8 -63 replies
10/10m/ksm: use folio in ksm scan pathmm/ksm.c+25 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] use folio in ksm

From: "Alex Shi (tencent)" <[email protected]>

This is the 2nd part to use folio in ksm, it saves 82kbytes in ksm.o and passed all ksm testcases in kselftest.

KSM still split same folios to single page if they are good to be KSM, but will skip the rest subpage checking if a folio couldn't suit for ksm.

Alex Shi (tencent) (10):
mm/ksm: reduce the flush action for ksm merging page mm/ksm: skip subpages of compound pages mm/ksm: use folio in try_to_merge_one_page mm/ksm: add identical_folio func
mm/ksm: use folio in stable_tree_search mm/ksm: remove page_stable_node
mm/ksm: use folio in unstable_tree_search_insert mm/ksm: use folio in try_to_merge_xx serie funcs mm/ksm: calc_checksum for folio
m/ksm: use folio in ksm scan path

 include/linux/mm.h |  17 ++++
 mm/ksm.c           | 230 +++++++++++++++++++++++----------------------
 2 files changed, 135 insertions(+), 112 deletions(-)
Signature · 1 line
2.43.0