On Tue, 2026-11-17 at 09:43 +0000, Tvrtko Ursulin wrote:
> Currently the starting timestamp of the next job on the timeline is
> adjusted to the end of a preceding job. This works if the next job has
> been submitted while the preceding job was still executing, but not if it
> was submitted in the window between it finishing and free job work running
> the timestamp adjustment.
> 
> This can happen because the run job and free job work items share the same
> ordered workqueue and run job can easily submit the next job before the
> free job gets a chance to run. This over accounting window is present
> especially with single credit schedulers, but not limited too.

What's a single credit scheduler? Maybe rephrase that?

> 
> Fix it by only adjusting the starting timestamp if it is not already after
> the finish time of the preceding job.
> 
> While at it move the logic to a helper to keep indendation at bay.

typo, indentation.


Acked-by: Philipp Stanner <[email protected]>

Feel free to push yourself, with the above addressed if you like.


P.

Reply via email to