From: Shuah Khan <shuah@kernel.org>
To: Abhishek Goel <huntbag@linux.vnet.ibm.com>,
trenn@suse.com, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org,
Shuah Khan <shuahkh@osg.samsung.com>,
Shuah Khan <shuah@kernel.org>
Subject: Re: [PATCH v3] cpupower : Fix cpupower working when cpu0 is offline
Date: Wed, 15 Nov 2017 08:22:09 -0700 [thread overview]
Message-ID: <2289b9f8-d533-3fa4-1524-22613dcc520a@kernel.org> (raw)
In-Reply-To: <20171115084002.23887-1-huntbag@linux.vnet.ibm.com>
On 11/15/2017 01:40 AM, Abhishek Goel wrote:
> cpuidle_monitor used to assume that cpu0 is always online which is not
> a valid assumption on POWER machines. This patch fixes this by getting
> the cpu on which the current thread is running, instead of always using
> cpu0 for monitoring which may not be online.
>
> Signed-off-by: Abhishek Goel <huntbag@linux.vnet.ibm.com>
> ---
> tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
Thanks. I will queue this for 4.15-rc2
-- SHuah
prev parent reply other threads:[~2017-11-15 15:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-15 8:40 Abhishek Goel
2017-11-15 15:22 ` Shuah Khan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2289b9f8-d533-3fa4-1524-22613dcc520a@kernel.org \
--to=shuah@kernel.org \
--cc=huntbag@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=shuahkh@osg.samsung.com \
--cc=trenn@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®