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)
Wed, Jun 24, 6:14 AM
Unknown Object (File)
Tue, Jun 23, 11:26 AM
Unknown Object (File)
Mon, Jun 22, 2:45 AM
Unknown Object (File)
May 17 2026, 10:48 PM
Unknown Object (File)
May 17 2026, 10:48 PM
Unknown Object (File)
May 17 2026, 10:48 PM
Unknown Object (File)
May 17 2026, 10:48 PM
Unknown Object (File)
May 17 2026, 10:34 PM

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.