mm-vmalloc-use-trace_alloc_vmap_area-event.patch removed from -mm tree
The quilt patch titled
Subject: mm: vmalloc: use trace_alloc_vmap_area event
has been removed from the -mm tree. Its filename was
mm-vmalloc-use-trace_alloc_vmap_area-event.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: mm: vmalloc: use trace_alloc_vmap_area event
Date: Tue, 18 Oct 2022 20:10:50 +0200
This is for debug purpose and is called when an allocation attempt occurs. This event gives some information about:
- start address of allocated area;
- size that is requested;
- alignment that is required;
- vstart/vend restriction;
- if an allocation fails.
---
mm/vmalloc.c | 5 +++++ 1 file changed, 5 insertions(+)
mm/vmalloc.c renamed from mm/vmalloc.c~mm-vmalloc-use-trace_alloc_vmap_area-event +5 -0
@@ -43,6 +43,9 @@#include <asm/tlbflush.h> #include <asm/shmparam.h> +#define CREATE_TRACE_POINTS +#include <trace/events/vmalloc.h> +#include "internal.h" #include "pgalloc-track.h"
@@ -1620,6 +1623,8 @@ retry: size, align, vstart, vend);spin_unlock (&free_vmap_area_lock); +trace_alloc_vmap_area (addr, size, align, vstart, vend, addr == vend); +/* * If an allocation fails, the "vend" address is * returned. Therefore trigger the overflow path.
_
Patches currently in -mm which might be from [email protected] are