actions.
Signed-off-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
include/linux/sched.h |1 +
kernel/sched/core.c |3 +++
2 files changed, 4 insertions(+)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index d211247..640c741 100644
--- a/include/linux/sched.h
+++ b/include
ine.c b/kernel/sched/deadline.c
index b1982a7..223cc3e 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -10,6 +10,7 @@
* miss some of their deadlines), and won't affect any other task.
*
* Copyright (C) 2012 Dario Faggioli ,
+ *Juri Lelli ,
*
well.
Signed-off-by: Juri Lelli
---
include/linux/sched.h |1 -
kernel/sched/core.c | 282 ++-
kernel/sched/deadline.c |3 +-
kernel/sched/sched.h| 22 ++--
kernel/sysctl.c |7 --
5 files changed, 143 insertions(+), 172
From: Dario Faggioli
Add in Documentation/scheduler/ some hints about the design
choices, the usage and the future possible developments of the
sched_dl scheduling class and of the SCHED_DEADLINE policy.
Signed-off-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
Documentation/scheduler
ir
already existing counterpart. Future patches that implement scheduling
policies able to exploit the new data structure must also take care of
modifying the *2() calls accordingly with their own purposes.
Signed-off-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
arch/arm/include/asm/unistd.h
From: Harald Gustafsson
Make it possible to specify a period (different or equal than
deadline) for -deadline tasks.
Signed-off-by: Harald Gustafsson
Signed-off-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
include/linux/sched.h |1 +
kernel/sched/core.c | 15
From: Dario Faggioli
Add some typical sched-debug output to dl_rq(s) and some
schedstats to -deadline tasks.
Signed-off-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
include/linux/sched.h | 13 +
kernel/sched/deadline.c | 45
-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
include/linux/sched.h |9 -
kernel/fork.c |1 +
kernel/rtmutex.c| 13 +--
kernel/sched/core.c | 34 +++---
kernel/sched/deadline.c | 91 +++
ke
http://retis.sssup.it/~jlelli/papers/Ospert11Lelli.pdf
[2] http://www.spinics.net/lists/linux-rt-users/msg06778.html
Signed-off-by: Juri Lelli
---
kernel/sched/Makefile |2 +-
kernel/sched/core.c|3 +
kernel/sched/cpudeadline.c |
be created until the sum of their bandwidths stay below:
M * (sched_dl_runtime_us / sched_dl_period_us)
It is also possible to disable this bandwidth management logic, and
be thus free of oversubscribing the system up to any arbitrary level.
Signed-off-by: Dario Faggioli
Signed-off-by: Juri
s and the list of tasks blocked on
a pi-lock.
Signed-off-by: Peter Zijlstra
Signed-off-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
include/linux/init_task.h | 10 +++
include/linux/rtmutex.h | 18 ++
include/linux/sched.h |4 +-
kernel/fork.c |3 +-
k
ced.
As a consequence of applying this patch there will be three wakeup
latency tracer:
* "wakeup", that deals with all tasks in the system;
* "wakeup_rt", that deals with -rt and -deadline tasks only;
* "wakeup_dl", that deals with -deadline tasks only.
Signed-off-by: D
From: Dario Faggioli
Make the core scheduler and load balancer aware of the load
produced by -deadline tasks, by updating the moving average
like for sched_rt.
Signed-off-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
kernel/sched/deadline.c |2 ++
1 file changed, 2 insertions(+)
diff
he interactions between sched/dl
and the other existing scheduling classes.
Signed-off-by: Dario Faggioli
Signed-off-by: Michael Trimarchi
Signed-off-by: Fabio Checconi
Signed-off-by: Juri Lelli
---
arch/arm/include/asm/unistd.h |2 +-
include/linux/sched.h | 69 +++-
include/uap
ADLINE avg_update accounting.
sched: add schedstats for -deadline tasks.
sched: add latency tracing for -deadline tasks.
sched: drafted deadline inheritance logic.
sched: add bandwidth management for sched_dl.
sched: add sched_dl documentation.
Harald Gustafsson (1):
sched: add period sup
From: Peter Zijlstra
Grow rudimentary u128 support without relying on gcc/libgcc.
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Andrew Morton
Cc: Linus Torvalds
Signed-off-by: Peter Zijlstra
Link: http://lkml.kernel.org/n/tip-pppjsy9fz2v57x98hsts2...@git.kernel.org
---
arch/alpha/include/asm/Kbu
From: Peter Zijlstra
Enable __int128 usage when available, if not, provide asm versions of
mul_u64_u64 and add_u128.
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: H. Peter Anvin
Cc: Andrew Morton
Cc: Linus Torvalds
Signed-off-by: Peter Zijlstra
Link: http://lkml.kernel.org/n/tip-67zk6v8agsi8m7k1
actions.
Signed-off-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
include/linux/sched.h |1 +
kernel/sched/core.c |3 +++
2 files changed, 4 insertions(+)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 0dd42a0..c8955a2 100644
--- a/include/linux/sched.h
+++ b/include
ir
already existing counterpart. Future patches that implement scheduling
policies able to exploit the new data structure must also take care of
modifying the *2() calls accordingly with their own purposes.
Signed-off-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
arch/arm/include/asm/unistd.h
he interactions between sched/dl
and the other existing scheduling classes.
Signed-off-by: Dario Faggioli
Signed-off-by: Michael Trimarchi
Signed-off-by: Fabio Checconi
Signed-off-by: Juri Lelli
---
include/linux/sched.h | 69 -
include/uapi/linux/sched.h |1 +
From: Dario Faggioli
Make the core scheduler and load balancer aware of the load
produced by -deadline tasks, by updating the moving average
like for sched_rt.
Signed-off-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
kernel/sched/dl.c |2 ++
1 file changed, 2 insertions(+)
diff --git
From: Harald Gustafsson
Make it possible to specify a period (different or equal than
deadline) for -deadline tasks.
Signed-off-by: Harald Gustafsson
Signed-off-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
include/linux/sched.h |1 +
kernel/sched/core.c | 15
ced.
As a consequence of applying this patch there will be three wakeup
latency tracer:
* "wakeup", that deals with all tasks in the system;
* "wakeup_rt", that deals with -rt and -deadline tasks only;
* "wakeup_dl", that deals with -deadline tasks only.
Signed-off-by: D
From: Dario Faggioli
Add some typical sched-debug output to dl_rq(s) and some
schedstats to -deadline tasks.
Signed-off-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
include/linux/sched.h | 13 +
kernel/sched/debug.c | 46
s and the list of tasks blocked on
a pi-lock.
Signed-off-by: Peter Zijlstra
Signed-off-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
include/linux/init_task.h | 10 +++
include/linux/rtmutex.h | 18 ++
include/linux/sched.h |4 +-
kernel/fork.c |3 +-
k
-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
include/linux/sched.h |9 -
kernel/fork.c |1 +
kernel/rtmutex.c | 13 +--
kernel/sched/core.c | 34 +++---
kernel/sched/dl.c | 91 -
kernel/sch
well.
Signed-off-by: Juri Lelli
---
include/linux/sched.h |1 -
kernel/sched/core.c | 282 +++--
kernel/sched/dl.c |3 +-
kernel/sched/sched.h | 22 ++--
kernel/sysctl.c |7 --
5 files changed, 143 insertions(+), 172
http://retis.sssup.it/~jlelli/papers/Ospert11Lelli.pdf
[2] http://www.spinics.net/lists/linux-rt-users/msg06778.html
Signed-off-by: Juri Lelli
---
kernel/sched/Makefile |2 +-
kernel/sched/core.c |3 +
kernel/sched/cpudl.c | 208 +
k
From: Dario Faggioli
Add in Documentation/scheduler/ some hints about the design
choices, the usage and the future possible developments of the
sched_dl scheduling class and of the SCHED_DEADLINE policy.
Signed-off-by: Dario Faggioli
Signed-off-by: Juri Lelli
---
Documentation/scheduler
be created until the sum of their bandwidths stay below:
M * (sched_dl_runtime_us / sched_dl_period_us)
It is also possible to disable this bandwidth management logic, and
be thus free of oversubscribing the system up to any arbitrary level.
Signed-off-by: Dario Faggioli
Signed-off-by: Juri
kernel/sched/dl.c
index 7e12ceb..bc8c310 100644
--- a/kernel/sched/dl.c
+++ b/kernel/sched/dl.c
@@ -10,6 +10,7 @@
* miss some of their deadlines), and won't affect any other task.
*
* Copyright (C) 2012 Dario Faggioli ,
+ *Juri Lelli ,
*Michael Trima
On 10/24/2012 03:27 PM, H. Peter Anvin wrote:
On 10/24/2012 02:53 PM, Juri Lelli wrote:
diff --git a/arch/x86/include/asm/math128.h b/arch/x86/include/asm/math128.h
new file mode 100644
index 000..c0e2a6c
--- /dev/null
+++ b/arch/x86/include/asm/math128.h
@@ -0,0 +1,39 @@
+#ifndef
Adding H. Peter Anvin to the Cc list.
Best,
- Juri
On 10/24/2012 02:53 PM, Juri Lelli wrote:
From: Peter Zijlstra
Grow rudimentary u128 support without relying on gcc/libgcc.
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Andrew Morton
Cc: Linus Torvalds
Signed-off-by: Peter Zijlstra
Link
On 10/25/2012 12:18 AM, Ingo Molnar wrote:
* Juri Lelli wrote:
kernel/sched/dl.c | 1650
I've got a stupid nit here: please make that deadline.c. Same
for cpudl.c.
Sure, no problems with that.
Thanks and Regards,
- Juri
Hi,
first of all thanks to everybody for all this comments!
On 10/26/2012 05:56 AM, Peter Zijlstra wrote:
On Fri, 2012-10-26 at 12:44 +0200, Peter Zijlstra wrote:
We can still have the user space interface handing in the information
in nsec resolution, but it's reasonable to scale it down to so
On 10/26/2012 11:28 AM, Steven Rostedt wrote:
On Fri, 2012-10-26 at 11:12 -0700, Juri Lelli wrote:
- scale down (right by 10) incoming parameters as to do internal
math with ~1us resolution (and scale up outgoing params)
Would scaling down by 9 be sufficient? That way the resolution is
to implement the test (second patch). Third patch fixes up s^2
calculation (applying Welford's method).
Juri Lelli (3):
ftrace: refactor basis statistics calculation code
ftrace: test basic statistics calculation
ftrace: fix stddev calculation
kernel/trace/ftrace.c |
Refactor function_stat_show() code grouping avg and stddev calculations
inside a single function (function_stat_calc()). We are now able to call
it from different places.
Signed-off-by: Juri Lelli
Cc: Steven Rostedt
Cc: Frederic Weisbecker
Cc: Ingo Molnar
---
kernel/trace/ftrace.c | 46
Perform a simple test comparing static and running (implemented by
function_stat_calc()) average and stddev calculations.
Signed-off-by: Juri Lelli
Cc: Steven Rostedt
Cc: Frederic Weisbecker
Cc: Ingo Molnar
---
kernel/trace/trace_selftest.c | 72 +
1
-off-by: Juri Lelli
Cc: Steven Rostedt
Cc: Frederic Weisbecker
Cc: Ingo Molnar
---
kernel/trace/ftrace.c |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 6caaa0e..073a328 100644
--- a/kernel/trace/ftrace.c
+++ b
On 06/12/2013 05:09 AM, Steven Rostedt wrote:
On Tue, 2013-06-11 at 11:08 +0200, Juri Lelli wrote:
When FUNCTION_GRAPH_TRACER is enabled, ftrace can profile kernel functions
and print basic statistics about them. Unfortunately, running stddev
calculation is wrong. This patch corrects it
-off-by: Juri Lelli
Cc: Steven Rostedt
Cc: Frederic Weisbecker
Cc: Ingo Molnar
---
kernel/trace/ftrace.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 6c508ff..6c3fce2 100644
--- a/kernel/trace/ftrace.c
+++ b
-by: Juri Lelli
Cc: Ingo Molnar
Cc: Clark Williams
Cc: Steven Rostedt
Cc: Peter Zijlstra
---
kernel/rtmutex.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/kernel/rtmutex.c b/kernel/rtmutex.c
index 1e09308..0dd6aec 100644
--- a/kernel/rtmutex.c
+++ b/kernel/rtmutex.c
said, I just wanted to add something, sorry if I misinterpret the
purpose of this discussion.
Best Regards,
- Juri Lelli
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vge
Hi Rob,
On 20/07/16 13:56, Rob Herring wrote:
> On Tue, Jul 19, 2016 at 01:40:41PM +0100, Juri Lelli wrote:
> > ARM systems may be configured to have cpus with different power/performance
> > characteristics within the same chip. In this case, additional information
> > has
Hi,
On 18/07/16 21:37, Xunlei Pang wrote:
> On 2016/07/18 at 21:04, Juri Lelli wrote:
> > On 15/07/16 18:39, Xunlei Pang wrote:
> >> On 2016/07/13 at 18:58, Juri Lelli wrote:
> > [...]
> >
> >> Since this is only called for queued cases now, there is no ne
On 21/07/16 15:21, Juri Lelli wrote:
> Hi,
>
> On 18/07/16 21:37, Xunlei Pang wrote:
> > On 2016/07/18 at 21:04, Juri Lelli wrote:
> > > On 15/07/16 18:39, Xunlei Pang wrote:
> > >> On 2016/07/13 at 18:58, Juri Lelli wrote:
> > > [...]
> > >
On 21/07/16 15:36, Juri Lelli wrote:
> On 21/07/16 15:21, Juri Lelli wrote:
> > Hi,
> >
> > On 18/07/16 21:37, Xunlei Pang wrote:
> > > On 2016/07/18 at 21:04, Juri Lelli wrote:
> > > > On 15/07/16 18:39, Xunlei Pang wrote:
> &g
om dl_time_before(), the kernel should handle
> correctly abs deadlines wrap-arounds.
>
> This patch fixes the problem with a minimally invasive change that
> forces cpudl_change_key() to heapify up in this case.
>
> Cc: Peter Zijlstra
> Cc: Juri Lelli
> Cc: Luca A
On 01/08/16 12:43, Juri Lelli wrote:
> Hi,
>
> On 19/07/16 11:44, Tommaso Cucinotta wrote:
> > Current code in cpudeadline.c has a bug in re-heapifying when adding a
> > new element at the end of the heap, because a deadline value of 0 is
> > temporarily set in the new
of same code)
s/repeatition/repetition/
> 2. call to cpudl_change_key() replaced with heapify_up() when
>cpudl_set actually inserts a new node in the heap
>
Maybe we want a separate patch (we usually want 1 patch - 1 change) ?
> Cc: Peter Zijlstra
> Cc: Juri Lelli
> Cc: Luc
Hi Tommaso,
On 08/09/16 22:09, Tommaso Cucinotta wrote:
> This is a documentation only patch, explaining the
> behavior of sched_yield() when a SCHED_DEADLINE
> task calls it (give up remaining runtime and
> suspend till next period).
I like the patch, but changelog lacks a SoB.
Thanks,
- Juri
On 31/08/16 18:40, Peter Zijlstra wrote:
> On Wed, Aug 31, 2016 at 06:28:10PM +0200, Thomas Gleixner wrote:
> > > That is the way it's been with cpufreq and many systems (including all
> > > mobile devices) rely on that to not destroy power. RT + variable cpufreq
> > > is not deterministic.
> > >
On 31/08/16 10:14, Vincent Guittot wrote:
> On 30 August 2016 at 18:28, Juri Lelli wrote:
> > Hi Vincent,
> >
> > On 16/08/16 10:20, Vincent Guittot wrote:
> >> Hi Juri,
> >>
> >>
> >> On 19 July 2016 at 14:40
On 01/09/16 10:22, Vincent Guittot wrote:
> On 31 August 2016 at 19:08, Juri Lelli wrote:
> > On 31/08/16 10:14, Vincent Guittot wrote:
> >> On 30 August 2016 at 18:28, Juri Lelli wrote:
> >> > Hi Vincent,
> >> >
> >> > On
On 01/09/16 14:48, Steve Muckle wrote:
> On Wed, Aug 31, 2016 at 06:00:02PM +0100, Juri Lelli wrote:
> > > Another problem is that we have many semi related knobs; we have the
> > > global RT runtime limit knob, but that doesn't affect cpufreq (maybe it
> > > sho
mutex_setprio() takes care of that already for us.
Cc: Ingo Molnar
Cc: Peter Zijlstra
Cc: Steven Rostedt
Cc: Luca Abeni
Cc: Xunlei Pang
Signed-off-by: Juri Lelli
---
Changes from v4:
- remove dead code checking for boosted status, as never triggered
after rt_mutex_setprio()
Changes f
On 22/07/16 10:58, Xunlei Pang wrote:
> On 2016/07/21 at 22:46, Juri Lelli wrote:
[...]
> > @@ -1734,9 +1724,11 @@ static void switched_to_dl(struct rq *rq, struct
> > task_struct *p)
> > if (task_on_rq_queued(p)) {
> > /*
> > * If p
On 05/08/16 09:56, Steven Rostedt wrote:
> On Fri, 5 Aug 2016 11:09:59 +0100
> Juri Lelli wrote:
>
> > @@ -1720,19 +1720,28 @@ static void switched_from_dl(struct rq *rq, struct
> > task_struct *p)
> > */
> > static void switched_to_dl(struct rq *rq, struct
On 05/08/16 10:54, Steven Rostedt wrote:
> On Fri, 5 Aug 2016 15:34:44 +0100
> Juri Lelli wrote:
>
> > On 05/08/16 09:56, Steven Rostedt wrote:
> > > On Fri, 5 Aug 2016 11:09:59 +0100
> > > Juri Lelli wrote:
> > >
> > > > @@ -1720,19
mutex_setprio() takes care of that already for us.
Cc: Ingo Molnar
Cc: Peter Zijlstra
Cc: Steven Rostedt
Cc: Luca Abeni
Cc: Xunlei Pang
Signed-off-by: Juri Lelli
Reviewed-by: Steven Rostedt
---
Changes from v5:
- simply return if task is not enqueued; improves readability and
reduces
Hi,
On 21/06/17 10:16, Viresh Kumar wrote:
> Use the standard way of returning errors instead of returning 0(failure)
> OR 1(success) and making it hard to read.
>
> Signed-off-by: Viresh Kumar
> ---
> arch/arm/kernel/topology.c | 2 +-
> drivers/base/arch_topology.c | 8
> 2 files c
Hi,
On 21/06/17 10:16, Viresh Kumar wrote:
> We can reuse "cap_parsing_failed" instead of keeping an additional
> variable here.
>
> Signed-off-by: Viresh Kumar
> ---
> drivers/base/arch_topology.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/base/arch_
Hi,
On 25/05/17 15:18, Greg KH wrote:
> On Thu, Apr 20, 2017 at 03:43:16PM +0100, Juri Lelli wrote:
> > Now that some functions that deal with arch topology information live
> > under drivers, there is a clash of naming that might create confusion.
> >
> > Tidy thin
On 29/05/17 12:46, Dietmar Eggemann wrote:
> On 05/29/2017 11:58 AM, Greg KH wrote:
> > On Mon, May 29, 2017 at 11:20:24AM +0200, Dietmar Eggemann wrote:
> > > Hi Greg,
> > >
> > > On 05/26/2017 08:36 PM, Greg KH wrote:
> > > > On Fri, Ma
Hi,
On 30/08/15 12:25, Wanpeng Li wrote:
> On 8/10/15 10:10 PM, Juri Lelli wrote:
>> On 06/08/15 09:39, Wanpeng Li wrote:
>>> Hi Juri,
>>>
>> Hi,
>>
>>> 2015-05-06 16:14 GMT+08:00 Juri Lelli >> <mailto:juri.le...@arm.com>>:
>>&g
Hi Luca,
On 15/10/15 12:09, Luca Abeni wrote:
> Commit 9d5142624256 ("sched/deadline: Reduce rq lock contention by
> eliminating locking of non-feasible target") broke select_task_rq_dl()
> and find_lock_later_rq(), because it introduced a comparison between
> the local task's deadline and dl.earl
Hi,
On 16/10/15 09:03, Luca Abeni wrote:
> On 10/15/2015 06:40 PM, Juri Lelli wrote:
>> On 15/10/15 12:09, Luca Abeni wrote:
>>> Commit 9d5142624256 ("sched/deadline: Reduce rq lock contention by
>>> eliminating locking of non-feasible
rt_mutex_waiter_less() check of tasks deadlines is open coded. Since this
is subject to wraparound issues, make it use the correct helper.
Cc: Ingo Molnar
Cc: Peter Zijlstra
Reported-by: Luca Abeni
Signed-off-by: Juri Lelli
---
kernel/locking/rtmutex.c | 3 ++-
1 file changed, 2 insertions
Cc: Peter Zijlstra
Cc: Li Zefan
Cc: cgro...@vger.kernel.org
Reported-by: Wanpeng Li
Signed-off-by: Juri Lelli
---
include/linux/sched.h | 2 ++
kernel/cpuset.c | 41 +
kernel/sched/core.c | 17 +
3 files changed, 60 insertions
The return value of (do_)balance_runtime() is not consumed by anybody.
Make them return void.
Cc: Ingo Molnar
Cc: Peter Zijlstra
Signed-off-by: Juri Lelli
---
kernel/sched/rt.c | 22 ++
1 file changed, 6 insertions(+), 16 deletions(-)
diff --git a/kernel/sched/rt.c b
Move dl_time_before static definition in include/linux/sched/deadline.h
so that it can be used by different parties without being re-defined.
Cc: Ingo Molnar
Cc: Peter Zijlstra
Reported-by: Luca Abeni
Signed-off-by: Juri Lelli
---
include/linux/sched/deadline.h | 5 +
kernel/sched
of admission control decisions (admitted bandwidth). This patch
is invasive, but it seems to fix the problem (and I couldn't find
cleaner fixes :-/). Please give special attention to it :-).
Thanks!
Best,
- Juri
Juri Lelli (4):
sched/{cpuset,core}: restore complete root_domain status a
On 15/08/15 13:35, Peter Zijlstra wrote:
> On Tue, Jul 07, 2015 at 07:24:21PM +0100, Morten Rasmussen wrote:
>> diff --git a/kernel/sched/cpufreq_sched.c b/kernel/sched/cpufreq_sched.c
>> new file mode 100644
>> index 000..5020f24
>> --- /dev/null
>> +++ b/kernel/sched/cpufreq_sched.c
>> @@ -0,
On 01/08/18 23:19, Steven Rostedt wrote:
> On Wed, 11 Jul 2018 09:29:48 +0200
> Juri Lelli wrote:
>
> > Mark noticed that syzkaller is able to reliably trigger the following
> >
> > dl_rq->running_bw > dl_rq->this_bw
> > WARNING: CPU:
Hi,
Minor comments below.
On 06/08/18 17:39, Patrick Bellasi wrote:
[...]
> + *
> + * Task Utilization Attributes
> + * ===
> + *
> + * A subset of sched_attr attributes allows to specify the utilization which
> + * should be expected by a task. These attributes allows t
On 06/08/18 17:39, Patrick Bellasi wrote:
[...]
> @@ -4218,6 +4245,13 @@ static int __sched_setscheduler(struct task_struct *p,
> return retval;
> }
>
> + /* Configure utilization clamps for the task */
> + if (attr->sched_flags & SCHED_FLAG_UTIL_CLAMP) {
> +
Hi,
On 06/08/18 17:39, Patrick Bellasi wrote:
[...]
> @@ -223,13 +224,25 @@ static unsigned long sugov_get_util(struct sugov_cpu
> *sg_cpu)
>* utilization (PELT windows are synchronized) we can directly add them
>* to obtain the CPU's actual utilization.
>*
> - * CF
On 21/06/18 20:45, Peter Zijlstra wrote:
> On Fri, Jun 08, 2018 at 02:09:47PM +0200, Vincent Guittot wrote:
> > static unsigned long sugov_aggregate_util(struct sugov_cpu *sg_cpu)
> > {
> > struct rq *rq = cpu_rq(sg_cpu->cpu);
> > + unsigned long util;
> >
> > if (rq->rt.rt_nr_running
On 09/08/18 10:14, Patrick Bellasi wrote:
> On 07-Aug 14:35, Juri Lelli wrote:
> > On 06/08/18 17:39, Patrick Bellasi wrote:
> >
> > [...]
> >
> > > @@ -4218,6 +4245,13 @@ static int __sched_setscheduler(struct task_struct
> > &
On 09/08/18 16:23, Patrick Bellasi wrote:
> On 09-Aug 11:50, Juri Lelli wrote:
> > On 09/08/18 10:14, Patrick Bellasi wrote:
> > > On 07-Aug 14:35, Juri Lelli wrote:
> > > > On 06/08/18 17:39, Patrick Bellasi wrote:
>
> [...]
>
> > > 1) make
On 13/08/18 11:12, Patrick Bellasi wrote:
> Hi Vincent!
>
> On 09-Aug 18:03, Vincent Guittot wrote:
> > > On 07-Aug 15:26, Juri Lelli wrote:
>
> [...]
>
> > > > > + util_cfs = cpu_util_cfs(rq);
> > > > > + util_rt = cpu_uti
On 13/08/18 13:14, Patrick Bellasi wrote:
> On 07-Aug 11:59, Juri Lelli wrote:
> > Hi,
> >
> > Minor comments below.
> >
> > On 06/08/18 17:39, Patrick Bellasi wrote:
> >
> > [...]
> >
> > > + *
> > > + * Task Utilization A
On 23/08/18 18:52, Dietmar Eggemann wrote:
> Hi,
>
> On 08/21/2018 01:54 AM, Miguel de Dios wrote:
> > On 08/17/2018 11:27 AM, Steve Muckle wrote:
> > > From: John Dias
> > >
> > > When rt_mutex_setprio changes a task's scheduling class to RT,
> > > we're seeing cases where the task's vruntime i
On 20/07/18 14:48, Peter Zijlstra wrote:
> On Fri, Jul 20, 2018 at 02:46:15PM +0200, Peter Zijlstra wrote:
> > On Fri, Jul 20, 2018 at 11:16:30AM +0200, Daniel Bristot de Oliveira wrote:
> > > diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
> > > index fbfc3f1d368a..8b50eea4b607 1006
On 20/07/18 17:36, Daniel Bristot de Oliveira wrote:
> On 07/20/2018 02:53 PM, Juri Lelli wrote:
> > On 20/07/18 14:48, Peter Zijlstra wrote:
> >> On Fri, Jul 20, 2018 at 02:46:15PM +0200, Peter Zijlstra wrote:
> >>> On Fri, Jul 20, 2018 at 11:16:30AM +0200, Daniel Br
Hi,
On 25/01/18 14:28, kernel test robot wrote:
>
> FYI, we noticed the following commit (built with gcc-7):
>
> commit: e0367b12674bf4420870cd0237e3ebafb2ec9593 ("sched/deadline: Move CPU
> frequency selection triggering points")
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.g
On 25/01/18 13:24, Cyril Hrubis wrote:
> Hi!
> > Hummm, wondering how LTP sched tests could trigger this, since a quick
> > grep into ltp didn't show DEADLINE usage.
>
> See kernel/syscalls/sched_setattr/sched_setattr01.c
Right, saw that. I was still thinking though why the report seemed to
point
Hi Greg,
I'm not sure what your plans are with this set. Are we targeting 4.12?
IMHO, if possible, it would be good to have this refactoring in now, so
that we can base further development on it for the next cycle.
Thanks,
- Juri
On 20/04/17 15:43, Juri Lelli wrote:
> Hi,
>
>
On 11/05/17 10:59, Greg KH wrote:
> On Thu, May 11, 2017 at 09:48:30AM +0100, Juri Lelli wrote:
> > Hi Greg,
> >
> > I'm not sure what your plans are with this set. Are we targeting 4.12?
> >
> > IMHO, if possible, it would be good to have this refactoring i
Hi,
On 10/05/17 21:03, Xunlei Pang wrote:
> When a contrained task is throttled by dl_check_constrained_dl(),
> it may carry the remaining positive runtime, as a result when
> dl_task_timer() fires and calls replenish_dl_entity(), it will
> not be replenished correctly due to the positive dl_se->r
Hi,
On 10/05/17 09:50, Steven Rostedt wrote:
> [
> This is an RFC as I didn't run any benchmarks. It just seemed a bit
> weird to me that we would add such a check instead of just clearing
> these variables out regardless.
> ]
>
> The function replenish_dl_entity() clears dl_throttled and
Hi,
On 12/05/17 10:25, Steven Rostedt wrote:
> On Fri, 12 May 2017 14:48:45 +0900
> Byungchul Park wrote:
>
> > cpudl.elements is an instance that should be protected with a spin lock.
> > Without it, the code would be insane.
>
> And how much contention will this add? Spin locks in the schedul
off-by: Daniel Bristot de Oliveira
> Cc: Jonathan Corbet
> Cc: Juri Lelli
> Cc: Luca Abeni
> Cc: Tommaso Cucinotta
> Cc: Claudio Scordino
> Cc: Peter Zijlstra
> Cc: linux-...@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
>
> ---
> Documentation/scheduler/sch
On 09/01/18 16:50, Rafael J. Wysocki wrote:
> On Tue, Jan 9, 2018 at 3:43 PM, Leonard Crestez
> wrote:
[...]
> > Every 4 seconds (really it's /proc/sys/kernel/watchdog_thresh * 2 / 5
> > and watchdog_thresh defaults to 10). There is a per-cpu hrtimer which
> > wakes the per-cpu thread in order
On 10/01/18 13:35, Rafael J. Wysocki wrote:
> On Wed, Jan 10, 2018 at 11:54 AM, Juri Lelli wrote:
> > On 09/01/18 16:50, Rafael J. Wysocki wrote:
> >> On Tue, Jan 9, 2018 at 3:43 PM, Leonard Crestez
> >> wrote:
> >
> > [...]
> >
> &g
On 24/03/18 00:01, Rafał Miłecki wrote:
> On 23 March 2018 at 15:09, Juri Lelli wrote:
> > On 23/03/18 14:43, Rafał Miłecki wrote:
> >> Hi,
> >>
> >> On 23 March 2018 at 10:47, Juri Lelli wrote:
> >> > I've got a Dell XPS 13 9343/0TM99H (BI
On 23/03/18 14:44, Waiman Long wrote:
> On 03/23/2018 03:59 AM, Juri Lelli wrote:
[...]
> > OK, thanks for confirming. Can you tell again however why do you think
> > we need to remove sched_load_balance from root level? Won't we end up
> > having tasks put on isolated
On 26/03/18 16:28, Waiman Long wrote:
> On 03/26/2018 08:47 AM, Juri Lelli wrote:
> > On 23/03/18 14:44, Waiman Long wrote:
> >> On 03/23/2018 03:59 AM, Juri Lelli wrote:
> > [...]
> >
> >>> OK, thanks for confirming. Can you tell again howeve
Hi Daniel,
On 27/03/18 12:26, Daniel Lezcano wrote:
> On 27/03/2018 04:03, Leo Yan wrote:
> > Hi Daniel,
> >
> > On Wed, Feb 21, 2018 at 04:29:27PM +0100, Daniel Lezcano wrote:
> >> The cpu idle cooling driver performs synchronized idle injection across all
> >> cpus belonging to the same cluster
1 - 100 of 1334 matches
Mail list logo