Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1358264

Re: [PATCH 7/8] cpufreq: Frequency invariant scheduler load-tracking support

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 7/8] cpufreq: Frequency invariant scheduler load-tracking support
Date 2016-03-15 22:40 +0100
Message-ID <rd4R4-7Rt-43@gated-at.bofh.it> (permalink)
References <rcteN-7Q2-3@gated-at.bofh.it> <rcteN-7Q2-5@gated-at.bofh.it> <rd2FA-6of-9@gated-at.bofh.it> <rd3BE-77u-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Mar 15, 2016 at 01:19:17PM -0700, Michael Turquette wrote:
> That's what I had in mind. I guess that some day there will be a need to
> select implementations at run-time for both cpufreq (e.g. different
> cpufreq drivers might implement arch_scale_freq_capacity) and for the
> !CONFIG_CPU_FREQ case (e.g. different platforms might implement
> arch_scale_freq_capcity within the same arch).

No, no runtime selection. That gets us function pointers and other
indirect mess.

We should be trying very hard to get rid of that cpufreq_util_update()
pointer, not add more of that gunk.

Use self modifying code if you have to do something.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 7/8] cpufreq: Frequency invariant scheduler load-tracking support Michael Turquette <mturquette@baylibre.com> - 2016-03-14 06:30 +0100
  Re: [PATCH 7/8] cpufreq: Frequency invariant scheduler load-tracking  support Dietmar Eggemann <dietmar.eggemann@arm.com> - 2016-03-15 20:20 +0100
    Re: [PATCH 7/8] cpufreq: Frequency invariant scheduler load-tracking support Michael Turquette <mturquette@baylibre.com> - 2016-03-15 21:20 +0100
      Re: [PATCH 7/8] cpufreq: Frequency invariant scheduler load-tracking  support Peter Zijlstra <peterz@infradead.org> - 2016-03-15 22:40 +0100
      Re: [PATCH 7/8] cpufreq: Frequency invariant scheduler load-tracking  support Dietmar Eggemann <dietmar.eggemann@arm.com> - 2016-03-16 19:40 +0100
  Re: [PATCH 7/8] cpufreq: Frequency invariant scheduler load-tracking  support Peter Zijlstra <peterz@infradead.org> - 2016-03-15 22:40 +0100

csiph-web