lkml.org 
[lkml]   [2017]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [v4.14-rt][report] arm: run: stress-ng --class os --all 0 -t 5m
On 2017-12-19 10:28:39 [-0500], Steven Rostedt wrote:
> On Tue, 19 Dec 2017 16:04:18 +0100
> Sebastian Andrzej Siewior <bigeasy@linutronix.de> wrote:
>
> > >
> > > The above just seems wrong. local_irq_disable() should imply
> > > local_bh_disable(), as it doesn't let softirqs run either.
> >
> > Where does local_irq_disable() imply this?
>
> If it doesn't explicitly do so, it probably should. How can we have a
> softirq execute when irqs are disabled?

There are not. With local_bh_disable() the softirq will run on
local_bh_enable(). Without it (and with or without local_irq_disable())
the softirq won't run but wakeup the ksoftirq thread. We can't do the
wake while holding the hrtimer lock. This is not RT specific.

> -- Steve

Sebastian

\
 
 \ /
  Last update: 2017-12-19 16:34    [W:0.113 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site