Hacker News new | past | comments | ask | show | jobs | submit login
Linux Context Switching Internals: Process State and Memory (codingconfessions.com)
177 points by rbanffy 2 days ago | hide | past | favorite | 3 comments





" 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!]


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

This is surprisingly good.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: