aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cxgb/common/(public-mirror)
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2024-09-29 00:35:04 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2024-10-23 01:43:09 +0000
commit5c92f84bb607c692ce4fa762a7a3c4b86a2fa281 (patch)
tree5a3210e465e0232bd61754496ce4ac209e4d2051 /sys/dev/cxgb/common/(public-mirror)
parentd55d5dd9f7adcffa6a1f2a49956d7fd7d549aba1 (diff)
downloadsrc-main.tar.gz
src-main.zip
LinuxKPI: update rcu_dereference_*() and lockdep_is_held()HEADmain
Update rcu_dereference_{check,protected}() to call the check and log once if it fails and if the RCU debug sysctl is turned on. Also add proper checks for conditions passed in to these functions. For that implement linux_rcu_read_lock_held() (lots of help from wulf). (While here also remove extraneous extern for function prototypes). Update lockdep_is_held() to always be an inline function with argument annotation so that we do no longer have unused variables in callers which only call lockdep_is_held(). Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: wulf Differential Revision: https://reviews.freebsd.org/D46842
Diffstat (limited to 'sys/dev/cxgb/common/(public-mirror)')
0 files changed, 0 insertions, 0 deletions