[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 3 Mar 2010 18:01:03 +0100
From: Fabio Checconi <fchecconi@...il.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Ingo Molnar <mingo@...e.hu>, Thomas Gleixner <tglx@...utronix.de>,
Paul Turner <pjt@...gle.com>,
Dario Faggioli <faggioli@...dalf.sssup.it>,
Michael Trimarchi <michael@...dence.eu.com>,
Dhaval Giani <dhaval@...is.sssup.it>,
Tommaso Cucinotta <t.cucinotta@...up.it>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] sched: make runtime balancing code more EDF-friendly
> From: Peter Zijlstra <peterz@...radead.org>
> Date: Thu, Feb 25, 2010 09:28:26PM +0100
>
> On Tue, 2010-02-23 at 19:56 +0100, Fabio Checconi wrote:
> > + stop = move_runtime(rt_rq, iter, weight, rt_period,
> > pull);
> > + if (stop) {
> > + raw_spin_unlock(&iter->rt_runtime_lock);
> > + break;
> > }
> > next:
> > raw_spin_unlock(&iter->rt_runtime_lock);
>
> might as well put that:
>
> if (stop)
> break;
>
> right after the raw_spin_unlock() that's already there.
Will do (initializing stop to false before entering the loop), thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists