Re: [PATCH v2 6/6] workqueue, kasan: avoid alloc_pages() when recording stack

From: Tejun Heo
Date: Mon Sep 13 2021 - 13:03:12 EST


On Mon, Sep 13, 2021 at 01:26:09PM +0200, Marco Elver wrote:
> While there is an increased risk of failing to insert the stack trace,
> this is typically unlikely, especially if the same insertion had already
> succeeded previously (stack depot hit). For frequent calls from the same
> location, it therefore becomes extremely unlikely that
> kasan_record_aux_stack_noalloc() fails.
>
> Link: https://lkml.kernel.org/r/20210902200134.25603-1-skhan@xxxxxxxxxxxxxxxxxxx
> Reported-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Marco Elver <elver@xxxxxxxxxx>
> Tested-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>
> Acked-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Please feel free to route with the rest of series or if you want me to take
these through the wq tree, please let me know.

Thanks.

--
tejun