Page MenuHomeFreeBSD

linuxkpi: Add kref_put_lock
ClosedPublic

Authored by manu on Aug 4 2020, 10:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 28 2024, 6:10 PM
Unknown Object (File)
Feb 18 2024, 6:02 AM
Unknown Object (File)
Feb 7 2024, 11:22 PM
Unknown Object (File)
Jan 28 2024, 4:13 AM
Unknown Object (File)
Jan 13 2024, 11:24 AM
Unknown Object (File)
Jan 7 2024, 5:11 AM
Unknown Object (File)
Dec 17 2023, 9:50 PM
Unknown Object (File)
Nov 6 2023, 12:31 AM
Subscribers

Details

Summary

Same as kref_put but in addition to calling the rel function it will
acquire the lock first.

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.Aug 4 2020, 10:49 AM
sys/compat/linuxkpi/common/include/linux/kref.h
89 ↗(On Diff #75354)

()'s around return argument.

91 ↗(On Diff #75354)

ditto.

manu marked 2 inline comments as done.

Remove wip stuff.

Don't forget to MFC to 11 and 12.

This revision is now accepted and ready to land.Aug 4 2020, 11:22 AM
This revision was automatically updated to reflect the committed changes.