[Bugs] [Bug 1437037] Standardize atomic increment/decrement calling conventions

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 10 15:05:59 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1437037



--- Comment #11 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17012 committed in master by Jeff Darcy
(jeff at pl.atyp.us) 
------
commit ec0e1176d476ef5765efe7713ce6a57f2f081722
Author: Niels de Vos <ndevos at redhat.com>
Date:   Fri Apr 7 13:02:08 2017 +0200

    mem-pool: use gf_atomic_t for atomic counters

    Reduce the usage of __sync_fetch_and_add() builtins in mem-pool. The new
    gf_atomic_t type can be used instead, so that the architecture and
    compiler specific builtins are hidden from the mem-pool implementation.

    BUG: 1437037
    Change-Id: Icbeeb187dd2b835b35f32f54f821ceddfc7b2638
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: https://review.gluster.org/17012
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    Reviewed-by: Amar Tumballi <amarts at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=3pOATozO69&a=cc_unsubscribe


More information about the Bugs mailing list