mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org,
	linux-kernel@vger.kernel.org, steve.muckle@linaro.org
Subject: Re: [PATCH V4 0/2] cpufreq: Sort policy->freq_table
Date: Wed, 08 Jun 2016 02:19:51 +0200	[thread overview]
Message-ID: <27658050.4ol4GjkJ1n@vostro.rjw.lan> (raw)
In-Reply-To: <cover.1465295033.git.viresh.kumar@linaro.org>

On Tuesday, June 07, 2016 03:55:13 PM Viresh Kumar wrote:
> Hi Rafael,
> 
> I have spent some more time on this stuff and finally came out with a
> very simple solution. I hope you will like it more than the previous
> versions.
> 
> Instead of trying to sort the freq-table passed by the drivers, which
> was complicated and would have broken some drivers for sure, this patch
> just checks if the freq-table is sorted or not.
> 
> If it is sorted, then we just use a different set of helpers for it. The
> table can be sorted in both ascending and descending orders now and
> helpers are present for both the cases.

Well, that's something I was thinking about from the start. :-)

> All the patches are pushed here for testing in case anyone wants to try:
> git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git cpufreq/sorted-freq-table
> 
> V3->V4:
> - Written from scratch really, completely different approach.

I'll look at the code later this week.

Thanks,
Rafael

  parent reply	other threads:[~2016-06-08  0:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-07 10:25 Viresh Kumar
2016-06-07 10:25 ` [PATCH V4 1/2] cpufreq: Handle sorted frequency tables more efficiently Viresh Kumar
2016-06-23  0:28   ` Rafael J. Wysocki
2016-06-26 10:38     ` Viresh Kumar
2016-06-27  0:28       ` Rafael J. Wysocki
2016-06-27  1:56         ` Viresh Kumar
2016-06-07 10:25 ` [PATCH V4 2/2] cpufreq: Reuse new freq-table helpers Viresh Kumar
2016-06-08  0:19 ` Rafael J. Wysocki [this message]
2016-06-16 16:17   ` [PATCH V4 0/2] cpufreq: Sort policy->freq_table Viresh Kumar
2016-06-17  0:56     ` Rafael J. Wysocki

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=27658050.4ol4GjkJ1n@vostro.rjw.lan \
    --to=rjw@rjwysocki.net \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=steve.muckle@linaro.org \
    --cc=viresh.kumar@linaro.org \
    /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®