From: Zhang Rui <rui.zhang@intel.com>
To: Matthew Wilcox <mawilcox@linuxonhyperv.com>
Cc: Matthew Wilcox <mawilcox@microsoft.com>, linux-pm@vger.kernel.org
Subject: Re: [PATCH 0/4] Convert thermal subsystem to the IDA allocator
Date: Wed, 04 Jan 2017 12:49:27 +0800 [thread overview]
Message-ID: <1483505367.2320.52.camel@intel.com> (raw)
In-Reply-To: <1482342426-30520-1-git-send-email-mawilcox@linuxonhyperv.com>
Hi, Matthew,
On Wed, 2016-12-21 at 09:47 -0800, Matthew Wilcox wrote:
> From: Matthew Wilcox <mawilcox@microsoft.com>
>
> None of the ID allocations are in a hot path, so I think it's better
> to use the ida_simple_get/ida_simple_remove API instead of having
> individual mutexes.
>
I agree. Thanks for the patches.
Applied and queued for 4.11.
thanks,
rui
> I've only compile-tested these changes ... even that is quite tricky
> given
> the maze of Kconfig options which make it hard to select those
> drivers.
> I eventually gave up and played games with the header files to get
> the
> compiler to compile them cleanly.
>
> Matthew Wilcox (4):
> thermal core: convert ID allocation to IDA
> thermal: convert clock cooling to use an IDA
> thermal: convert cpu_cooling to use an IDA
> thermal: convert devfreq_cooling to use an IDA
>
> drivers/thermal/clock_cooling.c | 50 +++++---------------------
> drivers/thermal/cpu_cooling.c | 63 ++++++-----------------------
> ---
> drivers/thermal/devfreq_cooling.c | 53 +++++----------------------
> drivers/thermal/thermal_core.c | 75 ++++++++++++++---------------
> ----------
> include/linux/thermal.h | 4 +--
> 5 files changed, 56 insertions(+), 189 deletions(-)
>
prev parent reply other threads:[~2017-01-04 4:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-21 17:47 [PATCH 0/4] Convert thermal subsystem to the IDA allocator Matthew Wilcox
2016-12-21 17:47 ` [PATCH 1/4] thermal core: convert ID allocation to IDA Matthew Wilcox
2016-12-21 17:47 ` [PATCH 2/4] thermal: convert clock cooling to use an IDA Matthew Wilcox
2016-12-21 17:47 ` [PATCH 3/4] thermal: convert cpu_cooling " Matthew Wilcox
2016-12-21 17:47 ` [PATCH 4/4] thermal: convert devfreq_cooling " Matthew Wilcox
2017-01-04 4:49 ` Zhang Rui [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=1483505367.2320.52.camel@intel.com \
--to=rui.zhang@intel.com \
--cc=linux-pm@vger.kernel.org \
--cc=mawilcox@linuxonhyperv.com \
--cc=mawilcox@microsoft.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;
as well as URLs for NNTP newsgroup(s).