Re: [PATCH] bpf: defer printk() inside __bpf_prog_run()
From: Tetsuo Handa
Date: Wed Jun 26 2024 - 20:21:47 EST
On 2024/06/27 9:09, Steven Rostedt wrote:
> On Thu, 27 Jun 2024 08:08:57 +0900
> Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote:
>
>> How do you respond to Petr Mladek's comment
>>
>> Yeah, converting printk() into printk_deferred() or using
>> printk_deferred_enter() around particular code paths is a whac-a-mole
>> game.
>>
>> at https://lkml.kernel.org/r/ZnvVQ5cs9F0b7paI@xxxxxxxxxxxxxxx ?
>
> I agree with that. And your solution is no different than whack-a-mole.
> It's just that you used a bigger hammer to wack the mole.
What change do you propose?
https://syzkaller.appspot.com/text?tag=Patch&x=121c92fe180000 ?