Re: [RESEND PATCH v2 1/2] sched/rt: add utilization tracking
From: Peter Zijlstra
Date: Tue Aug 08 2017 - 10:01:37 EST
On Tue, Aug 08, 2017 at 03:56:26PM +0200, Vincent Guittot wrote:
>
> I don't think that IRQ tracking patch is working.
> update_irq_load_avg(rq->clock, cpu_of(rq), rq, 1); is called in
> update_rq_clock_task() which is never called in irq context. In order
> to use PELT for tracking irq and paravirt, we should call
> update_irq_load_avg() for every context switch between irq/paravirt
> and task which will probably be too heavy. Nevertheless, we can
>
Right, realized the same much later yesterday...