Page MenuHomeFreeBSD

LinuxKPI: add system_percpu_wq
ClosedPublic

Authored by bz on Jun 21 2026, 9:24 PM.
Tags
None
Referenced Files
F166655273: D57730.id180256.diff
Sat, Aug 15, 6:31 AM
F166640998: D57730.diff
Sat, Aug 15, 3:19 AM
Unknown Object (File)
Wed, Aug 12, 9:18 AM
Unknown Object (File)
Tue, Aug 11, 4:45 PM
Unknown Object (File)
Mon, Aug 10, 7:16 AM
Unknown Object (File)
Sun, Aug 9, 6:12 PM
Unknown Object (File)
Sun, Aug 9, 4:52 PM
Unknown Object (File)
Sun, Aug 9, 4:35 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 74088
Build 70971: 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.