mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: byungchul.park@lge.com
Cc: mingo@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sched: ensure a task has a non-normalized vruntime when returning back to cfs
Date: Mon, 10 Aug 2015 14:14:07 +0200	[thread overview]
Message-ID: <20150810121407.GB16853@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <1439197375-27927-1-git-send-email-byungchul.park@lge.com>

On Mon, Aug 10, 2015 at 06:02:55PM +0900, byungchul.park@lge.com wrote:
> From: Byungchul Park <byungchul.park@lge.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?

  reply	other threads:[~2015-08-10 12:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-10  9:02 byungchul.park
2015-08-10 12:14 ` Peter Zijlstra [this message]
2015-08-10 23:35   ` Byungchul Park
2015-08-11  0:06     ` Byungchul Park
2015-08-12 12:37 ` [tip:sched/core] sched: Ensure a task has a non-normalized vruntime when returning back to CFS tip-bot for Byungchul Park

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150810121407.GB16853@twins.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=byungchul.park@lge.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®