From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=3.0 tests=DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,T_DKIM_INVALID, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A246C3279B for ; Fri, 6 Jul 2018 11:42:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 337D123E8C for ; Fri, 6 Jul 2018 11:42:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="z8ihuwMC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 337D123E8C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932779AbeGFLmn (ORCPT ); Fri, 6 Jul 2018 07:42:43 -0400 Received: from merlin.infradead.org ([205.233.59.134]:43662 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932325AbeGFLmj (ORCPT ); Fri, 6 Jul 2018 07:42:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4W7nlUujVhODZ5z+8lNtQoW1KA6R/o/pJ92Gt8b1q5s=; b=z8ihuwMCM++/FxICe1j9QAkZ6 ex2VVl2tXvClLTcfvmP0D+JZumyB2LBDbRyHEbu5MZGZBhTGv9aGW9ZcYft3xn/Ad8IvfE7B58C0o rhoSUDg5wKjV6UPK4uA2XsoavRD172LV4bgisZ34f4743ceMg3WUnJetH3QNAbhXKBpulSBQxR+Vc L9evLvMsXzJTyywFdaaqo81QaIxqXl0CUNo3qsa75fQhFXHosSZyr8R50cQERnjVWJpaNmEQs4YMD x11IW4e3yL6LdLMlfYZ9dG6Cg4NeJQv+QPnZtn5LBi3EO9cVWy+7JvPLXaSZaY++RnDq1rencLArq Uly61wfSg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbP7g-0000eb-Iv; Fri, 06 Jul 2018 11:42:01 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 4964420298BAE; Fri, 6 Jul 2018 13:41:58 +0200 (CEST) Date: Fri, 6 Jul 2018 13:41:58 +0200 From: Peter Zijlstra To: Quentin Perret Cc: rjw@rjwysocki.net, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, gregkh@linuxfoundation.org, mingo@redhat.com, dietmar.eggemann@arm.com, morten.rasmussen@arm.com, chris.redpath@arm.com, patrick.bellasi@arm.com, valentin.schneider@arm.com, vincent.guittot@linaro.org, thara.gopinath@linaro.org, viresh.kumar@linaro.org, tkjos@google.com, joel@joelfernandes.org, smuckle@google.com, adharmap@quicinc.com, skannan@quicinc.com, pkondeti@codeaurora.org, juri.lelli@redhat.com, edubezval@gmail.com, srinivas.pandruvada@linux.intel.com, currojerez@riseup.net, javi.merino@kernel.org Subject: Re: [RFC PATCH v4 08/12] sched: Add over-utilization/tipping point indicator Message-ID: <20180706114158.GU2458@hirez.programming.kicks-ass.net> References: <20180628114043.24724-1-quentin.perret@arm.com> <20180628114043.24724-9-quentin.perret@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180628114043.24724-9-quentin.perret@arm.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 28, 2018 at 12:40:39PM +0100, Quentin Perret wrote: > @@ -698,6 +698,9 @@ struct root_domain { > /* Indicate more than one runnable task for any CPU */ > bool overload; While there, make that an int. > + /* Indicate one or more cpus over-utilized (tipping point) */ > + int overutilized; > + > /* > * The bit corresponding to a CPU gets set here if such CPU has more > * than one runnable -deadline task (as it is below for RT tasks). > -- > 2.17.1 >