public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Yong Zhang <yong.zhang0@gmail.com>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: peterz@infradead.org, linux-kernel@vger.kernel.org
Subject: Re: Why does the 2.6.37 scheduler hate RT tasks?
Date: Mon, 14 Feb 2011 22:55:49 +0800	[thread overview]
Message-ID: <20110214145549.GB2937@zhy> (raw)
In-Reply-To: <20110202011049.GA15084@linux.vnet.ibm.com>

On Tue, Feb 01, 2011 at 05:10:49PM -0800, Paul E. McKenney wrote:
> Hello, Peter,
> 
> If I create an SCHED_FIFO-priority kthread in pre-2.6.37 kernels,
> things work nicely.  If I try in in later kernels, __disable_runtime()
> gets upset occasionally during CPU-hotplug calls when CPUs are inserted.
> If I make the exact same kthreads run SCHED_NORMAL, no problem.
> 
> Unfortunately, I need an RT kthread so that I can do priority boosting.
> 
> My next thing to try is to demote my kthreads to SCHED_NORMAL at the
> beginning of a CPU-hotplug event and promote them back to SCHED_FIFO at
> the end of the CPU-hotplug event, which would leave the system vulnerable
> to RCU priority inversion during CPU-hotplug events.  This would be
> better than the current behavior, but I thought that I should check with
> you to see if there is a better approach.

Just want to know the status of this issue :)

Does commit 06c3bc655697b19521901f9254eb0bbb2c67e7e8 cure it?

Thanks,
Yong

  parent reply	other threads:[~2011-02-14 14:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02  1:10 Why does the 2.6.37 scheduler hate RT tasks? Paul E. McKenney
2011-02-02 11:14 ` Peter Zijlstra
2011-02-14 14:55 ` Yong Zhang [this message]
2011-02-14 15:14   ` Paul E. McKenney

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=20110214145549.GB2937@zhy \
    --to=yong.zhang0@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=peterz@infradead.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