Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] mm/vmalloc: assorted cleanups and minor fixes
@ 2026-12-03  1:22 Ye Liu
  2026-12-03  1:22 ` [PATCH 1/8] mm/vmalloc: use ALIGN_DOWN for vmalloc end alignment Ye Liu
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Ye Liu @ 2026-12-03  1:22 UTC (permalink / raw)
  To: Andrew Morton, Uladzislau Rezki; +Cc: linux-mm, Ye Liu, Ye Liu

This series collects a set of small cleanups and minor fixes to
mm/vmalloc.c, mostly around the vmap area pool management and the
free-space initialization paths:

  1. use ALIGN_DOWN() instead of masking with ~(align - 1)
  2. extract a pcpu_release_va() helper to avoid duplicated KASAN
     release code
  3. fix a misleading pr_warn() in alloc_vmap_area()
  4. simplify the is_vn_id_valid() predicate
  5. move the pool length update under pool_lock in decay_va_pool_node()
  6. report the node count when vmap_init_nodes() falls back to a
     single node
  7. drop the double negation in vmap_insert_free_area()
  8. compare addresses directly in vmap_init_free_space()

No functional changes intended.

Signed-off-by: Ye Liu <ye.liu@linux.dev>
---
Ye Liu (8):
      mm/vmalloc: use ALIGN_DOWN for vmalloc end alignment
      mm/vmalloc: extract pcpu_release_va helper
      mm/vmalloc: fix misleading pr_warn in alloc_vmap_area
      mm/vmalloc: simplify is_vn_id_valid predicate
      mm/vmalloc: move pool length update under pool_lock in decay_va_pool_node()
      mm/vmalloc: report node count when falling back to a single node
      mm/vmalloc: drop the double negation in vmap_insert_free_area()
      mm/vmalloc: compare addresses directly in vmap_init_free_space()

 mm/vmalloc.c | 84 +++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 43 insertions(+), 41 deletions(-)
---
base-commit: d138596e9f822033490b2e577ec2ea64f2aa246c
change-id: 20261202-vmalloc_cleanup_1-b9fcdf978658

Best regards,
-- 
Ye Liu <ye.liu@linux.dev>



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-12-03  1:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03  1:22 [PATCH 0/8] mm/vmalloc: assorted cleanups and minor fixes Ye Liu
2026-12-03  1:22 ` [PATCH 1/8] mm/vmalloc: use ALIGN_DOWN for vmalloc end alignment Ye Liu
2026-12-03  1:22 ` [PATCH 2/8] mm/vmalloc: extract pcpu_release_va helper Ye Liu
2026-12-03  1:22 ` [PATCH 3/8] mm/vmalloc: fix misleading pr_warn in alloc_vmap_area Ye Liu
2026-12-03  1:22 ` [PATCH 4/8] mm/vmalloc: simplify is_vn_id_valid predicate Ye Liu
2026-12-03  1:22 ` [PATCH 5/8] mm/vmalloc: move pool length update under pool_lock in decay_va_pool_node() Ye Liu
2026-12-03  1:22 ` [PATCH 6/8] mm/vmalloc: report node count when falling back to a single node Ye Liu
2026-12-03  1:22 ` [PATCH 7/8] mm/vmalloc: drop the double negation in vmap_insert_free_area() Ye Liu
2026-12-03  1:22 ` [PATCH 8/8] mm/vmalloc: compare addresses directly in vmap_init_free_space() Ye Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox