kasan-print-workqueue-stack.patch removed from -mm tree
The patch titled
Subject: kasan: print workqueue stack
has been removed from the -mm tree. Its filename was
kasan-print-workqueue-stack.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Walter Wu <[email protected]>
Subject: kasan: print workqueue stack
The aux_stack[2] is reused to record the call_rcu() call stack and enqueuing work call stacks. So that we need to change the auxiliary stack title for common title, print them in KASAN report.
Signed-off-by Walter Wu <[email protected]>
Suggested-by Marco Elver <[email protected]>
Acked-by Marco Elver <[email protected]>
Reviewed-by Dmitry Vyukov <[email protected]>
Reviewed-by Andrey Konovalov <[email protected]>
Cc Andrey Ryabinin <[email protected]>
Cc Alexander Potapenko <[email protected]>
Cc Jonathan Corbet <[email protected]>
Cc Lai Jiangshan <[email protected]>
Cc Matthias Brugger <[email protected]>
Cc Tejun Heo <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/kasan/generic.c | 3 --- mm/kasan/report.c | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-)
mm/kasan/generic.c renamed from mm/kasan/generic.c~kasan-print-workqueue-stack +0 -3
@@ -339,9 +339,6 @@ void kasan_record_aux_stack(void *addr) object =nearest_obj (cache, page, addr); alloc_info =get_alloc_info (cache, object); -/* -* record the last two call_rcu() call stacks. -*/ alloc_info->aux_stack[1 ] = alloc_info->aux_stack[0 ]; alloc_info->aux_stack[0 ] =kasan_save_stack (GFP_NOWAIT ); }
mm/kasan/report.c renamed from mm/kasan/report.c~kasan-print-workqueue-stack +2 -2
@@ -185,12 +185,12 @@ static void describe_object(struct kmem_#ifdef CONFIG_KASAN_GENERIC if (alloc_info->aux_stack[0 ]) { -pr_err ("Last call_rcu():\n" ); +pr_err ("Last potentially related work creation:\n" );print_stack (alloc_info->aux_stack[0 ]);pr_err ("\n" ); }if (alloc_info->aux_stack[1 ]) { -pr_err ("Second to last call_rcu():\n" ); +pr_err ("Second to last potentially related work creation:\n" );print_stack (alloc_info->aux_stack[1 ]);pr_err ("\n" ); }
_
Patches currently in -mm which might be from [email protected] are