From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755034Ab0KKTQk (ORCPT ); Thu, 11 Nov 2010 14:16:40 -0500 Received: from canuck.infradead.org ([134.117.69.58]:45531 "EHLO canuck.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753275Ab0KKTQj convert rfc822-to-8bit (ORCPT ); Thu, 11 Nov 2010 14:16:39 -0500 Subject: Re: [RFC][PATCH 08/22] sched: SCHED_DEADLINE avg_update accounting From: Peter Zijlstra To: Raistlin Cc: Ingo Molnar , Thomas Gleixner , Steven Rostedt , Chris Friesen , oleg@redhat.com, Frederic Weisbecker , Darren Hart , Johan Eker , "p.faure" , linux-kernel , Claudio Scordino , michael trimarchi , Fabio Checconi , Tommaso Cucinotta , Juri Lelli , Nicola Manica , Luca Abeni , Dhaval Giani , Harald Gustafsson , paulmck In-Reply-To: <1288333990.8661.149.camel@Palantir> References: <1288333128.8661.137.camel@Palantir> <1288333990.8661.149.camel@Palantir> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Thu, 11 Nov 2010 20:16:16 +0100 Message-ID: <1289502976.2084.155.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2010-10-29 at 08:33 +0200, Raistlin wrote: > Make the core scheduler and load balancer aware of the load > produced by -deadline tasks, by updating the moving average > like for sched_rt. I think you can simply add your dl time to sched_rt_avg_update(), no need to track a second avg, its about !fair anyway.