News: 0001611944

  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)

Linux 6.19 Sees Last Minute Scheduler Regression Fixes

([Linux Kernel] 6 Hours Ago Linux 6.19 Scheduler)


Ahead of the planned [1]Linux 6.19 stable kernel release tomorrow, there have been some last-minute fixes submitted for the scheduler code, including for performance regressions.

Linux 6.19 has been bumpy this cycle on the scheduler front. At the start of the Linux 6.19 cycle I pointed out [2]some Linux 6.19 performance regressions bisected back to the scheduler code. In taking care at least some of those, in late January [3]the NEXT_BUDDY feature was disabled due to performance regressions in Linux 6.19. Now ahead of tomorrow's v6.19 stable tag are some additional scheduler regression work.

The fixes sent out today for Linux 6.19 pertain to the [4]scheduler mm/cid code rewrite in 6.19 :

"Miscellaneous MMCID fixes to address bugs and performance regressions in the recent rewrite of the SCHED_MM_CID management code."

The [5]patch to optimize transitional CIDs when scheduling out is a notable one on its performance impact:

"With a thread pool benchmark which is configured to cross the mode switch boundaries frequently this reduces the number of bitmap operations by about 30% and increases the fastpath utilization in the low single digit percentage range."

[6]This patch to protect transitions on weakly ordered systems fixes hard lock-ups.

[7]This patch fixes a live lock caught by the BPF CI.

These MM_CID regression fixes were [8]sent out this morning as fixes for Linux 6.19 final. There's a chance Linus Torvalds could delay them since they are rather substantive a day before the stable release, but we'll see.



[1] https://www.phoronix.com/search/Linux+6.19

[2] https://www.phoronix.com/review/linux-619-sched-regress

[3] https://www.phoronix.com/news/Linux-6.19-Disabling-Next-Buddy

[4] https://www.phoronix.com/news/MM-CID-For-Linux-6.19

[5] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=sched/urgent&id=4463c7aa11a6e67169ae48c6804968960c4bffea

[6] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=sched/urgent&id=47ee94efccf6732e4ef1a815c451aacaf1464757

[7] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=sched/urgent&id=4327fb13fa47770183c4850c35382c30ba5f939d

[8] https://lore.kernel.org/lkml/aYcPrLN6PV5xr63J@gmail.com/



Burn's Hog Weighing Method:
(1) Get a perfectly symmetrical plank and balance it across a sawhorse.
(2) Put the hog on one end of the plank.
(3) Pile rocks on the other end until the plank is again perfectly
balanced.
(4) Carefully guess the weight of the rocks.
-- Robert Burns