[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <290aac9b-0664-404d-a457-292d69f9b22b@I-love.SAKURA.ne.jp>
Date: Thu, 27 Jun 2024 09:21:38 +0900
From: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Alexei Starovoitov <alexei.starovoitov@...il.com>,
John Ogness <john.ogness@...utronix.de>,
Alexei Starovoitov
<ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Martin KaFai Lau
<martin.lau@...ux.dev>,
Eduard Zingerman <eddyz87@...il.com>, Song Liu <song@...nel.org>,
Yonghong Song <yonghong.song@...ux.dev>,
John Fastabend <john.fastabend@...il.com>,
KP Singh <kpsingh@...nel.org>, Stanislav Fomichev <sdf@...ichev.me>,
Hao Luo <haoluo@...gle.com>, Jiri Olsa <jolsa@...nel.org>,
Petr Mladek <pmladek@...e.com>,
Sergey Senozhatsky <senozhatsky@...omium.org>,
bpf <bpf@...r.kernel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] bpf: defer printk() inside __bpf_prog_run()
On 2024/06/27 9:09, Steven Rostedt wrote:
> On Thu, 27 Jun 2024 08:08:57 +0900
> Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp> 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@pathway.suse.cz ?
>
> 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 ?
Powered by blists - more mailing lists