Re: [PATCH v2] ring-buffer: Limit time with disabled interrupts in rb_check_pages()

From: Steven Rostedt
Date: Thu Jul 11 2024 - 10:08:54 EST


On Thu, 4 Jul 2024 13:03:47 +0200
Petr Pavlu <petr.pavlu@xxxxxxxx> wrote:

> > I'm dumb. What's an "era"?
>
> I meant it as a calendar era or epoch. The idea was to hint this is
> a number that identifies some structural state of the pages list. Maybe
> pages_gen ("generation") or another name would be better?

Ah, out of context I thought it was short for something. Perhaps just use
"cnt" with a comment, as that can be generic enough for what it is.

Thanks,

-- Steve