Re: [PATCH RT] time/hrtimer: disable that mode check

From: Steven Rostedt
Date: Wed Dec 13 2017 - 11:50:07 EST


On Wed, 13 Dec 2017 15:22:57 +0100
Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> wrote:

> On 2017-12-13 15:19:19 [+0100], Peter Zijlstra wrote:
> > On Wed, Dec 13, 2017 at 02:58:35PM +0100, Sebastian Andrzej Siewior wrote:
> > > On -RT we push all timers by default into the soft-mode. The
> > > "start/update" code does not use that SOFT bit so we always see that
> > > warning.
> >
> > Not _all_ timers I hope? There's a few the scheduler and perf use that
> > really should stay in hardirq context.
> That is correct, a few ones remain in the hardirq context.
>

As Sebastian said, by default they are in SOFT mode. I'm assuming the
ones that are not have some logic to make sure they are not in SOFT
mode.

-- Steve