Re: [PATCH 4/7] sched: Account rr and fifo tasks separately

2015-12-02 Thread Frederic Weisbecker
On Wed, Dec 02, 2015 at 01:53:39PM +0100, Peter Zijlstra wrote: > On Fri, Nov 13, 2015 at 03:22:06PM +0100, Frederic Weisbecker wrote: > > In order to evaluate tick dependency, we need to account SCHED_RR and > > SCHED_FIFO tasks separately as those policies don't have the same > > preemption requi

Re: [PATCH 4/7] sched: Account rr and fifo tasks separately

2015-12-02 Thread Peter Zijlstra
On Fri, Nov 13, 2015 at 03:22:06PM +0100, Frederic Weisbecker wrote: > In order to evaluate tick dependency, we need to account SCHED_RR and > SCHED_FIFO tasks separately as those policies don't have the same > preemption requirements. > > We still keep rt_nr_running as a cache to avoid additions

[PATCH 4/7] sched: Account rr and fifo tasks separately

2015-11-13 Thread Frederic Weisbecker
In order to evaluate tick dependency, we need to account SCHED_RR and SCHED_FIFO tasks separately as those policies don't have the same preemption requirements. We still keep rt_nr_running as a cache to avoid additions between nr_rr and nr_fifo all over the place. Cc: Christoph Lameter Cc: Chris