Re: [RFC v5 9/9] sched/deadline: also reclaim bandwidth not used by dl tasks

2017-03-27 Thread Luca Abeni
Hi Peter, On Mon, 27 Mar 2017 16:03:41 +0200 Peter Zijlstra wrote: > On Fri, Mar 24, 2017 at 04:53:02AM +0100, luca abeni wrote: > > > +static inline > > +void __dl_update(struct dl_bw *dl_b, s64 bw) > > +{ > > + struct root_domain *rd = container_of(dl_b, struct > > root_domain, dl_bw); > >

Re: [RFC v5 9/9] sched/deadline: also reclaim bandwidth not used by dl tasks

2017-03-27 Thread Peter Zijlstra
On Fri, Mar 24, 2017 at 04:53:02AM +0100, luca abeni wrote: > +static inline > +void __dl_update(struct dl_bw *dl_b, s64 bw) > +{ > + struct root_domain *rd = container_of(dl_b, struct root_domain, dl_bw); > + int i; > + > + RCU_LOCKDEP_WARN(!rcu_read_lock_sched_held(), > +

[RFC v5 9/9] sched/deadline: also reclaim bandwidth not used by dl tasks

2017-03-23 Thread luca abeni
From: Luca Abeni This commit introduces a per-runqueue "extra utilization" that can be reclaimed by deadline tasks. In this way, the maximum fraction of CPU time that can reclaimed by deadline tasks is fixed (and configurable) and does not depend on the total deadline utilization. Signed-off-by: