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

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 29 11:27:56 UTC 2017


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

            Bug ID: 1437037
           Summary: Standardize atomic increment/decrement calling
                    conventions
           Product: GlusterFS
           Version: mainline
         Component: core
          Keywords: Triaged
          Assignee: ndevos at redhat.com
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org



Description of problem:
There are ATOMIC_INCREMENT() and ATOMIC_DECREMENT() macros available, these use
locks for non-atomic architectures. The locking is non-transparent and is
applied differently in several use-cases.

I'll be cleaning this locking up, and making all architectures behave the same
(a lock per variable, or no locks at all).

-- 
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=7mnrmgrsAY&a=cc_unsubscribe


More information about the Bugs mailing list