mm-vmalloc-use-free_vm_area-if-an-allocation-fails.patch removed from -mm tree
The patch titled
Subject: mm/vmalloc: use free_vm_area() if an allocation fails
has been removed from the -mm tree. Its filename was
mm-vmalloc-use-free_vm_area-if-an-allocation-fails.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: "Uladzislau Rezki (Sony)" <[email protected]>
Subject: mm/vmalloc: use free_vm_area() if an allocation fails
There is a dedicated and separate function that finds and removes a continuous kernel virtual area. As a final step it also releases the "area", a descriptor of corresponding vm_struct.
Use free_vmap_area() in the __vmalloc_node_range() instead of open coded steps which are exactly the same, to perform a cleanup.
---
mm/vmalloc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
mm/vmalloc.c renamed from mm/vmalloc.c~mm-vmalloc-use-free_vm_area-if-an-allocation-fails +1 -2
@@ -2479,8 +2479,7 @@ static void *__vmalloc_area_node(struct }if (!pages) { -remove_vm_area (area->addr); -kfree (area); +free_vm_area (area);return NULL ; }
_
Patches currently in -mm which might be from [email protected] are