On 02/17/2014 07:24 PM, Peter Zijlstra wrote:
[snip]
>> Since idle_balance() won't happen in the loop, may be we could use:
>>
>>      if p && p->sched_class == class
>>              return p
>>
>> in here, let it fall down into the loop if p is idle, since that means
>> we got RT/DL and will do this anyway, could save two jump work may be?
>> (and may could combine some code below if so?)
> 
> Maybe; we'd have to look at whatever GCC does with it. 

Exactly, alien code appear when in binary...

Regards,
Michael Wang

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

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

Reply via email to