lkml.org 
[lkml]   [2016]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] sched/core: really pretend early bootup to be a normal task
From
Date
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

\
 
 \ /
  Last update: 2016-07-05 15:21    [W:0.044 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site