[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240322083703.232364-1-alexs@kernel.org>
Date: Fri, 22 Mar 2024 16:36:47 +0800
From: alexs@...nel.org
To: Matthew Wilcox <willy@...radead.org>,
Andrea Arcangeli <aarcange@...hat.com>,
Izik Eidus <izik.eidus@...ellosystems.com>,
david@...hat.com,
Andrew Morton <akpm@...ux-foundation.org>,
linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Cc: "Alex Shi (tencent)" <alexs@...nel.org>
Subject: [PATCH v2 00/14] transfer page to folio in KSM
From: "Alex Shi (tencent)" <alexs@...nel.org>
This is the first part of page to folio transfer on KSM. Since only
single page could be stored in KSM, we could safely transfer stable tree
pages to folios.
This patchset could reduce ksm.o 81kbytes from 2570760 bytes on latest
akpm/mm-stable branch with CONFIG_DEBUG_VM enabled.
Alex Shi (tencent) (14):
mm/ksm: add ksm_get_folio
mm/ksm: use folio in remove_rmap_item_from_tree
mm/ksm: add folio_set_stable_node
mm/ksm: use folio in remove_stable_node
mm/ksm: use folio in stable_node_dup
mm/ksm: use ksm_get_folio in scan_get_next_rmap_item
mm/ksm: use folio in write_protect_page
mm/ksm: Convert chain series funcs to use folio
mm/ksm: Convert stable_tree_insert to use folio
mm/ksm: Convert stable_tree_search to use folio
mm/ksm: return folio for chain series funcs
mm/ksm: remove get_ksm_page and related info
mm/ksm: use folio_set_stable_node in try_to_merge_one_page
mm/ksm: remove set_page_stable_node
mm/ksm.c | 259 ++++++++++++++++++++++++++-------------------------
mm/migrate.c | 2 +-
2 files changed, 131 insertions(+), 130 deletions(-)
--
2.43.0
Powered by blists - more mailing lists