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

2017-06-06 Thread Patrick Bellasi
On 06-Jun 17:56, Rafael J. Wysocki wrote: > On Tue, Jun 6, 2017 at 11:26 AM, Viresh Kumar wrote: > > On 02-03-17, 15:45, Patrick Bellasi wrote: > >> diff --git a/include/linux/sched.h b/include/linux/sched.h > >> index e2ed46d..739b29d 100644 > >> ---

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

2017-06-06 Thread Patrick Bellasi
On 06-Jun 17:56, Rafael J. Wysocki wrote: > On Tue, Jun 6, 2017 at 11:26 AM, Viresh Kumar wrote: > > On 02-03-17, 15:45, Patrick Bellasi wrote: > >> diff --git a/include/linux/sched.h b/include/linux/sched.h > >> index e2ed46d..739b29d 100644 > >> --- a/include/linux/sched.h > >> +++

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

2017-06-06 Thread Rafael J. Wysocki
On Tue, Jun 6, 2017 at 11:26 AM, Viresh Kumar wrote: > On 02-03-17, 15:45, Patrick Bellasi wrote: >> diff --git a/include/linux/sched.h b/include/linux/sched.h >> index e2ed46d..739b29d 100644 >> --- a/include/linux/sched.h >> +++ b/include/linux/sched.h >> @@ -3653,6

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

2017-06-06 Thread Rafael J. Wysocki
On Tue, Jun 6, 2017 at 11:26 AM, Viresh Kumar wrote: > On 02-03-17, 15:45, Patrick Bellasi wrote: >> diff --git a/include/linux/sched.h b/include/linux/sched.h >> index e2ed46d..739b29d 100644 >> --- a/include/linux/sched.h >> +++ b/include/linux/sched.h >> @@ -3653,6 +3653,7 @@ static inline

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

2017-06-06 Thread Viresh Kumar
On 02-03-17, 15:45, Patrick Bellasi wrote: > diff --git a/include/linux/sched.h b/include/linux/sched.h > index e2ed46d..739b29d 100644 > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -3653,6 +3653,7 @@ static inline unsigned long rlimit_max(unsigned int > limit) > #define

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

2017-06-06 Thread Viresh Kumar
On 02-03-17, 15:45, Patrick Bellasi wrote: > diff --git a/include/linux/sched.h b/include/linux/sched.h > index e2ed46d..739b29d 100644 > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -3653,6 +3653,7 @@ static inline unsigned long rlimit_max(unsigned int > limit) > #define

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

2017-04-07 Thread Patrick Bellasi
On 29-Mar 00:18, Rafael J. Wysocki wrote: > 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

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

2017-04-07 Thread Patrick Bellasi
On 29-Mar 00:18, Rafael J. Wysocki wrote: > 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

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

2017-03-28 Thread Rafael J. Wysocki
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

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

2017-03-28 Thread Rafael J. Wysocki
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

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

2017-03-15 Thread Patrick Bellasi
On 06-Mar 09:29, Steven Rostedt wrote: > On Fri, 3 Mar 2017 09:11:25 +0530 > Viresh Kumar wrote: > > > On 02-03-17, 15:45, Patrick Bellasi wrote: > > > diff --git a/include/linux/sched.h b/include/linux/sched.h > > > index e2ed46d..739b29d 100644 > > > ---

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

2017-03-15 Thread Patrick Bellasi
On 06-Mar 09:29, Steven Rostedt wrote: > On Fri, 3 Mar 2017 09:11:25 +0530 > Viresh Kumar wrote: > > > On 02-03-17, 15:45, Patrick Bellasi wrote: > > > diff --git a/include/linux/sched.h b/include/linux/sched.h > > > index e2ed46d..739b29d 100644 > > > --- a/include/linux/sched.h > > > +++

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

2017-03-06 Thread Steven Rostedt
On Fri, 3 Mar 2017 09:11:25 +0530 Viresh Kumar wrote: > On 02-03-17, 15:45, Patrick Bellasi wrote: > > diff --git a/include/linux/sched.h b/include/linux/sched.h > > index e2ed46d..739b29d 100644 > > --- a/include/linux/sched.h > > +++ b/include/linux/sched.h > > @@

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

2017-03-06 Thread Steven Rostedt
On Fri, 3 Mar 2017 09:11:25 +0530 Viresh Kumar wrote: > On 02-03-17, 15:45, Patrick Bellasi wrote: > > diff --git a/include/linux/sched.h b/include/linux/sched.h > > index e2ed46d..739b29d 100644 > > --- a/include/linux/sched.h > > +++ b/include/linux/sched.h > > @@ -3653,6 +3653,7 @@ static

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

2017-03-02 Thread Viresh Kumar
On 02-03-17, 15:45, Patrick Bellasi wrote: > diff --git a/include/linux/sched.h b/include/linux/sched.h > index e2ed46d..739b29d 100644 > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -3653,6 +3653,7 @@ static inline unsigned long rlimit_max(unsigned int > limit) > #define

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

2017-03-02 Thread Viresh Kumar
On 02-03-17, 15:45, Patrick Bellasi wrote: > diff --git a/include/linux/sched.h b/include/linux/sched.h > index e2ed46d..739b29d 100644 > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -3653,6 +3653,7 @@ static inline unsigned long rlimit_max(unsigned int > limit) > #define

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

2017-03-02 Thread Patrick Bellasi
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

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

2017-03-02 Thread Patrick Bellasi
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