Page MenuHomeFreeBSD

kref: replace hand-rolled atomic ops with refcount API
ClosedPublic

Authored by mjg on Dec 5 2022, 5:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 5 2024, 4:32 AM
Unknown Object (File)
Sep 24 2024, 11:24 PM
Unknown Object (File)
Sep 19 2024, 11:24 PM
Unknown Object (File)
Sep 18 2024, 4:12 PM
Unknown Object (File)
Sep 18 2024, 10:56 AM
Unknown Object (File)
Sep 11 2024, 6:48 PM
Unknown Object (File)
Sep 6 2024, 10:03 AM
Unknown Object (File)
Sep 5 2024, 10:59 PM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mjg requested review of this revision.Dec 5 2022, 5:41 PM
mjg added a reviewer: linuxkpi.

Patch looks mostly good!

sys/compat/linuxkpi/common/include/linux/kref.h
46

This comment can go away.

113

Did you check that the return values are identical here?

sys/compat/linuxkpi/common/include/linux/kref.h
46

i'm working on introducing refcount_t

113

i did, it's all fine

This revision was not accepted when it landed; it landed in state Needs Review.Dec 13 2022, 9:25 AM
This revision was automatically updated to reflect the committed changes.
sys/compat/linuxkpi/common/include/linux/kref.h
58

dropping const broke drm-kmod