lib-stackdepot-introduce-__stack_depot_save.patch removed from -mm tree
The patch titled
Subject: lib/stackdepot: introduce __stack_depot_save()
has been removed from the -mm tree. Its filename was
lib-stackdepot-introduce-__stack_depot_save.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Marco Elver <[email protected]>
Subject: lib/stackdepot: introduce __stack_depot_save()
Add __stack_depot_save(), which provides more fine-grained control over stackdepot's memory allocation behaviour, in case stackdepot runs out of "stack slabs".
Normally stackdepot uses alloc_pages() in case it runs out of space; passing can_alloc==false to __stack_depot_save() prohibits this, at the cost of more likely failure to record a stack trace.
---
include/linux/stackdepot.h | 4 +++ lib/stackdepot.c | 43 ++++++++++++++++++++++++++++++----- 2 files changed, 41 insertions(+), 6 deletions(-)
include/linux/stackdepot.h renamed from include/linux/stackdepot.h~lib-stackdepot-introduce-__stack_depot_save +4 -0
@@ -15,6 +15,10 @@typedef u32 depot_stack_handle_t ; +depot_stack_handle_t __stack_depot_save (unsigned long *entries, +unsigned int nr_entries, +gfp_t gfp_flags,bool can_alloc); +depot_stack_handle_t stack_depot_save (unsigned long *entries,unsigned int nr_entries,gfp_t gfp_flags);
lib/stackdepot.c renamed from lib/stackdepot.c~lib-stackdepot-introduce-__stack_depot_save +37 -6
67 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are