lkml.org 
[lkml]   [2018]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] sched: Distinguish between idle_cpu calls based on desired effect
From
Date
Hi Randy,


On 05/07/2018 05:15 PM, Randy Dunlap wrote:
> On 05/07/2018 04:41 PM, Rohit Jain wrote:

<snip>

>> diff --git a/kernel/sched/core.c b/kernel/sched/core.c
>> index 71bdb86..171e160 100644
>> --- a/kernel/sched/core.c
>> +++ b/kernel/sched/core.c
>> @@ -4028,6 +4028,20 @@ int idle_cpu(int cpu)
>> return 0;
>> #endif
>>
>> + return 1;
>> +}
>> +
>> +/**
>> + * idle_cpu - is a given CPU idle for enqueuing work.
> * available_idle_cpu -

Thanks for the catch!

Will fix it in the next version.

Thanks,
Rohit

<snip>

\
 
 \ /
  Last update: 2018-05-08 19:04    [W:0.088 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site