Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934976AbbEOQHf (ORCPT ); Fri, 15 May 2015 12:07:35 -0400 Received: from casper.infradead.org ([85.118.1.10]:59959 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934713AbbEOQHd (ORCPT ); Fri, 15 May 2015 12:07:33 -0400 Date: Fri, 15 May 2015 18:07:16 +0200 From: Peter Zijlstra To: Ruchi Kandoi Cc: "Rafael J. Wysocki" , Viresh Kumar , Ingo Molnar , Andrew Morton , Oleg Nesterov , "Kirill A. Shutemov" , Vladimir Davydov , Heinrich Schuchardt , Thomas Gleixner , Kees Cook , Konstantin Khlebnikov , Davidlohr Bueso , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] sched: cpufreq: Adds a field cpu_power in the task_struct Message-ID: <20150515160716.GY21418@twins.programming.kicks-ass.net> References: <1431647748-13221-1-git-send-email-kandoiruchi@google.com> <1431647748-13221-3-git-send-email-kandoiruchi@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431647748-13221-3-git-send-email-kandoiruchi@google.com> 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 Content-Length: 741 Lines: 17 On Thu, May 14, 2015 at 04:55:48PM -0700, Ruchi Kandoi wrote: > cpu_power has been added to keep track of amount of power each task is > consuming. cpu_power is updated whenever stime and utime are updated for > a task. power is computed by taking into account the frequency at which > the current core was running and the current for cpu actively > running at hat frequency. > Both you patches completely lack any reason for me to even start considering this. _WHY_ and _what_ are you doing? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/