From: Ye Liu When the multi-node array allocation fails, vmap_init_nodes() falls back to a single vmap node. Report the requested node count and the fallback, and downgrade the message from error to warning since the kernel continues to function normally. Signed-off-by: Ye Liu --- mm/vmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index e24d04d2f4a0..03cce37466d1 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -5701,7 +5701,7 @@ static void vmap_init_nodes(void) nr_vmap_nodes = n; vmap_nodes = vn; } else { - pr_err("Failed to allocate an array. Disable a node layer\n"); + pr_warn("Failed to allocate %d vmap nodes, falling back to one node\n", n); } } #endif -- 2.25.1