On Fri, 2019-08-30 at 08:41 +0200, Vincent Guittot wrote: > > When tasks get their timeslice rounded up, that will increase > > the total sched period in a similar way the old code did by > > returning a longer period from __sched_period. > > sched_slice is not a strict value and scheduler will not schedule out > the task after the sched_slice (unless you enable HRTICK which is > disable by default). Instead it will wait for next tick to change the > running task > > sched_slice is mainly use to ensure a minimum running time in a row. > With this change, the running time of the high priority task will > most > probably be split in several slice instead of one I would be more than happy to drop this patch if you prefer. Just let me know. -- All Rights Reversed.