Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1431707
| From | Viresh Kumar <viresh.kumar@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH V5 0/2] cpufreq: Sorted policy->freq_table |
| Date | 2016-06-27 06:30 +0200 |
| Message-ID | <rOwlk-3O5-13@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi Rafael, This series is aimed to make traversing of cpufreq table more efficient for platforms that already sort the frequency tables. The cpufreq core now checks if the freq table is sorted and applies a different set of helpers on such tables while traversing them. 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 V4->V4: - s/cpufreq_table_find_index_unsorted/cpufreq_table_index_unsorted - return error for duplicate frequencies - freq-table-sorted is an enum now - Remove freq_is_invalid() and clamp the frequencies at the top of few helpers. - Remove few checks which were impossible to hit (best == -1) Viresh Kumar (2): cpufreq: Handle sorted frequency tables more efficiently cpufreq: Reuse new freq-table helpers drivers/cpufreq/acpi-cpufreq.c | 14 +- drivers/cpufreq/amd_freq_sensitivity.c | 4 +- drivers/cpufreq/cpufreq_ondemand.c | 6 +- drivers/cpufreq/freq_table.c | 73 ++++++++-- drivers/cpufreq/powernv-cpufreq.c | 3 +- drivers/cpufreq/s5pv210-cpufreq.c | 3 +- include/linux/cpufreq.h | 234 ++++++++++++++++++++++++++++++++- 7 files changed, 306 insertions(+), 31 deletions(-) -- 2.7.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH V5 0/2] cpufreq: Sorted policy->freq_table Viresh Kumar <viresh.kumar@linaro.org> - 2016-06-27 06:30 +0200
[PATCH V5 2/2] cpufreq: Reuse new freq-table helpers Viresh Kumar <viresh.kumar@linaro.org> - 2016-06-27 06:40 +0200
Re: [PATCH V5 2/2] cpufreq: Reuse new freq-table helpers "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-07-07 15:30 +0200
[PATCH V5 1/2] cpufreq: Handle sorted frequency tables more efficiently Viresh Kumar <viresh.kumar@linaro.org> - 2016-06-27 06:40 +0200
Re: [PATCH V5 1/2] cpufreq: Handle sorted frequency tables more efficiently Francesco Lavra <francescolavra.fl@gmail.com> - 2016-06-27 12:20 +0200
[PATCH V6 1/2] cpufreq: Handle sorted frequency tables more efficiently Viresh Kumar <viresh.kumar@linaro.org> - 2016-06-27 12:40 +0200
Re: [PATCH V6 1/2] cpufreq: Handle sorted frequency tables more efficiently "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-07-07 15:30 +0200
Re: [PATCH V5 0/2] cpufreq: Sorted policy->freq_table Viresh Kumar <viresh.kumar@linaro.org> - 2016-07-07 17:40 +0200
csiph-web