[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wgiiqmy1jE0i9EYkCiE+KNHDTJQVktczZgyJwqL-okRgA@mail.gmail.com>
Date: Wed, 15 Sep 2021 11:41:42 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Frederic Weisbecker <frederic@...nel.org>
Cc: "Alan J. Wylie" <alan@...ie.me.uk>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
stable <stable@...r.kernel.org>
Subject: Re: Regression in posix-cpu-timers.c (was Re: Linux 5.14.4)
On Wed, Sep 15, 2021 at 11:31 AM Frederic Weisbecker
<frederic@...nel.org> wrote:
>
> Right, this should fix the issue: https://lore.kernel.org/lkml/20210913145332.232023-1-frederic@kernel.org/
Hmm.
Can you explain why the fix isn't just to revert that original commit?
It looks like the only real difference is that now it does *extra
work* with all that tick_nohz_dep_set_signal().
Isn't it easier to just leave any old timer ticking, and not do the
extra work until it expires and you notice "ok, it's not important"?
IOW, that original commit explicitly broke the only case it changed -
the timer being disabled. So why isn't it just reverted? What is it
that kleeps us wanting to do the extra work for the disabled timer
case?
As long as it's fixed, I'm all ok with this, but I'm looking at the
commit message for that broken commit, and I'm looking at the commit
message for the fix, and I'm not seeing an actual _explanation_ for
this churn.
Linus
Powered by blists - more mailing lists