Centos-kernel-stream-9/include/linux/atomic
Prarit Bhargava 849583cf2c locking/atomic: Add generic try_cmpxchg{,64}_local() support
JIRA: https://issues.redhat.com/browse/RHEL-25415

commit e6ce9d741163af0b846637ce6550ae8a671b1588
Author: Uros Bizjak <ubizjak@gmail.com>
Date:   Wed Apr 5 16:17:06 2023 +0200

    locking/atomic: Add generic try_cmpxchg{,64}_local() support

    Add generic support for try_cmpxchg{,64}_local() and their falbacks.

    These provides the generic try_cmpxchg_local family of functions
    from the arch_ prefixed version, also adding explicit instrumentation.

    Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
    Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    Signed-off-by: Ingo Molnar <mingo@kernel.org>
    Acked-by: Mark Rutland <mark.rutland@arm.com>
    Link: https://lore.kernel.org/r/20230405141710.3551-2-ubizjak@gmail.com
    Cc: Linus Torvalds <torvalds@linux-foundation.org>

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
2024-03-20 09:43:03 -04:00
..
atomic-arch-fallback.h locking/atomic: Add generic try_cmpxchg{,64}_local() support 2024-03-20 09:43:03 -04:00
atomic-instrumented.h locking/atomic: Add generic try_cmpxchg{,64}_local() support 2024-03-20 09:43:03 -04:00
atomic-long.h atomics: Provide atomic_add_negative() variants 2023-09-22 13:21:49 -04:00