Re: [PATCH] sched/deadline: Always calculate end of period on sched_yield()
From: Daniel Bristot de Oliveira
Date: Mon Feb 15 2016 - 07:37:33 EST
On 02/15/2016 08:18 AM, Juri Lelli wrote:
> Do you think we could also skip some of the
> following updates/accounting in this case? Not sure we win anything by
> doing that, though.
I reviewed rostedt's patch and the following updates/accounting
operations. I agree with rostedt's patch, and also agree that
if (delta_exec == 0) it is a good idea to skip some += 0 and
function calls of the next updates/accounting operations,
before the if (dl_runtime_exeeded...).