Page MenuHomeFreeBSD

linuxkpi: Add kref_put_lock
ClosedPublic

Authored by manu on Aug 4 2020, 10:49 AM.
Tags
None
Referenced Files
F132480913: D25942.diff
Fri, Oct 17, 7:00 AM
F132413249: D25942.id75365.diff
Thu, Oct 16, 5:42 PM
F132402599: D25942.id75359.diff
Thu, Oct 16, 3:21 PM
Unknown Object (File)
Tue, Oct 14, 6:10 AM
Unknown Object (File)
Sat, Oct 11, 5:03 AM
Unknown Object (File)
Wed, Oct 8, 7:59 AM
Unknown Object (File)
Mon, Oct 6, 11:58 PM
Unknown Object (File)
Mon, Oct 6, 7:16 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.