HomeFreeBSD

linuxkpi: Add rcu_swap_protected

Description

linuxkpi: Add rcu_swap_protected

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
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D24954

Details

Provenance
manuAuthored on
Reviewer
hselasky
Differential Revision
D24954: linuxkpi: Add rcu_swap_protected
Parents
rS361549: linuxkpi: Add overflow.h
Branches
Unknown
Tags
Unknown