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)
Tue, Oct 14, 10:19 AM
Unknown Object (File)
Tue, Oct 14, 10:18 AM
Unknown Object (File)
Tue, Oct 14, 10:18 AM
Unknown Object (File)
Tue, Oct 14, 10:18 AM
Unknown Object (File)
Mon, Oct 13, 8:08 PM
Unknown Object (File)
Mon, Oct 13, 7:31 PM
Unknown Object (File)
Mon, Oct 13, 5:20 PM
Unknown Object (File)
Mon, Oct 13, 1:06 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.