Re: [PATCH 3/3] ring_buffer: Use try_cmpxchg instead of cmpxchg

From: Steven Rostedt
Date: Wed Mar 01 2023 - 13:28:50 EST


On Wed, 1 Mar 2023 13:18:31 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> I am leaning to just taking this, and hope that it doesn't cause problems.
> And I would really love to change all the local_cmpxchg() to
> local_try_cmpxchg(). Hmm, I wonder how much of an effort that would be to
> implement those?

I see that you were the one that added the generic support for
try_cmpxchg64() and messed with all those generated files. Care to add one
for local_try_cmpxchg() ;-)

-- Steve