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


Groups > linux.kernel > #1611419

Re: [PATCH 1/6] cpufreq: schedutil: reset sg_cpus's flags at IDLE enter

From "Rafael J. Wysocki" <rjw@rjwysocki.net>
Newsgroups linux.kernel
Subject Re: [PATCH 1/6] cpufreq: schedutil: reset sg_cpus's flags at IDLE enter
Date 2017-03-29 00:30 +0200
Message-ID <tq7MJ-5VB-13@gated-at.bofh.it> (permalink)
References <tgB9n-4qi-3@gated-at.bofh.it> <tgB9n-4qi-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thursday, March 02, 2017 03:45:02 PM Patrick Bellasi wrote:
> Currently, sg_cpu's flags are set to the value defined by the last call of
> the cpufreq_update_util()/cpufreq_update_this_cpu(); for RT/DL classes
> this corresponds to the SCHED_CPUFREQ_{RT/DL} flags always being set.
> 
> When multiple CPU shares the same frequency domain it might happen that a
> CPU which executed an RT task, right before entering IDLE, has one of the
> SCHED_CPUFREQ_RT_DL flags set, permanently, until it exits IDLE.

But if it is idle, it won't be taken into account by sugov_next_freq_shared(), will it?

Thanks,
Rafael

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


Thread

Re: [PATCH 1/6] cpufreq: schedutil: reset sg_cpus's flags at IDLE enter "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-03-29 00:30 +0200
  Re: [PATCH 1/6] cpufreq: schedutil: reset sg_cpus's flags at IDLE  enter Patrick Bellasi <patrick.bellasi@arm.com> - 2017-04-07 17:10 +0200

csiph-web