Re: [GIT PULL] scheduler fixes

Ingo Molnar
2011-04-04T19:19:55Z

* Linus Torvalds <torvalds@linux-foundation.org> wrote:

> So I pulled this, but I think this:
>
> On Sat, Apr 2, 2011 at 3:31 AM, Ingo Molnar <mingo@elte.hu> wrote:
> >
> > -               if (interval > HZ*NR_CPUS/10)
> > -                       interval = HZ*NR_CPUS/10;
> > +               if (interval > HZ*num_online_cpus()/10)
> > +                       interval = HZ*num_online_cpus()/10;
>
> is a horrible patch.

Indeed, will fix it.

Thanks,

Ingo