[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201005191734.27887.trenn@suse.de>
Date: Wed, 19 May 2010 17:34:27 +0200
From: Thomas Renninger <trenn@...e.de>
To: Nishanth Menon <nm@...com>
Cc: Mike Chan <mike@...roid.com>,
"khilman@...prootsystems.com" <khilman@...prootsystems.com>,
"menage@...gle.com" <menage@...gle.com>,
"balbir@...ibm.com" <balbir@...ibm.com>,
"cpufreq@...r.kernel.org" <cpufreq@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>
Subject: Re: [PATCH 4/4] omap: cpu: Power tracking support for cgroup cpuacct
On Wednesday 19 May 2010 15:11:03 Nishanth Menon wrote:
> Mike Chan had written, on 05/18/2010 08:30 PM, the following:
> > Specify new power field in struct omap_opp, which is
> > power exported in milliWatt.
...
> > + totalpower += cpuacct_freq[i] * mpu_opps[i + 1].power;
...
> > + unsigned long power; /* power consumed running at OPP in
milliWatts */
>
> this conflicts with the OPP layer implementation. this structure will
> disappear for good.
Ah yes, another question:
The power variable in struct omap_opp never gets initialized
with a sane value, something is wrong...
Thomas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists