From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756386AbcANQtR (ORCPT ); Thu, 14 Jan 2016 11:49:17 -0500 Received: from casper.infradead.org ([85.118.1.10]:38620 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756371AbcANQtQ (ORCPT ); Thu, 14 Jan 2016 11:49:16 -0500 Date: Thu, 14 Jan 2016 17:49:14 +0100 From: Peter Zijlstra To: Luca Abeni Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Juri Lelli Subject: Re: [RFC 1/8] Track the active utilisation Message-ID: <20160114164914.GY6357@twins.programming.kicks-ass.net> References: <1452785094-3086-1-git-send-email-luca.abeni@unitn.it> <1452785094-3086-2-git-send-email-luca.abeni@unitn.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1452785094-3086-2-git-send-email-luca.abeni@unitn.it> 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 On Thu, Jan 14, 2016 at 04:24:46PM +0100, Luca Abeni wrote: > diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h > index 10f1637..826ca6a 100644 > --- a/kernel/sched/sched.h > +++ b/kernel/sched/sched.h > @@ -519,6 +519,11 @@ struct dl_rq { > #else > struct dl_bw dl_bw; > #endif > + /* This is the "active utilization" for this runqueue. Incorrect comment style. > + * Increased when a task wakes up (becomes TASK_RUNNING) > + * and decreased when a task blocks > + */ > + s64 running_bw; > }; > > #ifdef CONFIG_SMP > -- > 1.9.1 >