Skip to content
Commit a80712b9 authored by Frederic Weisbecker's avatar Frederic Weisbecker
Browse files

rcu/tasks-trace: Handle new PF_IDLE semantics



The commit:

	cff9b233 ("kernel/sched: Modify initial boot task idle setup")

has changed the semantics of what is to be considered an idle task in
such a way that the idle task of an offline CPU may not carry the
PF_IDLE flag anymore.

However RCU-tasks-trace tests the opposite assertion, still assuming
that idle tasks carry the PF_IDLE flag during their whole lifecycle.

Remove this assumption to avoid spurious warnings but keep the initial
test verifying that the idle task is the current task on any offline
CPU.

Reported-by: default avatarNaresh Kamboju <naresh.kamboju@linaro.org>
Fixes: cff9b233 ("kernel/sched: Modify initial boot task idle setup")
Suggested-by: default avatarJoel Fernandes <joel@joelfernandes.org>
Suggested-by: default avatarPaul E . McKenney" <paulmck@kernel.org>
Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
parent 9715ed50
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment