Page MenuHomeFreeBSD

LinuxKPI: add system_percpu_wq
Needs ReviewPublic

Authored by bz on Sun, Jun 21, 9:24 PM.
Tags
None
Referenced Files
F160717172: D57730.id180255.diff
Sat, Jun 27, 3:26 AM
F160668769: D57730.id180256.diff
Fri, Jun 26, 3:25 PM
Unknown Object (File)
Fri, Jun 26, 7:00 AM
Unknown Object (File)
Fri, Jun 26, 6:38 AM
Unknown Object (File)
Fri, Jun 26, 6:33 AM
Unknown Object (File)
Wed, Jun 24, 8:02 AM
Unknown Object (File)
Mon, Jun 22, 7:33 PM
Subscribers

Details

Reviewers
emaste
Group Reviewers
linuxkpi
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