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] [day] [month] [year] [list]
Date:	Tue, 5 Jul 2016 15:47:47 +0300
From:	Konstantin Khlebnikov <khlebnikov@...dex-team.ru>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org,
	Sasha Levin <sasha.levin@...cle.com>,
	Yao Dongdong <yaodongdong@...wei.com>
Subject: Re: [PATCH] sched/core: really pretend early bootup to be a normal
 task

On 05.07.2016 15:41, Peter Zijlstra wrote:
> On Tue, Jul 05, 2016 at 02:23:23PM +0300, Konstantin Khlebnikov wrote:
>> Commit 1b537c7d1e58 ("sched/core: Remove check of p->sched_class") placed
>> "current->sched_class = &fair_sched_class" before call of init_idle() which
>> immediately set sched_class back to idle_sched_class.
>>
>> This patch reverts this piece because after commit de9b8f5dcbd9 ("sched:
>> Fix crash trying to dequeue/enqueue the idle thread") init_idle() doesn't
>> call do_set_cpus_allowed() and nobody will dereference ->sched_class.
>
> I don't understand, what is broken?
>

"pretending" hack is broken. As I wrote maybe it is not needed any more.

-- 
Konstantin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ