News: 0001561831

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Single RunQueue Proxy Execution Appears Ready For Linux 6.17

([Linux Kernel] 5 Hours Ago Proxy Execution)


The long in development work around [1]proxy execution for the Linux kernel appears to be ready for the upcoming Linux 6.17 merge window with the Single RunQueue Proxy Execution patches queued into a TIP branch after going through 19 rounds of patch review/revisions.

John Stultz of Google has been leading the effort around proxy execution as a kernel mechanism for mutex-owning tasks to inherit the scheduling context of higher priority waiters. Proxy execution for this means of priority inheritance has been sought by Google for Android use to improve the latency in some workloads and more deterministic latency by avoiding priority inversion.

The [2]v19 patch series working on the Single RunQueue Proxy Execution have been queued into TIP.git's "sched/core" branch. Now having reached this milestone of hitting [3]sched/core it's likely to be submitted for the upcoming Linux 6.17 merge window. Barring any last minute issues or objections from Linus Torvalds, this proxy execution support should then premier in Linux 6.17.

The proxy execution feature is gated by the "SCHED_PROXY_EXEC" Kconfig switch and then at boot time is a kernel parameter of "sched_proxy_exec=" to enable/disable proxy execution support.



[1] https://www.phoronix.com/news/Linux-6.13-Prep-For-Proxy-Exec

[2] https://lore.kernel.org/all/20250712033407.2383110-2-jstultz@google.com/T/#u

[3] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=sched/core



ahrs

Serafean

Review Questions

(1) If Nerd on the planet Nutley starts out in his spaceship at 20 KPH,
and his speed doubles every 3.2 seconds, how long will it be before
he exceeds the speed of light? How long will it be before the
Galactic Patrol picks up the pieces of his spaceship?

(2) If Roger Rowdy wrecks his car every week, and each week he breaks
twice as many bones as before, how long will it be before he breaks
every bone in his body? How long will it be before they cut off
his insurance? Where does he get a new car every week?

(3) If Johnson drinks one beer the first hour (slow start), four beers
the next hour, nine beers the next, etc., and stacks the cans in a
pyramid, how soon will Johnson's pyramid be larger than King
Tut's? When will it fall on him? Will he notice?