transfer page to folio in KSM
Status from this message: [merged mm-stable] mm-ksm-replace-set_page_stable_node-by-folio_set_stable_node.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest10 patches 10 repliesApplied 10/10
- v49 patches 7 repliesSuperseded
- v314 patches 16 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 2/2 | 0 of 14 patches | 1 reply | Superseded | |
| v2 posting 1/2 | 14 patches | 6 replies | Superseded | |
| v1 | 11 patches | 6 replies | Superseded |
Patches in v5 All 10 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | mm/ksm: add ksm_get_foliomm/ | +25 | 0 replies | Applied |
| 2/10 | mm/ksm: use folio in remove_rmap_item_from_treemm/ | +5 | 0 replies | Applied |
| 3/10 | mm/ksm: add folio_set_stable_nodemm/ | +7 | 0 replies | Applied |
| 4/10 | mm/ksm: use folio in remove_stable_nodemm/ | +12 | 0 replies | Applied |
| 5/10 | mm/ksm: use folio in stable_node_dupmm/ | +8 | 0 replies | Applied |
| 6/10 | mm/ksm: use ksm_get_folio in scan_get_next_rmap_itemmm/ | +5 | 0 replies | Applied |
| 7/10 | mm/ksm: use folio in write_protect_pagemm/ | +13 | 0 replies | Applied |
| 8/10 | mm/ksm: Convert chain series funcs and replace get_ksm_pagemm/ mm/ | +66 | 2 replies | Applied |
| 9/10 | mm/ksm: rename get_ksm_page_flags() to ksm_get_folio_flagsmm/ | +16 | 6 replies | Applied |
| 10/10 | mm/ksm: replace set_page_stable_node by folio_set_stable_nodemm/ | +3 | 0 replies | Applied |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | David Hildenbrand | Alex Shi |
|---|---|---|
| 1/10 | R-b | |
| 2/10 | R-b | |
| 3/10 | R-b | |
| 4/10 | R-b | |
| 5/10 | R-b | |
| 6/10 | R-b | |
| 7/10 | R-b | |
| 8/10 | R-b | |
| 9/10 | R-b | |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/10] transfer page to folio in KSM
From: "Alex Shi (tencent)" <[email protected]>
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 57kbytes from 2541776 bytes on latest akpm/mm-stable branch with CONFIG_DEBUG_VM enabled. It pass the KSM testing in LTP and kernel selftest.
Thanks for Matthew Wilcox and David Hildenbrand's suggestions and comments!
Alex Shi (tencent) (9):
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 and replace get_ksm_page mm/ksm: replace set_page_stable_node by folio_set_stable_node
David Hildenbrand (1):
mm/ksm: rename get_ksm_page_flags() to ksm_get_folio_flags
mm/ksm.c | 273 ++++++++++++++++++++++++++------------------------- mm/migrate.c | 2 +- 2 files changed, 139 insertions(+), 136 deletions(-)
Signature · 1 line
2.43.0