Re: [PATCH v3 10/17] Remove some CFS specific code from the wakeup path of RT tasks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 17 Nov 2007, Gregory Haskins wrote:

> >>> On Sat, Nov 17, 2007 at  1:21 AM, in message
> <[email protected]>, Steven Rostedt <[email protected]>
> wrote:
>
> > +	 */
> > +	if (idle_cpu(cpu) || cpu_rq(cpu)->nr_running > 1)
> > +		return cpu;
> > +
> > +	for_each_domain(cpu, sd) {
> > +		if (sd->flags & SD_WAKE_IDLE) {
> > +			cpus_and(tmp, sd->span, p->cpus_allowed);
> > +			for_each_cpu_mask(i, tmp) {
> > +				if (idle_cpu(i))
> > +					return i;
>                                                                         ^^^^^^^^^^^^^^^^
>
> Looks like some stuff that was added in 24 was inadvertently lost in the move when you merged the patches up from 23.1-rt11.  The attached patch is updated to move the new logic as well.
>

Doh!  Good catch. Will rework on Monday.

-- Steve

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux