From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Gregory Haskins" Subject: Re: [PATCH v2] sched: push rt tasks only if newly activated taskshave been added Date: Mon, 21 Apr 2008 10:36:20 -0600 Message-ID: <480C8A44.BA47.005A.0@novell.com> References: <20080421153438.9212.79406.stgit@novell1.haskins.net> <20080421161744.GB10121@elte.hu> <20080421162032.GA12645@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Cc: , , , , , To: "Ingo Molnar" , "Steven Rostedt" Return-path: In-Reply-To: Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-rt-users.vger.kernel.org >>> On Mon, Apr 21, 2008 at 12:25 PM, in message , Steven Rostedt wrote: > > I'm betting that this needs a CONFIG_SMP around it. Indeed, thanks! Will send update against sched-devel with this fix. > > -- Steve > >> inc_cpu_load(rq, p->se.load.weight); >> } >> >> @@ -913,7 +920,7 @@ static int push_rt_task(struct rq *rq) >> int ret = 0; >> int paranoid = RT_MAX_TRIES; >> >> - if (!rq->rt.overloaded) >> + if (!rq->rt.overloaded || rq->rt.pushed) >> return 0; >> >> next_task = pick_next_highest_task_rt(rq, -1); >> @@ -973,6 +980,15 @@ out: >> } >> >> /* > -- > To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html