mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: habanero@linux.vnet.ibm.com
Cc: Peter Zijlstra <peterz@infradead.org>,
	linux-kernel@vger.kernel.org,
	paulmck <paulmck@linux.vnet.ibm.com>
Subject: Re: BUG on 3.0-rc on commit d72bce0e67e8afc6eb959f656013cbb577426f1e
Date: Mon, 13 Jun 2011 21:24:43 -0400	[thread overview]
Message-ID: <1308014683.9218.107.camel@gandalf.stny.rr.com> (raw)
In-Reply-To: <1308009910.23688.34.camel@atheurer-ubuntu10>

On Mon, 2011-06-13 at 19:05 -0500, Andrew Theurer wrote:

> > Could you try this patch?
> 
> Yes, and it works!  Thanks very much!

Could you try this patch instead? I don't like holding off migration for
the entire boot processes.

-- Steve

diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index 88725c9..4505bfb 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -1239,6 +1239,10 @@ static int find_lowest_rq(struct task_struct *task)
 	int this_cpu = smp_processor_id();
 	int cpu      = task_cpu(task);
 
+	/* Make sure the mask is initialized first */
+	if (unlikely(!lowest_mask))
+		return -1;
+
 	if (task->rt.nr_cpus_allowed == 1)
 		return -1; /* No other targets possible */
 



  parent reply	other threads:[~2011-06-14  1:24 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10 13:17 Andrew Theurer
2011-06-10 14:11 ` Peter Zijlstra
2011-06-10 14:45   ` Peter Zijlstra
2011-06-10 14:52     ` Steven Rostedt
2011-06-10 14:59       ` Peter Zijlstra
2011-06-10 15:34     ` Andrew Theurer
2011-06-10 15:45       ` Andrew Theurer
2011-06-10 16:27       ` Peter Zijlstra
2011-06-13 15:06         ` Andrew Theurer
2011-06-13 15:14           ` Steven Rostedt
2011-06-13 15:33           ` Steven Rostedt
2011-06-14  0:05             ` Andrew Theurer
2011-06-14  0:35               ` Steven Rostedt
2011-06-14  0:52                 ` Andrew Theurer
2011-06-14  1:24               ` Steven Rostedt [this message]
2011-06-14  2:29                 ` Andrew Theurer
2011-06-14 11:02                 ` Peter Zijlstra
2011-06-14 12:25                   ` Steven Rostedt
2011-06-10 15:13   ` Andrew Theurer
2011-06-10 16:09     ` Peter Zijlstra

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=1308014683.9218.107.camel@gandalf.stny.rr.com \
    --to=rostedt@goodmis.org \
    --cc=habanero@linux.vnet.ibm.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

all inboxes | Powered by JetHome®