lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ