diff options
author | 2025-03-15 21:05:19 -0700 | |
---|---|---|
committer | 2025-03-19 08:03:04 -0700 | |
commit | c0149a034540ed24de0581a09983710c88253697 (patch) | |
tree | 6c0bab1999de6fd4613f33296790ebc843a9391c /scripts/lib/kdoc/kdoc_parser.py | |
parent | locking: Move common qspinlock helpers to a private header (diff) | |
download | linux-rng-c0149a034540ed24de0581a09983710c88253697.tar.xz linux-rng-c0149a034540ed24de0581a09983710c88253697.zip |
locking: Allow obtaining result of arch_mcs_spin_lock_contended
To support upcoming changes that require inspecting the return value
once the conditional waiting loop in arch_mcs_spin_lock_contended
terminates, modify the macro to preserve the result of
smp_cond_load_acquire. This enables checking the return value as needed,
which will help disambiguate the MCS node’s locked state in future
patches.
Reviewed-by: Barret Rhoden <brho@google.com>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20250316040541.108729-4-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions