Skip to content

mm/hugetlb: code refine and simplification

Wei Yang linux-mm lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 4 repliesIn review 1 of 7 applied
  2. v37 patches 2 repliesSuperseded 6 of 7 applied
  3. v27 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v110 patches34 repliesSuperseded

Changes in v4 from the cover letter

* fix a logic error for patch 7, thanks Mike

Patches in v4 1 of 7 applied

#Subject and filesSizeRepliesApplied
1/7mm/hugetlb: not necessary to coalesce regions recursivelymm/hugetlb.c+1 -50 replies
2/7mm/hugetlb: remove VM_BUG_ON(!nrg) in get_file_region_entry_from_cache()mm/hugetlb.c+0 -10 replies
3/7mm/hugetlb: use list_splice to merge two list at oncemm/hugetlb.c+2 -50 replies
4/7mm/hugetlb: count file_region to be added when regions_needed != NULLmm/hugetlb.c+17 -160 replies
5/7mm/hugetlb: a page from buddy is not on any listmm/hugetlb.c+1 -13 replies
6/7mm/hugetlb: narrow the hugetlb_lock protection area during preparing huge pagemm/hugetlb.c+1 -10 replies
7/7mm/hugetlb: take the free hpage during the iteration directlymm/hugetlb.c+9 -131 replyApplied

Reviews trailers per patch

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

PatchBaoquan HeMike Kravetz
1/7R-b R-b
2/7R-b
3/7R-b R-b
4/7R-b R-b
5/7R-b R-b
6/7R-b R-b
7/7R-b

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

Read the v4 thread

Cover letter [Patch v4 0/7] mm/hugetlb: code refine and simplification

Following are some cleanup for hugetlb.

Simple test with tools/testing/selftests/vm/map_hugetlb pass.

v4:
* fix a logic error for patch 7, thanks Mike
v3:
* rebase on v5.9-rc2 which adjust the last patch a little
v2:
* drop 5/6/10 since similar patches are merged or under review.
* adjust 2 based on comment from Mike Kravetz

Wei Yang (7):
mm/hugetlb: not necessary to coalesce regions recursively mm/hugetlb: remove VM_BUG_ON(!nrg) in
get_file_region_entry_from_cache()
mm/hugetlb: use list_splice to merge two list at once mm/hugetlb: count file_region to be added when regions_needed != NULL mm/hugetlb: a page from buddy is not on any list mm/hugetlb: narrow the hugetlb_lock protection area during preparing
huge page
mm/hugetlb: take the free hpage during the iteration directly

 mm/hugetlb.c | 73 ++++++++++++++++++++++------------------------------
 1 file changed, 31 insertions(+), 42 deletions(-)
Signature · 1 line
2.20.1 (Apple Git-117)