Messages in this thread | | | Date | Wed, 2 Sep 2020 10:52:41 -0400 | From | Tejun Heo <> | Subject | Re: [PATCH v3 2/6] workqueue: kasan: record workqueue stack |
| |
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 <walter-zh.wu@mediatek.com> > Suggested-by: Marco Elver <elver@google.com> > Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> > 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
| |