Page MenuHomeFreeBSD

linuxkpi: Implement rcu_replace_pointer() macro
ClosedPublic

Authored by nc on Apr 28 2021, 11:44 AM.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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
101

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.