[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=whwQxk12jfe28DV4-1-d9np1hKFtTy-ua=F4EcT8jcOOA@mail.gmail.com>
Date: Mon, 13 Mar 2023 16:17:06 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Frederic Weisbecker <frederic@...nel.org>
Cc: Guenter Roeck <linux@...ck-us.net>,
"Paul E. McKenney" <paulmck@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Linux 6.3-rc2
On Mon, Mar 13, 2023 at 4:11 PM Frederic Weisbecker <frederic@...nel.org> wrote:
>
> So the hardirq interrupted some code that has softirqs disabled (or
> servicing) from the preempt mask POV but not from lockdep POV.
.. but those are two different counters, so isn't that *always* racy?
IOW, one counter being updated before the other...
IOW, isn't this *why* that check isn't supposed to ever trigger at all
from hard-irq context?
Linus
Powered by blists - more mailing lists