Page MenuHomeFreeBSD

linuxkpi: Implement rcu_replace_pointer() macro
ClosedPublic

Authored by nc on Apr 28 2021, 11:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 7, 8:30 PM
Unknown Object (File)
Sat, Feb 7, 7:14 PM
Unknown Object (File)
Sat, Feb 7, 4:19 PM
Unknown Object (File)
Mon, Feb 2, 10:11 PM
Unknown Object (File)
Sat, Jan 31, 4:23 AM
Unknown Object (File)
Dec 23 2025, 7:34 PM
Unknown Object (File)
Dec 22 2025, 11:29 PM
Unknown Object (File)
Dec 20 2025, 10:38 AM

Diff Detail

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

Event Timeline

nc requested review of this revision.Apr 28 2021, 11:44 AM
sys/compat/linuxkpi/common/include/linux/rcupdate.h
102

There is no need to use double set of ()'s here:

rcu_dereference_protected(rcu, c):
rcu_assign_pointer(rcu, ptr);

This revision is now accepted and ready to land.Apr 28 2021, 1:02 PM
This revision was automatically updated to reflect the committed changes.