summaryrefslogtreecommitdiff
path: root/kernel/fail_function.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2024-10-15 09:11:01 -0700
committerFrederic Weisbecker <frederic@kernel.org>2024-11-12 15:42:20 +0100
commitc2f9467c77941cae5a41aa10c06ff0d5b00f69f9 (patch)
treed102f0e4270a7a9ad4c63f356e33ebbd9309b1fc /kernel/fail_function.c
parent365f34483be33a9d0151c06ac39627d7927210d9 (diff)
downloadlwn-c2f9467c77941cae5a41aa10c06ff0d5b00f69f9.tar.gz
lwn-c2f9467c77941cae5a41aa10c06ff0d5b00f69f9.zip
srcu: Bit manipulation changes for additional reader flavor
Currently, there are only two flavors of readers, normal and NMI-safe. Very straightforward state updates suffice to check for erroneous mixing of reader flavors on a given srcu_struct structure. This commit upgrades the checking in preparation for the addition of light-weight (as in memory-barrier-free) readers. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Andrii Nakryiko <andrii@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Kent Overstreet <kent.overstreet@linux.dev> Cc: <bpf@vger.kernel.org> Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com> Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Diffstat (limited to 'kernel/fail_function.c')
0 files changed, 0 insertions, 0 deletions