On Thu, 2016-09-22 at 20:56 +0200, Thomas Gleixner wrote:
> On Thu, 22 Sep 2016, Tim Chen wrote:
> > On Wed, 2016-09-21 at 22:30 +0200, Rafael J. Wysocki wrote:
> > >
> > > My current understanding is that we need to rebuild sched domains
> > > after setting the priorities,
> > No, that's not true. We need to rebuild the sched domains only
> > when the sched domain flags are changed, not when we are changing
> > the priorities. Only the sched domain flag is a property of
> > the sched domain. CPU priority values are not part of sched domain.
> > Morten had similar question about whether we need to rebuild sched domain
> > when we change cpu priorities when we first post the patches.
> > Peter has explained that it wasn't necessary.
> > http://lkml.iu.edu/hypermail/linux/kernel/1608.3/01753.html
> And why is there no explanation in form of a comment in the code?
Sure, I'll add a comment.