Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1436970

Re: [PATCH] sched/core: really pretend early bootup to be a normal task

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH] sched/core: really pretend early bootup to be a normal task
Date 2016-07-05 14:50 +0200
Message-ID <rRxXz-2Re-17@gated-at.bofh.it> (permalink)
References <rRwIa-27K-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] sched/core: really pretend early bootup to be a normal task Konstantin Khlebnikov <khlebnikov@yandex-team.ru> - 2016-07-05 13:30 +0200
  Re: [PATCH] sched/core: really pretend early bootup to be a normal  task Peter Zijlstra <peterz@infradead.org> - 2016-07-05 14:50 +0200
    Re: [PATCH] sched/core: really pretend early bootup to be a normal  task Konstantin Khlebnikov <khlebnikov@yandex-team.ru> - 2016-07-05 15:00 +0200

csiph-web