Thread (2 messages) 2 messages, 2 authors, 2020-09-02

Re: [PATCH v3 2/6] workqueue: kasan: record workqueue stack

From: Tejun Heo <tj@kernel.org>
Date: 2020-09-02 14:53:35
Also in: linux-mediatek, linux-mm, lkml

On Tue, Aug 25, 2020 at 09:58:33AM +0800, Walter Wu wrote:
Records the last two enqueuing work call stacks in order to print them
in KASAN report. It is useful for programmers to solve use-after-free
or double-free memory workqueue issue.

For workqueue it has turned out to be useful to record the enqueuing
work call stacks. Because user can see KASAN report to determine
whether it is root cause. They don't need to enable debugobjects,
but they have a chance to find out the root cause.

Signed-off-by: Walter Wu <redacted>
Suggested-by: Marco Elver <elver@google.com>
Cc: Andrey Ryabinin <redacted>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>

Thanks.

-- 
tejun

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help