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

