Page MenuHomeFreeBSD

linuxkpi: Add kref_put_lock
ClosedPublic

Authored by manu on Aug 4 2020, 10:49 AM.
Tags
None
Referenced Files
F131792068: D25942.id75358.diff
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
Unknown Object (File)
Sun, Oct 5, 1:31 PM
Unknown Object (File)
Sat, Oct 4, 3:42 AM
Unknown Object (File)
Fri, Sep 26, 2:36 PM
Unknown Object (File)
Fri, Sep 26, 1:24 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.