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)
Sat, Dec 28, 6:18 AM
Unknown Object (File)
Fri, Dec 27, 5:47 PM
Unknown Object (File)
Thu, Dec 26, 4:20 PM
Unknown Object (File)
Dec 13 2024, 1:50 PM
Unknown Object (File)
Dec 12 2024, 4:53 AM
Unknown Object (File)
Nov 27 2024, 1:27 AM
Unknown Object (File)
Oct 28 2024, 12:23 PM
Unknown Object (File)
Oct 16 2024, 7:32 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 Skipped
Unit
Tests Skipped

Event Timeline

manu requested review of this revision.May 22 2020, 10:37 AM
sys/compat/linuxkpi/common/include/linux/rcupdate.h
101

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.