Page MenuHomeFreeBSD

LinuxKPI: add system_percpu_wq
ClosedPublic

Authored by bz on Jun 21 2026, 9:24 PM.
Tags
None
Referenced Files
F165670120: D57730.id180255.diff
Sun, Aug 9, 3:22 AM
F165668997: D57730.diff
Sun, Aug 9, 3:07 AM
F165662567: D57730.id.diff
Sun, Aug 9, 1:53 AM
F165555198: D57730.id180255.diff
Sat, Aug 8, 4:08 PM
F165507770: D57730.id180256.diff
Sat, Aug 8, 11:49 AM
Unknown Object (File)
Sat, Aug 8, 9:34 AM
Unknown Object (File)
Sat, Aug 8, 7:30 AM
Unknown Object (File)
Sat, Aug 8, 2:46 AM
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 Not Applicable
Unit
Tests Not Applicable

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.