• guenthert 4 days ago

    " deadline: This field defines the virtual runtime limit for the current execution slice. When a process's vruntime exceeds this deadline, it becomes a candidate for context switching."

    Is this right? I would have thought that the deadline is used for the nearest-deadline-first scheduler to pick the task with, well, nearest deadline.

    https://www.kernel.org/doc/html/v6.1/scheduler/sched-deadlin... [a wee bit hard to follow, IMHO]

    https://lwn.net/Articles/397749/ [old, but more easily digestible with pictures!]

    • ashatampa 5 days ago

      Good one. Always enjoy reading your articles. Keep posting.

      • PaulDavisThe1st 5 days ago

        This is surprisingly good.