[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150810121407.GB16853@twins.programming.kicks-ass.net>
Date: Mon, 10 Aug 2015 14:14:07 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: byungchul.park@....com
Cc: mingo@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sched: ensure a task has a non-normalized vruntime when
returning back to cfs
On Mon, Aug 10, 2015 at 06:02:55PM +0900, byungchul.park@....com wrote:
> From: Byungchul Park <byungchul.park@....com>
>
> current code ensures a task has a normalized vruntime when switching off
> from fair class, but it does not ensure the task has a non-normalized
> vruntime when switching back to the fair class.
>
> this is an example breaking this consistency.
>
> 1. a task is in fair class and !queue
> 2. change its class to rt class (still !queue)
> 3. change its class to fair class again (stll !queue)
Just curious, did you manage to trigger this in practise or did you find
it through code inspection only?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists