Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756147Ab3JOInz (ORCPT ); Tue, 15 Oct 2013 04:43:55 -0400 Received: from merlin.infradead.org ([205.233.59.134]:50530 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751151Ab3JOInx (ORCPT ); Tue, 15 Oct 2013 04:43:53 -0400 Date: Tue, 15 Oct 2013 10:43:24 +0200 From: Peter Zijlstra To: Juri Lelli Cc: tglx@linutronix.de, mingo@redhat.com, rostedt@goodmis.org, oleg@redhat.com, fweisbec@gmail.com, darren@dvhart.com, johan.eker@ericsson.com, p.faure@akatech.ch, linux-kernel@vger.kernel.org, claudio@evidence.eu.com, michael@amarulasolutions.com, fchecconi@gmail.com, tommaso.cucinotta@sssup.it, nicola.manica@disi.unitn.it, luca.abeni@unitn.it, dhaval.giani@gmail.com, hgu1972@gmail.com, paulmck@linux.vnet.ibm.com, raistlin@linux.it, insop.song@gmail.com, liming.wang@windriver.com, jkacur@redhat.com, harald.gustafsson@ericsson.com, vincent.guittot@linaro.org, bruce.ashfield@windriver.com--no-chain-reply-to Subject: Re: [PATCH 06/14] sched: add period support for -deadline tasks. Message-ID: <20131015084324.GB10651@twins.programming.kicks-ass.net> References: <1381747426-31334-1-git-send-email-juri.lelli@gmail.com> <1381747426-31334-7-git-send-email-juri.lelli@gmail.com> <20131014120724.GI3081@twins.programming.kicks-ass.net> <525CFB77.90201@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <525CFB77.90201@gmail.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1402 Lines: 32 On Tue, Oct 15, 2013 at 10:23:19AM +0200, Juri Lelli wrote: > On 10/14/2013 02:07 PM, Peter Zijlstra wrote: > > On Mon, Oct 14, 2013 at 12:43:38PM +0200, Juri Lelli wrote: > >> From: Harald Gustafsson > >> > >> Make it possible to specify a period (different or equal than > >> deadline) for -deadline tasks. > > > > Could we add a little blurb here as to why we'd want this? > > > > (I think I do, and I certainly know where to find the answer, but its > > better to have a more complete changelog). > > > > Yes, I could amend the commit message in something like this: > > Make it possible to specify a period (different or equal than deadline) for > -deadline tasks. Relative deadlines (D_i) are used on task arrivals to generate > new scheduling (absolute) deadlines as "d = t + D_i", and periods (P_i) to > postpone the scheduling deadlines as "d = d + P_i" when the budget is zero. > This is in general useful to model (and schedule) tasks that have slow > activation rates (long periods), but have to be scheduled soon once activated > (short deadlines). > > What do you think? Yes that's much better. Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/