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)
Wed, Jan 29, 10:05 AM
Unknown Object (File)
Tue, Jan 14, 12:53 AM
Unknown Object (File)
Mon, Jan 13, 2:06 AM
Unknown Object (File)
Thu, Jan 9, 4:35 PM
Unknown Object (File)
Dec 31 2024, 11:51 PM
Unknown Object (File)
Nov 17 2024, 5:25 PM
Unknown Object (File)
Oct 15 2024, 10:01 AM
Unknown Object (File)
Oct 8 2024, 7:38 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.