From: "Gregory Haskins" <ghaskins@novell.com>
To: "Steven Rostedt" <rostedt@goodmis.org>
Cc: <mingo@elte.hu>, <tglx@linutronix.de>, <jbe@pengutronix.de>,
<linux-kernel@vger.kernel.org>, <linux-rt-users@vger.kernel.org>
Subject: Re: 2.6.25.8-rt7
Date: Tue, 24 Jun 2008 09:14:46 -0600 [thread overview]
Message-ID: <4860D726.BA47.005A.0@novell.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0806241043070.32368@gandalf.stny.rr.com>
[-- Attachment #1: Type: text/plain, Size: 769 bytes --]
>>> On Tue, Jun 24, 2008 at 10:44 AM, in message
<Pine.LNX.4.58.0806241043070.32368@gandalf.stny.rr.com>, Steven Rostedt
<rostedt@goodmis.org> wrote:
> On Tue, 24 Jun 2008, Gregory Haskins wrote:
>
>>
>> (Sorry for toppost)
>>
>> I believe this is my fault. You must be building for uniprocessor? Ingo
> has a fix for this issue in sched-devel that should be pulled into -rt.
>>
>> Sorry for the inconvenience. I will pull the patch myself and submit it
> when I get home (if someone doesn't beat me to it)
>>
>
> I'm looking forward to it ;-)
Patch is attached (from linux-2.6-tip). I meant to send this back around when the
offending patch went in, but it slipped through the cracks. Sorry for the
inconvenience.
Regards,
-Greg
[-- Attachment #2: sched-fix-cpuprio-build-bug.patch --]
[-- Type: text/plain, Size: 1246 bytes --]
>From 1100ac91b6af02d8639d518fad5b434b1bf44ed6 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Thu, 5 Jun 2008 12:25:37 +0200
Subject: [PATCH] sched: fix cpuprio build bug
this patch was not built on !SMP:
kernel/sched_rt.c: In function 'inc_rt_tasks':
kernel/sched_rt.c:404: error: 'struct rq' has no member named 'online'
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
kernel/sched_rt.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index e482159..eaa6060 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -399,16 +399,19 @@ void inc_rt_tasks(struct sched_rt_entity *rt_se, struct rt_rq *rt_rq)
#if defined CONFIG_SMP || defined CONFIG_RT_GROUP_SCHED
if (rt_se_prio(rt_se) < rt_rq->highest_prio) {
struct rq *rq = rq_of_rt_rq(rt_rq);
- rt_rq->highest_prio = rt_se_prio(rt_se);
+ rt_rq->highest_prio = rt_se_prio(rt_se);
+#ifdef CONFIG_SMP
if (rq->online)
cpupri_set(&rq->rd->cpupri, rq->cpu,
rt_se_prio(rt_se));
+#endif
}
#endif
#ifdef CONFIG_SMP
if (rt_se->nr_cpus_allowed > 1) {
struct rq *rq = rq_of_rt_rq(rt_rq);
+
rq->rt.rt_nr_migratory++;
}
--
1.5.4.5
next prev parent reply other threads:[~2008-06-24 15:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4860CD0B0200005A0003944C@sinclair.provo.novell.com>
2008-06-24 14:31 ` 2.6.25.8-rt7 Gregory Haskins
2008-06-24 14:44 ` 2.6.25.8-rt7 Steven Rostedt
2008-06-24 15:14 ` Gregory Haskins [this message]
2008-06-24 14:46 ` 2.6.25.8-rt7 Juergen Beisert
2008-06-24 17:13 ` 2.6.25.8-rt7 Steven Rostedt
2008-06-24 1:34 2.6.25.8-rt7 Steven Rostedt
2008-06-24 14:15 ` 2.6.25.8-rt7 Juergen Beisert
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=4860D726.BA47.005A.0@novell.com \
--to=ghaskins@novell.com \
--cc=jbe@pengutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/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®