Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754511AbZIVNYf (ORCPT ); Tue, 22 Sep 2009 09:24:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753559AbZIVNYf (ORCPT ); Tue, 22 Sep 2009 09:24:35 -0400 Received: from fifo99.com ([67.223.236.141]:42518 "EHLO fifo99.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753711AbZIVNYe (ORCPT ); Tue, 22 Sep 2009 09:24:34 -0400 Subject: Re: [RFC][PATCH] SCHED_EDF scheduling class From: Daniel Walker To: Raistlin Cc: Peter Zijlstra , claudio@evidence.eu.com, michael@evidence.eu.com, mingo@elte.hu, linux-kernel@vger.kernel.org, tglx@linutronix.de, johan.eker@ericsson.com, p.faure@akatech.ch, Fabio Checconi , Dhaval Giani , Steven Rostedt , Tommaso Cucinotta In-Reply-To: <1253615424.20345.76.camel@Palantir> References: <1253615424.20345.76.camel@Palantir> Content-Type: text/plain Date: Tue, 22 Sep 2009 06:24:38 -0700 Message-Id: <1253625878.6575.34.camel@desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1322 Lines: 36 On Tue, 2009-09-22 at 12:30 +0200, Raistlin wrote: > Hi Peter, Hi all, > > this is the implementation of a new scheduling class called > SCHED_EDF made by me and Michael Trimarchi (CC:-ed). We followed the > suggestions you gave us at the multicore workshop in Kaiserlsautern > on October. > > For other people: it is a real-time scheduling policy based on the > Earliest Deadline First (EDF) algorithm, one of the most common > real-time scheduling algorithms. You've got some type of encoding corruption in your patch, + else { + if (!edf_task(p)) + p->sched_class =3D &fair_sched_class; + else + p->sched_class =3D &edf_sched_class; + } =20 p->prio =3D prio; =20 See the =20 , and =3D above.. I'm not sure exactly how that gets into patches ;( We require utf8 encodings , some people can handle the stuff above but most scripts and the patch command won't be able to. I realize this is an RFC , so the next time you submit this try to make it utf8 .. Daniel -- 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/