Re: [PATCH v3] ring-buffer: Remove 32bit timestamp logic

From: Steven Rostedt
Date: Thu Dec 14 2023 - 15:27:01 EST


On Thu, 14 Dec 2023 15:19:11 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> For this issue of the 64bit cmpxchg, is there any config that works for any
> arch that do not have a safe 64-bit cmpxchg? At least for 486, is the
> second half of the if condition reasonable?
>
> if (IS_ENABLED(CONFIG_X86_32) && !IS_ENABLED(CONFIG_X86_CMPXCHG64)) {
> if (unlikely(in_nmi()))
> return NULL;
> }

Ignore this, I'm now reading your other email. I'll have more questions there.

-- Steve