[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131220132611.69a1a70d@gandalf.local.home>
Date: Fri, 20 Dec 2013 13:26:11 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Peter Zijlstra <peterz@...radead.org>, tglx@...utronix.de,
mingo@...hat.com, oleg@...hat.com, fweisbec@...il.com,
darren@...art.com, johan.eker@...csson.com, p.faure@...tech.ch,
linux-kernel@...r.kernel.org, claudio@...dence.eu.com,
michael@...rulasolutions.com, fchecconi@...il.com,
tommaso.cucinotta@...up.it, juri.lelli@...il.com,
nicola.manica@...i.unitn.it, luca.abeni@...tn.it,
dhaval.giani@...il.com, hgu1972@...il.com,
paulmck@...ux.vnet.ibm.com, raistlin@...ux.it,
insop.song@...il.com, liming.wang@...driver.com, jkacur@...hat.com
Subject: Re: [PATCH 09/13] sched: Add bandwidth management for sched_dl
On Fri, 20 Dec 2013 13:23:23 -0500
Steven Rostedt <rostedt@...dmis.org> wrote:
>
> CPU 0 CPU 1
> ----- -----
> sched_setattr()
> dl_overflow()
> cpus = __dl_span_weight()
>
> cpu_down()
> raw_spin_lock()
> raw_spin_lock() /* blocks */
>
>
> overflow = __dl_overflow(cpus-1);
> raw_spin_unlock();
>
> /* gets lock */
> __dl_overflow(cpus) /* all OK! */
Forgot to add:
/* new deadline commitment added here */
>
>
>
> /* cpus goes to cpus - 1 making
> __dl_overflow() not OK anymore */
>
also should have stated:
"__dl_overflow(cpus-1) not OK anymore"
-- Steve
--
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