fork-use-__vmalloc_node-for-stack-allocation.patch removed from -mm tree
The quilt patch titled
Subject: fork: use __vmalloc_node() for stack allocation
has been removed from the -mm tree. Its filename was
fork-use-__vmalloc_node-for-stack-allocation.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: fork: use __vmalloc_node() for stack allocation
Date: Mon, 17 Mar 2025 17:36:14 +0100
Replace __vmalloc_node_range() by __vmalloc_node(). The last variant requires less parameters and it uses exactly the same arguments which are partly now hidden inside __vmalloc_node().
This change does not change any functionality. It makes the code a bit simpler.
---
kernel/fork.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
kernel/fork.c renamed from kernel/fork.c~fork-use-__vmalloc_node-for-stack-allocation +2 -4
@@ -311,11 +311,9 @@ static int alloc_thread_stack_node(struc* so memcg accounting is performed manually on assigning/releasing * stacks to tasks. Drop __GFP_ACCOUNT. */ - stack =__vmalloc_node_range (THREAD_SIZE ,THREAD_ALIGN , -VMALLOC_START ,VMALLOC_END , + stack =__vmalloc_node (THREAD_SIZE ,THREAD_ALIGN ,THREADINFO_GFP & ~__GFP_ACCOUNT, -PAGE_KERNEL , -0 , node,__builtin_return_address (0 )); + node,__builtin_return_address (0 ));if (!stack)return -ENOMEM ;
_
Patches currently in -mm which might be from [email protected] are