Page MenuHomeFreeBSD

linuxkpi: Add rcu_swap_protected
Needs ReviewPublic

Authored by manu on Fri, May 22, 10:37 AM.

Details

Reviewers
hselasky
emaste
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
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

manu created this revision.Fri, May 22, 10:37 AM
manu requested review of this revision.Fri, May 22, 10:37 AM
hselasky added inline comments.Fri, May 22, 8:44 PM
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 72158.Sat, May 23, 12:11 PM
manu updated this revision to Diff 72159.
manu marked an inline comment as done.