Skip to content

Cleanup patches of vmalloc

Baoquan He linux-mm lkml 2 versions – Applied

Status from this message: [merged mm-stable] mm-vmalloc-fix-typo-in-local-variable-name.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyApplied 4/4
  2. v15 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- In Patch 1, Uladzislau suggested a better way to improve code logic, and the NOTHING_FIT redundant checking issue naturally goes away.

- Take off the old patch 5 in v1. Instead convert to use generic ioremap code in arch codes, then rename the left ioremap_page_range(). This should be done in later patches. This is suggested by Christoph.

Patches in v2 All 4 applied

#Subject and filesSizeRepliesApplied
1/4mm/vmalloc: invoke classify_va_fit_type() in adjust_va_to_fit_type()mm/vmalloc.c+6 -171 replyApplied
2/4mm/vmalloc: remove the redundant boundary checkmm/vmalloc.c+2 -40 repliesApplied
3/4mm/vmalloc: fix typo in local variable namemm/vmalloc.c+6 -60 repliesApplied
4/4mm/vmalloc: Add code comment for find_vmap_area_exceed_addr()mm/vmalloc.c+3 -20 repliesApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchUladzislau Rezki (Sony)
1/4R-b
2/4R-b
3/4R-b
4/4R-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/4] Cleanup patches of vmalloc

Some cleanup patches found when reading vmalloc code.

v1->v2:
- In Patch 1, Uladzislau suggested a better way to improve code logic, and the NOTHING_FIT redundant checking issue naturally goes away.

- Take off the old patch 5 in v1. Instead convert to use generic ioremap code in arch codes, then rename the left ioremap_page_range(). This should be done in later patches. This is suggested by Christoph.

Baoquan He (4):
mm/vmalloc: invoke classify_va_fit_type() in adjust_va_to_fit_type() mm/vmalloc: remove the redundant boundary check mm/vmalloc: fix typo in local variable name
mm/vmalloc: Add code comment for find_vmap_area_exceed_addr()

 mm/vmalloc.c | 46 +++++++++++++++++-----------------------------
 1 file changed, 17 insertions(+), 29 deletions(-)
Signature · 1 line
2.34.1