Wait queues, faster builds, and stable security fixes
Linus Torvalds posted a wait-queue overhaul aimed at lost wakeups in epoll and io_uring, while a kbuild series reports large reductions in kernel build time. Stable backports for SCTP cookie handling and CoDel, plus a reachable USB use-after-free, are the security items developers should track.
Linus overhauls wait queues to stop lost wakeups
Linus Torvalds posted a seven-patch series that changes wait queue ordering and adds WQ_FLAG_POLL_EXCLUSIVE. The work is meant to fix wakeup loss for epoll and io_uring. Anyone relying on those interfaces for event notification should watch how non-exclusive waiters are queued and whether the new flag changes poll behavior.
kbuild series reports large kernel build speedups
A sixth revision of a kbuild series reports build speedups of 36 to 90 percent from depcheck, modpost caching, and .mod.S emission. Several patches in the series have already been applied. If the remaining changes hold, incremental kernel builds get substantially cheaper for developers and CI.
SCTP cookie AUTH state validated before use
A 6.18.y backport validates SCTP cookie AUTH state before that state is used. The change is intended to stop out-of-bounds reads and writes and to remove a local privilege-escalation primitive. Stable-tree users should treat it as a security fix, not a routine protocol cleanup.
CoDel drop loop bounded per dequeue
A 6.18.y backport bounds the CoDel dropping loop so one dequeue call cannot spin without making progress. A tiny interval can keep the loop from advancing and softlock the system, and an unprivileged user can trigger it. The same stall class applies to fq_codel.
Perf coverage harness arrives with fixes it found
Arnaldo posted a thirteenth revision of a perf patchset that adds a coverage harness, seven fixes, and ten new tests covering data-type annotation and build features. The immediate value is the defects the harness already found, not only the test infrastructure. Annotation and build paths in perf are the areas under repair.
MGLRU adds frequency-guided promotion
A sixth revision of the multi-gen LRU series adds frequency-guided promotion and flag cleanup. The authors report gains of 10 to 50 percent, fix metrics and PSI accounting, and drop a page flag. Andrew Morton has tested the series, which is relevant to anyone tracking reclaim and memory-pressure accounting.
Idle selection leaves work on little CPUs
A regression report blames commit 61ea17a63719 for a 12 to 19 percent slowdown on big.LITTLE systems. The SIS_UTIL limit in select_idle_capacity() can leave busy tasks on little CPUs while big CPUs are idle. Several maintainers are discussing a revert.
USB devio release races an in-flight callback
A report describes a use-after-free window between usbdev_release() freeing struct usb_dev_state and an in-flight async_completed() callback, with no barrier between the two. The window is described as reachable, and the thread has drawn a wide discussion. Code that uses usbfs should follow whether a lifetime fix is posted.