Page MenuHomeFreeBSD

linuxkpi: Add rcu_swap_protected
ClosedPublic

Authored by manu on May 22 2020, 10:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 18, 11:48 PM
Unknown Object (File)
Sun, May 18, 6:34 AM
Unknown Object (File)
May 2 2025, 6:33 PM
Unknown Object (File)
Apr 23 2025, 1:30 PM
Unknown Object (File)
Apr 23 2025, 12:09 PM
Unknown Object (File)
Apr 23 2025, 12:09 PM
Unknown Object (File)
Apr 23 2025, 12:05 PM
Unknown Object (File)
Apr 23 2025, 12:03 PM
Subscribers

Details

Summary

This macros swap an rcu pointer with a normal pointer.
The condition only seems to be used for debug/warning under linux, ignore
for now.

Sponsored-by: The FreeBSD Foundation

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

manu requested review of this revision.May 22 2020, 10:37 AM
sys/compat/linuxkpi/common/include/linux/rcupdate.h
101 ↗(On Diff #72111)

Arguments are already separated by "," so you can skip the ()'s around the arguments when forwarding them.

manu updated this revision to Diff 72159.
manu marked an inline comment as done.
This revision is now accepted and ready to land.May 27 2020, 9:51 AM
This revision was automatically updated to reflect the committed changes.