Centos-kernel-stream-9/scripts/atomic/fallbacks
Waiman Long 99540cc176 atomics: Provide atomic_add_negative() variants
JIRA: https://issues.redhat.com/browse/RHEL-5228

commit e5ab9eff46b04c5a04778e40d7092fed3fda52ca
Author: Thomas Gleixner <tglx@linutronix.de>
Date:   Thu, 23 Mar 2023 21:55:30 +0100

    atomics: Provide atomic_add_negative() variants

    atomic_add_negative() does not provide the relaxed/acquire/release
    variants.

    Provide them in preparation for a new scalable reference count algorithm.

    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    Acked-by: Mark Rutland <mark.rutland@arm.com>
    Link: https://lore.kernel.org/r/20230323102800.101763813@linutronix.de

Signed-off-by: Waiman Long <longman@redhat.com>
2023-09-22 13:21:49 -04:00
..
acquire
add_negative atomics: Provide atomic_add_negative() variants 2023-09-22 13:21:49 -04:00
add_unless
andnot
dec
dec_and_test
dec_if_positive
dec_unless_positive
fence
fetch_add_unless
inc
inc_and_test
inc_not_zero
inc_unless_negative
read_acquire
release
set_release
sub_and_test
try_cmpxchg