Re: [GIT PULL] workqueue fixes for v4.5-rc3

From: Thomas Gleixner
Date: Thu Feb 11 2016 - 03:20:20 EST


On Wed, 10 Feb 2016, Linus Torvalds wrote:
> On Wed, Feb 10, 2016 at 9:25 AM, Tejun Heo <tj@xxxxxxxxxx> wrote:
> >
> > * Officially break local execution guarantee of unbound work items and
> > add a debug feature to flush out usages which depend on it.
>
> Btw, should we try to do this for timers too? A debug option to make a
> regular "add_timer()" explicitly schedule things on another CPU, to
> figure out the cases that really should use "add_timer_on()"?

That certainly makes sense. So we should use a common debug option to force
the 'schedule remote' machinery for all interesting subsystems instead of
creating an extra option for each.

Thanks,

tglx