Re: [PATCH v6 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases

From: Steven Rostedt
Date: Tue Apr 21 2015 - 09:10:16 EST


On Tue, 21 Apr 2015 01:45:50 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:


> Please don't try and be clever there :-) Task state can be misleading,
> you might get a wakeup before you're running again, in which case you
> never went to sleep.

OK, point taken.

>
> Please use task_on_rq_queued(p) like all other sites.

Agreed.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/