Page MenuHomeFreeBSD

LinuxKPI: add system_percpu_wq
ClosedPublic

Authored by bz on Sun, Jun 21, 9:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 15, 2:50 PM
Unknown Object (File)
Wed, Jul 15, 7:27 AM
Unknown Object (File)
Wed, Jul 15, 7:27 AM
Unknown Object (File)
Sat, Jul 11, 3:23 PM
Unknown Object (File)
Sat, Jul 4, 5:00 AM
Unknown Object (File)
Sat, Jul 4, 5:00 AM
Unknown Object (File)
Fri, Jul 3, 10:34 PM
Unknown Object (File)
Fri, Jul 3, 10:31 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 Not Applicable
Unit
Tests Not Applicable