Page MenuHomeFreeBSD

linuxkpi: Add rcu_work functions.
ClosedPublic

Authored by manu on May 21 2020, 2:56 PM.
Tags
None
Referenced Files
F132605317: D24942.id72089.diff
Sat, Oct 18, 8:55 AM
F132605313: D24942.id72086.diff
Sat, Oct 18, 8:55 AM
F132605308: D24942.id72075.diff
Sat, Oct 18, 8:55 AM
F132605304: D24942.id.diff
Sat, Oct 18, 8:55 AM
F132548336: D24942.diff
Fri, Oct 17, 9:31 PM
Unknown Object (File)
Aug 25 2025, 12:59 PM
Unknown Object (File)
Aug 16 2025, 1:02 AM
Unknown Object (File)
Aug 10 2025, 6:12 PM
Subscribers

Details

Summary

The rcu_work function helps to queue some work after waiting for a grace
period.
This is needed by DRM drivers.

Sponsored-by: The FreeBSD Foundation

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

manu requested review of this revision.May 21 2020, 2:56 PM
sys/compat/linuxkpi/common/src/linux_work.c
168

I think you should pass WORK_CPU_UNBOUND instead of 0 there, even though the argument is not used.

197

Insert empty line at top of function when no local variables - BSD style.

202

Remove this empty line.

manu marked 3 inline comments as done.
This revision is now accepted and ready to land.May 21 2020, 7:57 PM
This revision was automatically updated to reflect the committed changes.