From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753733AbbDHJbE (ORCPT ); Wed, 8 Apr 2015 05:31:04 -0400 Received: from eu-smtp-delivery-143.mimecast.com ([207.82.80.143]:60612 "EHLO eu-smtp-delivery-143.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751132AbbDHJa7 convert rfc822-to-8bit (ORCPT ); Wed, 8 Apr 2015 05:30:59 -0400 Message-ID: <5524F582.5020201@arm.com> Date: Wed, 08 Apr 2015 10:31:46 +0100 From: Juri Lelli User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Luca Abeni , Zhiqiang Zhang CC: "henrik@austad.us" , "linux-kernel@vger.kernel.org" , "torvalds@linux-foundation.org" Subject: Re: [PATCH] Documentation/scheduler/sched-deadline.txt: correct definition of density as C_i/min{D_i,P_i} References: <1428049113-62546-1-git-send-email-zhangzhiqiang.zhang@huawei.com> <20150403125237.45b38a71@luca-1225C> In-Reply-To: <20150403125237.45b38a71@luca-1225C> X-OriginalArrivalTime: 08 Apr 2015 09:30:56.0231 (UTC) FILETIME=[B7194770:01D071DE] X-MC-Unique: zVSsjODiR46-yLnJQtHopA-1 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Luca, On 03/04/15 11:52, Luca Abeni wrote: > Hi, > > On Fri, 3 Apr 2015 16:18:33 +0800 > Zhiqiang Zhang wrote: > >> >From the contex,the definition of the destiny of a task >> C_i/min{D_i,T_i},where T_i is not referred before, should be >> substituted by C_i/min{D_i,P_i}. > You are right, "T_i" should be substituted with "P_i"... > But now that I look at it more carefully, I think that "C_i" is also > wrong... It should be "WCET_i". > > > BTW, speaking about documentation: I still have some SCHED_DEADLINE > documentation patches in my local tree... I'll update and send them in > next week. Juri, should I send the patches to you, or submit directly > to the mailing list? > As you prefer, I'll review them anyway :). I guess you can just send them on the list if you like, so that you'll receive more comments in one go. Thanks a lot, - Juri > Thanks, > Luca >> >> ---------------------------------------- >> >> Signed-off-by: Zhiqiang Zhang >> --- >> Documentation/scheduler/sched-deadline.txt | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/Documentation/scheduler/sched-deadline.txt >> b/Documentation/scheduler/sched-deadline.txt index 21461a0..194664b >> 100644 --- a/Documentation/scheduler/sched-deadline.txt >> +++ b/Documentation/scheduler/sched-deadline.txt >> @@ -169,8 +169,8 @@ CONTENTS >> of all the tasks executing on a CPU if and only if the total >> utilisation of the tasks running on such a CPU is smaller or equal >> than 1. If D_i != P_i for some task, then it is possible to define >> the density of >> - a task as C_i/min{D_i,T_i}, and EDF is able to respect all the >> deadlines >> - of all the tasks running on a CPU if the sum sum_i C_i/min{D_i,T_i} >> of the >> + a task as C_i/min{D_i,P_i}, and EDF is able to respect all the >> deadlines >> + of all the tasks running on a CPU if the sum sum_i C_i/min{D_i,P_i} >> of the densities of the tasks running on such a CPU is smaller or >> equal than 1 (notice that this condition is only sufficient, and not >> necessary). >