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


Groups > linux.kernel > #1404009

Re: [PATCH 3/5] sched: cpufreq: call cpufreq hook from remote CPUs

From Steve Muckle <steve.muckle@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/5] sched: cpufreq: call cpufreq hook from remote CPUs
Date 2016-05-20 01:10 +0200
Message-ID <rAFeN-6ca-3@gated-at.bofh.it> (permalink)
References (1 earlier) <rx0Uz-5md-17@gated-at.bofh.it> <rAjei-iW-31@gated-at.bofh.it> <rAuW7-7Xo-35@gated-at.bofh.it> <rABEd-3Qy-3@gated-at.bofh.it> <rADmG-524-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, May 19, 2016 at 11:06:14PM +0200, Rafael J. Wysocki wrote:
> > In the case of a remote update the hook has to run (or not) after it is
> > known whether preemption will occur so we don't do needless work or
> > IPIs. If the policy CPUs aren't known in the scheduler then the early
> > hook will always need to be called along with an indication that it is
> > the early hook being called. If it turns out to be a remote update it
> > could then be deferred to the later hook, which would only be called
> > when a remote update has been deferred and preemption has not occurred.
> >
> > This means two hook inovcations for a remote non-preempting wakeup
> > though instead of one.  Perhaps this is a good middle ground on code
> > churn vs. optimization though.
> 
> I would think so.

Ok, I will pursue this approach.

thanks,
Steve

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


Thread

Re: [PATCH 3/5] sched: cpufreq: call cpufreq hook from remote CPUs "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-19 01:40 +0200
  Re: [PATCH 3/5] sched: cpufreq: call cpufreq hook from remote CPUs "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-19 14:10 +0200
    Re: [PATCH 3/5] sched: cpufreq: call cpufreq hook from remote CPUs Steve Muckle <steve.muckle@linaro.org> - 2016-05-19 21:20 +0200
      Re: [PATCH 3/5] sched: cpufreq: call cpufreq hook from remote CPUs "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-19 23:10 +0200
        Re: [PATCH 3/5] sched: cpufreq: call cpufreq hook from remote CPUs Steve Muckle <steve.muckle@linaro.org> - 2016-05-20 01:10 +0200
          Re: [PATCH 3/5] sched: cpufreq: call cpufreq hook from remote CPUs Steve Muckle <steve.muckle@linaro.org> - 2016-05-21 21:50 +0200

csiph-web