[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM9d7cgzpyp03y3w009upnftK=24r8NtQFZB0t23pnc1PwyJug@mail.gmail.com>
Date: Tue, 4 Jan 2022 11:33:38 -0800
From: Namhyung Kim <namhyung@...nel.org>
To: Ryan Cai <ycaibb@...il.com>
Cc: Adrian Hunter <adrian.hunter@...el.com>,
Peter Zijlstra <peterz@...radead.org>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
linux-kernel <linux-kernel@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: Lock problems in linux/tools/perf/util/dso.c
On Wed, Dec 29, 2021 at 6:42 PM Ryan Cai <ycaibb@...il.com> wrote:
>
> Hi, Namhyung,
>
> 1. Indeed, I got wrong here.
> 2. Yes, the branch should be if (pthread_mutex_lock(&dso__data_open_lock))
> instead of if (pthread_mutex_lock(&dso__data_open_lock) < 0).
>
> Could I send a patch?
Sure!
Thanks,
Namhyung
Powered by blists - more mailing lists