Re: [PATCH 2/3] clear_warn_once: bind a timer to written reset value

From: Steven Rostedt
Date: Mon Nov 30 2020 - 22:37:47 EST


On Mon, 30 Nov 2020 12:17:59 -0500
Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> wrote:

> > Anyway, would there ever be a need to have it cleared in less than 1 minute
> > intervals?
>
> I don't think so - as I said in another follow up from last week:
>
> https://lore.kernel.org/lkml/20201127174316.GA11748@xxxxxxxxxxxxx/
>
> I'd also indicated in the above that I'd be fine with adding a minimum
> of 1m if people feel better about that. Also maybe moving the units to
> minutes instead of seconds helps implicitly convey the intended use
> better -- i.e. "don't be smashing on this every second" -- maybe that
> was your point as well - and I'd agree with that.

That was my second point. That is, why would anyone care about a
resolution in seconds for this?

-- Steve