From: Rohit Jain <rohit.k.jain@oracle.com>
To: Randy Dunlap <rdunlap@infradead.org>,
matt@codeblueprint.co.uk, peterz@infradead.org
Cc: mingo@kernel.org, dhaval.giani@oracle.com,
subhra.mazumdar@oracle.com, steven.sistare@oracle.com,
linux-kernel@vger.kernel.org
Subject: Re: [RFC] sched: Distinguish between idle_cpu calls based on desired effect
Date: Tue, 8 May 2018 10:03:02 -0700 [thread overview]
Message-ID: <d4a570b1-7e27-bb6a-3e47-a94f68b6c88e@oracle.com> (raw)
In-Reply-To: <366af1f5-9837-8a0c-3550-1a3d9a8e9de9@infradead.org>
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>
next prev parent reply other threads:[~2018-05-08 17:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-07 23:41 Rohit Jain
2018-05-08 0:15 ` Randy Dunlap
2018-05-08 17:03 ` Rohit Jain [this message]
2018-05-09 8:51 ` Peter Zijlstra
2018-05-09 16:34 ` Rohit Jain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d4a570b1-7e27-bb6a-3e47-a94f68b6c88e@oracle.com \
--to=rohit.k.jain@oracle.com \
--cc=dhaval.giani@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matt@codeblueprint.co.uk \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=rdunlap@infradead.org \
--cc=steven.sistare@oracle.com \
--cc=subhra.mazumdar@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®