Skip to content

A few cleanup patches for z3fold

Miaohe Lin linux-mm lkml 2 versions – Applied

Status from this message: [merged mm-stable] mm-z3fold-remove-unneeded-page_headless-check-in-free_handle.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 0 repliesApplied 8/8
  2. v19 patches 20 repliesSuperseded

Changes in v2 from the cover letter

collect Reviewed-by tag. Thanks Vitaly, Souptick and David for review drop mm/z3fold: remove unneeded return value of z3fold_compact_page() split the enhance of reducing atomic_ops overhead into separate patch
---

Patches in v2 All 8 applied

#Subject and filesSizeRepliesApplied
1/8mm/z3fold: declare z3fold_mount with __initmm/z3fold.c+1 -10 repliesApplied
2/8mm/z3fold: remove obsolete comment in z3fold_allocmm/z3fold.c+0 -30 repliesApplied
3/8mm/z3fold: minor clean up for z3fold_freemm/z3fold.c+4 -40 repliesApplied
4/8mm/z3fold: remove unneeded page_mapcount_reset and ClearPagePrivatemm/z3fold.c+0 -30 repliesApplied
5/8mm/z3fold: remove confusing local variable l reassignmentmm/z3fold.c+0 -10 repliesApplied
6/8mm/z3fold: move decrement of pool->pages_nr into __release_z3fold_page()mm/z3fold.c+12 -290 repliesApplied
7/8mm/z3fold: remove redundant list_del_init of zhdr->buddy in z3fold_freemm/z3fold.c+0 -30 repliesApplied
8/8mm/z3fold: remove unneeded PAGE_HEADLESS check in free_handle()mm/z3fold.c+0 -30 repliesApplied

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchVitaly Wool
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] A few cleanup patches for z3fold

Hi,
This series contains a few patches to simplify the code, remove unneeded code, fix obsolete comment and so on. More details can be found in the respective changelogs. Thanks!

---
v1->v2:
collect Reviewed-by tag. Thanks Vitaly, Souptick and David for review drop mm/z3fold: remove unneeded return value of z3fold_compact_page() split the enhance of reducing atomic_ops overhead into separate patch
---

Miaohe Lin (8):
mm/z3fold: declare z3fold_mount with __init
mm/z3fold: remove obsolete comment in z3fold_alloc mm/z3fold: minor clean up for z3fold_free
mm/z3fold: remove unneeded page_mapcount_reset and ClearPagePrivate mm/z3fold: remove confusing local variable l reassignment mm/z3fold: move decrement of pool->pages_nr into

    __release_z3fold_page()

mm/z3fold: remove redundant list_del_init of zhdr->buddy in
z3fold_free
mm/z3fold: remove unneeded PAGE_HEADLESS check in free_handle()

 mm/z3fold.c | 64 ++++++++++++++---------------------------------------
 1 file changed, 17 insertions(+), 47 deletions(-)
Signature · 1 line
2.23.0