[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM9d7cg_PoRu=6u5WYvHeyPLv0_-70_2TevrnPP6Bi=-oxX=eg@mail.gmail.com>
Date: Wed, 21 Jun 2023 10:27:49 -0700
From: Namhyung Kim <namhyung@...nel.org>
To: Ian Rogers <irogers@...gle.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
Adrian Hunter <adrian.hunter@...el.com>,
Yuan Can <yuancan@...wei.com>,
Kan Liang <kan.liang@...ux.intel.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
Huacai Chen <chenhuacai@...nel.org>,
Andres Freund <andres@...razel.de>,
linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org
Subject: Re: [PATCH v2 1/2] perf sharded_mutex: Introduce sharded_mutex
On Tue, Jun 20, 2023 at 3:15 PM Namhyung Kim <namhyung@...nel.org> wrote:
>
> On Wed, Jun 14, 2023 at 9:07 PM Ian Rogers <irogers@...gle.com> wrote:
> >
> > Per object mutexes may come with significant memory cost while a
> > global mutex can suffer from unnecessary contention. A sharded mutex
> > is a compromise where objects are hashed and then a particular mutex
> > for the hash of the object used. Contention can be controlled by the
> > number of shards.
> >
> > Signed-off-by: Ian Rogers <irogers@...gle.com>
>
> Acked-by: Namhyung Kim <namhyung@...nel.org>
Applied both patches to perf-tools-next, thanks!
Powered by blists - more mailing lists