Message ID | 52DE336A.6020005@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDVYVHM6UUPBBAXH7CLAKGQERK6HEUA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8E8A3218C5 for <linaro@patches.linaro.org>; Tue, 21 Jan 2014 08:44:51 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id w8sf12739086qac.0 for <linaro@patches.linaro.org>; Tue, 21 Jan 2014 00:44:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe :content-type:content-transfer-encoding; bh=KkQrDMlF9bVzBKoni+/4GbZE27SUnkUc/DRMdkUBPeo=; b=mvJ2vVcU+M9BFezzCSwj0dlL5EHC5JFDke7RR8+/sGKQG/IrbWlc5CIMK/L0EcOCIl m85iheL90a7SD3ilYHVQEgDmD5v13T1AlxwCdWq8P8ibmwptBhwqkbPIthCFDBjCLqLW mnutyAsBy7hcViYmXAw4xP+iMWk78mqLSjKexptYiuwDHy782xnkkwICJUdVqlsHBTVe H3THZsKUsNKR2QHLejTh+DQ010tvAgwu6L1lVft2lS2MdtAgxYOrv6ymmdqQ4a9nvNJI /B80TNN+id+698qIbVvaMrMXv1JZfwGDedVjkPW/CEIpn8OeCRaQvrGbNaN4vtdiS7d5 hx9A== X-Gm-Message-State: ALoCoQn08TjDXzyc9GLUYJEWfM+RrF55+lxBu1NGyBNotsfUeXfCLwWWOC3iBKEDXkWbej02D9p7 X-Received: by 10.58.253.33 with SMTP id zx1mr7937914vec.10.1390293890751; Tue, 21 Jan 2014 00:44:50 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.47.227 with SMTP id m90ls1163627qga.38.gmail; Tue, 21 Jan 2014 00:44:50 -0800 (PST) X-Received: by 10.220.147.16 with SMTP id j16mr591389vcv.28.1390293890637; Tue, 21 Jan 2014 00:44:50 -0800 (PST) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id k6si1591528veh.93.2014.01.21.00.44.50 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 00:44:50 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id im17so3378419vcb.33 for <patchwork-forward@linaro.org>; Tue, 21 Jan 2014 00:44:50 -0800 (PST) X-Received: by 10.220.92.135 with SMTP id r7mr13431827vcm.11.1390293890509; Tue, 21 Jan 2014 00:44:50 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp103474vcz; Tue, 21 Jan 2014 00:44:49 -0800 (PST) X-Received: by 10.68.225.9 with SMTP id rg9mr23825702pbc.122.1390293889362; Tue, 21 Jan 2014 00:44:49 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id kn7si4422217pbc.306.2014.01.21.00.44.48; Tue, 21 Jan 2014 00:44:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754064AbaAUIoo (ORCPT <rfc822;linus.walleij@linaro.org> + 27 others); Tue, 21 Jan 2014 03:44:44 -0500 Received: from mail-pd0-f175.google.com ([209.85.192.175]:35482 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751059AbaAUIol (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Jan 2014 03:44:41 -0500 Received: by mail-pd0-f175.google.com with SMTP id w10so2640836pde.34 for <linux-kernel@vger.kernel.org>; Tue, 21 Jan 2014 00:44:40 -0800 (PST) X-Received: by 10.68.130.169 with SMTP id of9mr23510821pbb.79.1390293880716; Tue, 21 Jan 2014 00:44:40 -0800 (PST) Received: from [10.0.0.100] ([162.243.130.63]) by mx.google.com with ESMTPSA id yz5sm21381553pac.9.2014.01.21.00.44.28 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 00:44:39 -0800 (PST) Message-ID: <52DE336A.6020005@linaro.org> Date: Tue, 21 Jan 2014 16:44:26 +0800 From: Alex Shi <alex.shi@linaro.org> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Jason Low <jason.low2@hp.com> CC: Ingo Molnar <mingo@redhat.com>, Peter Zijlstra <peterz@infradead.org>, morten.rasmussen@arm.com, vincent.guittot@linaro.org, daniel.lezcano@linaro.org, Mike Galbraith <efault@gmx.de>, wangyun@linux.vnet.ibm.com, Linux Kernel Mailing List <linux-kernel@vger.kernel.org> Subject: Re: [PATCH 2/2] sched: add statistic for rq->max_idle_balance_cost References: <1390282399-17091-1-git-send-email-alex.shi@linaro.org> <1390282399-17091-2-git-send-email-alex.shi@linaro.org> <CAGQ1y=4rgj8qPeKQhNTA5__VzrOQ1uCqFZrVLO3MO9MfL+6UEg@mail.gmail.com> In-Reply-To: <CAGQ1y=4rgj8qPeKQhNTA5__VzrOQ1uCqFZrVLO3MO9MfL+6UEg@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: alex.shi@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit |
=== From 173417f3646ac1c6ac83809b51d0471591cbc8f0 Mon Sep 17 00:00:00 2001 From: Alex Shi <alex.shi@linaro.org> Date: Tue, 21 Jan 2014 13:28:55 +0800 Subject: [RFC PATCH] sched: add statistic for rq->max_idle_balance_cost It's useful to track this value in debug mode. Signed-off-by: Alex Shi <alex.shi@linaro.org> --- kernel/sched/debug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c index 1e43e70..f5c529a 100644 --- a/kernel/sched/debug.c +++ b/kernel/sched/debug.c @@ -315,6 +315,7 @@ do { \ P(sched_goidle); #ifdef CONFIG_SMP P64(avg_idle); + P64(max_idle_balance_cost); #endif P(ttwu_count);