[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d03ed9d9f7d5e9d8fddca4071e044d26c55a10e2.camel@perches.com>
Date: Tue, 01 Apr 2025 20:48:44 -0700
From: Joe Perches <joe@...ches.com>
To: paulmck@...nel.org
Cc: rcu@...r.kernel.org, Joel Fernandes <joelagnelf@...dia.com>,
linux-kernel@...r.kernel.org, kernel-team@...a.com, rostedt@...dmis.org
Subject: Re: [PATCH v2 10/12] checkpatch: Deprecate srcu_read_lock_lite()
and srcu_read_unlock_lite()
On Tue, 2025-04-01 at 07:05 -0700, Paul E. McKenney wrote:
> On Mon, Mar 31, 2025 at 11:53:25PM -0700, Joe Perches wrote:
> > On Mon, 2025-03-31 at 14:03 -0700, Paul E. McKenney wrote:
> > > Uses of srcu_read_lock_lite() and srcu_read_unlock_lite() are better
> > > served by the new srcu_read_lock_fast() and srcu_read_unlock_fast() APIs.
> > > As in srcu_read_lock_lite() and srcu_read_unlock_lite() would never have
> > > happened had I thought a bit harder a few months ago. Therefore, mark
> > > them deprecated.
> >
> > Would it be better to convert the 3 existing instances?
>
> Both are needed. The point of these checkpatch.pl changes is to prevent
> other instances from being added.
If those are changed, why not remove the prototypes & functions too?
That would stop more instances being added no?
Powered by blists - more mailing lists