4 ms·
Linux Context Switching Internals: Process State and Memory
- PaulDavisThe1st 2y agoThis is surprisingly good.
- ashatampa 2y agoGood one. Always enjoy reading your articles. Keep posting.
- guenthert 2y 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-deadline.html https://www.kernel.org/doc/html/v6.1/scheduler/sched-deadlin... [a wee bit hard to follow, IMHO] https://lwn.net/Articles/397749/ https://lwn.net/Articles/397749/ [old, but more easily digestible with pictures!]