The following commit has been merged in the master branch:
commit d9a9245f51b6ffaafa6021e4abe64bbfec0ee17b
Author: Andrew Deason <[email protected]>
Date: Wed Dec 29 15:29:14 2021 -0600
LINUX: Test for rcu_read_unlock with rcu_read_lock
If we're going to call rcu_read_lock(), we're also going to need to
call rcu_read_unlock(). Make sure both functions are available before
saying that rcu_read_lock is available.
Without this, trying to use rcu_read_lock/unlock can result in errors
during the kernel build for kernels where rcu_read_unlock calls
rcu_read_unlock_strict (a GPLONLY function). This started in Linux
commit aa40c138cc8f (rcu: Report QS for outermost PREEMPT=n
rcu_read_unlock() for strict GPs), which was included in Linux 5.10.
Change-Id: I1d2d5272c722d60ec55dcfd6c07b79e4edfc995b
Reviewed-on: https://gerrit.openafs.org/14876
Reviewed-by: Cheyenne Wills <[email protected]>
Reviewed-by: Mark Vitale <[email protected]>
Tested-by: BuildBot <[email protected]>
Reviewed-by: Michael Meffie <[email protected]>
src/cf/linux-kernel-func.m4 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs