Oddbean new post about | logout
 [$] The long road to lazy preemption

The kernel's CPU scheduler currently offers several preemption modes that
implement a range of tradeoffs between system throughput and response time.
Back in September 2023, a <a href="https://lwn.net/Articles/944686/" rel="nofollow">discussion
on scheduling</a> led to the concept of "lazy preemption", which could
simplify scheduling in the kernel while providing better results.  Things
went quiet for a while, but lazy preemption has returned in the form of https://lwn.net/ml/all/20241007074609.447006177@infradead.org

from Peter Zijlstra.  While the concept appears to work well, there is
still a fair amount of work to be done.

https://lwn.net/Articles/994322/