Skip to contentSkip to conversation

vmalloc-export-vrealloc_node_align_noprof.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jan 27

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: vmalloc: export vrealloc_node_align_noprof
has been removed from the -mm tree. Its filename was
vmalloc-export-vrealloc_node_align_noprof.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: Alice Ryhl <[email protected]>
Subject: vmalloc: export vrealloc_node_align_noprof
Date: Wed, 07 Jan 2026 15:16:42 +0000

This symbol is used from the Nova driver, so it needs to be exported to avoid a build failure when building Nova as a module.

ERROR: modpost: "vrealloc_node_align_noprof" [drivers/gpu/nova-core/nova_core.ko] undefined!
ERROR: modpost: "vrealloc_node_align_noprof" [samples/rust/rust_dma.ko] undefined!

This error is only triggered if helpers are inlined into Rust. Otherwise, Nova will call the exported symbol

rust_helper_vrealloc_node_align()

instead. There is no Fixes: tag as that feature is still WIP.

I used non-GPL EXPORT_SYMBOL to match the rest of the file, but let me know if I should use EXPORT_SYMBOL_GPL.

---

 mm/vmalloc.c |    1 +
 1 file changed, 1 insertion(+)
mm/vmalloc.c renamed from mm/vmalloc.c~vmalloc-export-vrealloc_node_align_noprof +1 -0
@@ -4370,6 +4370,7 @@ need_realloc:
 
 	return n;
 }
+EXPORT_SYMBOL(vrealloc_node_align_noprof);
 
 #if defined(CONFIG_64BIT) && defined(CONFIG_ZONE_DMA32)
 #define GFP_VMALLOC32 (GFP_DMA32 | GFP_KERNEL)

_

Patches currently in -mm which might be from [email protected] are

maple_tree-update-mas_next-docs.patch