Skip to content

__vmalloc()/kvmalloc() and no-block support(v4)

Uladzislau Rezki (Sony) linux-mm lkml 4 versions – Applied

Status from this message: [merged mm-stable] mm-kvmalloc-add-non-blocking-support-for-vmalloc.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest10 patches 3 repliesApplied 10/10
  2. v310 patches 9 repliesSuperseded
  3. v210 patches 14 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches26 repliesSuperseded

Changes in v4 from the cover letter

- collected Acked-by/Reviewed-by tags;
- Fixed "Warning: mm/vmalloc.c:3889 bad line:" reported by robot.

Patches in v4 All 10 applied

#Subject and filesSizeRepliesApplied
1/10lib/test_vmalloc: add no_block_alloc_test caselib/test_vmalloc.c+26 -00 repliesApplied
2/10lib/test_vmalloc: Remove xfail condition checklib/test_vmalloc.c+1 -10 repliesApplied
3/10mm/vmalloc: Support non-blocking GFP flags in alloc_vmap_area()mm/vmalloc.c+16 -40 repliesApplied
4/10mm/vmalloc: Defer freeing partly initialized vm_structinclude/linux/vmalloc.h mm/vmalloc.c+36 -40 repliesApplied
5/10mm/vmalloc: Handle non-blocking GFP in __vmalloc_area_node()include/linux/vmalloc.h mm/vmalloc.c+44 -100 repliesApplied
6/10mm/kasan: Support non-blocking GFP in kasan_populate_vmalloc()mm/kasan/shadow.c+2 -100 repliesApplied
7/10kmsan: Remove hard-coded GFP_KERNEL flagsinclude/linux/kmsan.h mm/internal.h mm/kmsan/shadow.c +2 more+27 -171 replyApplied
8/10mm: Skip might_alloc() warnings when PF_MEMALLOC is setinclude/linux/sched/mm.h+3 -00 repliesApplied
9/10mm/vmalloc: Update __vmalloc_node_range() documentationmm/vmalloc.c+11 -100 repliesApplied
10/10mm: kvmalloc: Add non-blocking support for vmallocmm/slub.c+13 -60 repliesApplied

Reviews trailers per patch

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

PatchMichal HockoBaoquan HeAndrey RyabininAlexander Potapenko
1/10
2/10
3/10A-b R-b
4/10A-b R-b
5/10A-b R-b
6/10R-b R-b
7/10R-b
8/10A-b R-b
9/10A-b
10/10A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 00/10] __vmalloc()/kvmalloc() and no-block support(v4)

This is v4. It is based on the next-20250929 branch. I am pretty done with it, if no objections, appreciate if it is taken.

https://lore.kernel.org/all/[email protected]/
https://lkml.org/lkml/2025/8/7/332
https://lore.kernel.org/all/[email protected]/

v3 -> v4:
- collected Acked-by/Reviewed-by tags;
- Fixed "Warning: mm/vmalloc.c:3889 bad line:" reported by robot.

Uladzislau Rezki (Sony) (10):
lib/test_vmalloc: add no_block_alloc_test case lib/test_vmalloc: Remove xfail condition check mm/vmalloc: Support non-blocking GFP flags in alloc_vmap_area() mm/vmalloc: Defer freeing partly initialized vm_struct mm/vmalloc: Handle non-blocking GFP in __vmalloc_area_node() mm/kasan: Support non-blocking GFP in kasan_populate_vmalloc()
kmsan: Remove hard-coded GFP_KERNEL flags
mm: Skip might_alloc() warnings when PF_MEMALLOC is set mm/vmalloc: Update __vmalloc_node_range() documentation
mm: kvmalloc: Add non-blocking support for vmalloc

 include/linux/kmsan.h    |   6 +-
 include/linux/sched/mm.h |   3 +
 include/linux/vmalloc.h  |   8 +-
 lib/test_vmalloc.c       |  28 ++++++-
 mm/internal.h            |   4 +-
 mm/kasan/shadow.c        |  12 +--
 mm/kmsan/shadow.c        |   6 +-
 mm/percpu-vm.c           |   2 +-
 mm/slub.c                |  19 +++--
 mm/vmalloc.c             | 153 ++++++++++++++++++++++++++++++---------
 10 files changed, 179 insertions(+), 62 deletions(-)
Signature · 1 line
2.47.3