[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d4a570b1-7e27-bb6a-3e47-a94f68b6c88e@oracle.com>
Date: Tue, 8 May 2018 10:03:02 -0700
From: Rohit Jain <rohit.k.jain@...cle.com>
To: Randy Dunlap <rdunlap@...radead.org>, matt@...eblueprint.co.uk,
peterz@...radead.org
Cc: mingo@...nel.org, dhaval.giani@...cle.com,
subhra.mazumdar@...cle.com, steven.sistare@...cle.com,
linux-kernel@...r.kernel.org
Subject: Re: [RFC] sched: Distinguish between idle_cpu calls based on desired
effect
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>
Powered by blists - more mailing lists