Page MenuHomeFreeBSD

LinuxKPI: add system_percpu_wq
ClosedPublic

Authored by bz on Jun 21 2026, 9:24 PM.
Tags
None
Referenced Files
F170593328: D57730.diff
Sat, Sep 5, 1:39 PM
F170501034: D57730.diff
Sat, Sep 5, 3:10 AM
Unknown Object (File)
Fri, Sep 4, 8:59 PM
Unknown Object (File)
Thu, Sep 3, 10:44 PM
Unknown Object (File)
Thu, Sep 3, 5:15 PM
Unknown Object (File)
Thu, Sep 3, 1:29 AM
Unknown Object (File)
Tue, Sep 1, 9:27 PM
Unknown Object (File)
Tue, Sep 1, 7:26 PM
Subscribers

Details

Summary

In Linux v6.17 system_wq was replaces (renamed to) system_percpu_wq,
with the old name still present.

We just alias system_percpu_wq to linux_system_short_wq like we do
for system_wq to keep both around for the forseeable future.

Note: the original system_wq was a per-cpu queue upstream as well
based on my understanding but we never implemented it as such.
That means we are still lacking a per-cpu implementation for
system_percpu_wq but at least we do not chnage the status-quo
of the LinuxKPI implementation with this.

Note2: we should add a check somewhere for LINUXKPI_VESION >=
61700 to print a warning if anyone still uses the system_wq
to detect any possible sami-native or out-of-tree drivers
relying on this and not properly updating.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 74089
Build 70972: arc lint + arc unit

Event Timeline

bz requested review of this revision.Jun 21 2026, 9:24 PM

The actual change was in 6.17; comments etc got updated for 6.18.

Anyone? Otherwise I'll commit this the next days.

This revision is now accepted and ready to land.Jul 9 2026, 9:53 PM
This revision was automatically updated to reflect the committed changes.