lkml.org 
[lkml]   [2023]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 6.3-rc2
Le Mon, Mar 13, 2023 at 04:17:06PM -0700, Linus Torvalds a écrit :
> On Mon, Mar 13, 2023 at 4:11 PM Frederic Weisbecker <frederic@kernel.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?

Right but these two values are always modified within the same IRQs
disabled section.

\
 
 \ /
  Last update: 2023-03-27 00:57    [W:0.101 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site