[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20240730090221.7fea5eaedddce5de4e43914a@kernel.org>
Date: Tue, 30 Jul 2024 09:02:21 +0900
From: Masami Hiramatsu (Google) <mhiramat@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: LKML <linux-kernel@...r.kernel.org>, Linux trace kernel
<linux-trace-kernel@...r.kernel.org>, Mathieu Desnoyers
<mathieu.desnoyers@...icios.com>
Subject: Re: [PATCH] tracing: Use refcount for trace_event_file reference
counter
On Mon, 29 Jul 2024 19:02:41 -0400
Steven Rostedt <rostedt@...dmis.org> wrote:
> On Mon, 29 Jul 2024 23:49:24 +0900
> Masami Hiramatsu (Google) <mhiramat@...nel.org> wrote:
>
> > On Fri, 26 Jul 2024 14:42:08 -0400
> > Steven Rostedt <rostedt@...dmis.org> wrote:
> >
> > > From: Steven Rostedt <rostedt@...dmis.org>
> > >
> > > Instead of using an atomic counter for the trace_event_file reference
> > > counter, use the refcount interface. It has various checks to make sure
> > > the reference counting is correct, and will warn if it detects an error
> > > (like refcount_inc() on '0').
> > >
> > > Signed-off-by: Steven Rostedt (Google) <rostedt@...dmis.org>
> >
> > Looks good to me.
> >
> > Masami Hiramatsu (Google) <mhiramat@...nel.org>
>
> Is that an ack or a review? ;-)
It was Ack,
Acked-by: Masami Hiramatsu (Google) <mhiramat@...nel.org>
Sorry about that. I might be too sleep.
>
> -- Steve
>
--
Masami Hiramatsu (Google) <mhiramat@...nel.org>
Powered by blists - more mailing lists