mbox series

[v2,0/8] A few cleanup patches for z3fold

Message ID 20220308134311.59086-1-linmiaohe@huawei.com (mailing list archive)
Headers show
Series A few cleanup patches for z3fold | expand

Message

Miaohe Lin March 8, 2022, 1:43 p.m. UTC
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(-)