Page MenuHomeFreeBSD

linuxkpi: Add rcu_work functions.
ClosedPublic

Authored by manu on May 21 2020, 2:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 18, 9:06 PM
Unknown Object (File)
Jan 7 2024, 4:30 AM
Unknown Object (File)
Dec 20 2023, 7:29 AM
Unknown Object (File)
Dec 12 2023, 2:21 AM
Unknown Object (File)
Nov 12 2023, 1:58 PM
Unknown Object (File)
Nov 10 2023, 2:07 PM
Unknown Object (File)
Nov 5 2023, 6:38 AM
Unknown Object (File)
Oct 9 2023, 1:00 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 Not Applicable
Unit
Tests Not Applicable

Event Timeline

manu requested review of this revision.May 21 2020, 2:56 PM
sys/compat/linuxkpi/common/src/linux_work.c
168 ↗(On Diff #72075)

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

197 ↗(On Diff #72075)

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

202 ↗(On Diff #72075)

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.