vmalloc-add-for_each_vmap_node-helper.patch removed from -mm tree
The quilt patch titled
Subject: vmalloc: add for_each_vmap_node() helper
has been removed from the -mm tree. Its filename was
vmalloc-add-for_each_vmap_node-helper.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Uladzislau Rezki (Sony)" <[email protected]>
Subject: vmalloc: add for_each_vmap_node() helper
Date: Tue, 8 Apr 2025 17:15:47 +0200
To simplify iteration over vmap-nodes, add the for_each_vmap_node() macro that iterates over all nodes in a system. It tends to simplify the code.
---
mm/vmalloc.c | 5 +++++ 1 file changed, 5 insertions(+)
mm/vmalloc.c renamed from mm/vmalloc.c~vmalloc-add-for_each_vmap_node-helper +5 -0
@@ -900,6 +900,11 @@ static struct vmap_node *vmap_nodes = &sstatic __read_mostly unsigned int nr_vmap_nodes =1 ;static __read_mostly unsigned int vmap_zone_size =1 ; +/* A simple iterator over all vmap-nodes. */ +#define for_each_vmap_node (vn) \ + for ((vn) = &vmap_nodes[0]; \ + (vn) < &vmap_nodes[nr_vmap_nodes]; (vn)++) +static inline unsigned int addr_to_node_id (unsigned long addr) {
_
Patches currently in -mm which might be from [email protected] are
maintainers-add-myself-as-vmalloc-co-maintainer.patch