Re: [PATCH v1] trace: Fix race in trace_open and buffer resize call

From: Gaurav Kohli
Date: Sat Jan 23 2021 - 11:36:30 EST




On 1/23/2021 4:19 PM, Denis Efremov wrote:


On 1/22/21 5:37 PM, Steven Rostedt wrote:
On Fri, 22 Jan 2021 16:55:29 +0530
Gaurav Kohli <gkohli@xxxxxxxxxxxxxx> wrote:

That could possibly work.

Yes, this will work, As i have tested similar patch for internal testing
for kernel branches like 5.4/4.19.

Can you or Denis send a proper patch for Greg to backport? I'll review it,
test it and give my ack to it, so Greg can take it without issue.


I can prepare the patch, but it will be compile-tested only from my side. Honestly,
I think it's better when the patch and its backports have the same author and
commit message. And I can't test the fix by myself as I don't know how to reproduce
conditions for the bug. I think it's better if Gaurav will prepare this backport,
unless he have reasons for me to do it or maybe just don't have enough time nowadays.
Gaurav, if you want to somehow mention me you add my Reported-by:

Thanks,
Denis


Sure I will do, I have never posted on backport branches. Let me check and post it.

--
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center,
Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.