[PATCH v2.2][BZ #11087] Use atomic operations to track memory
Siddhesh Poyarekar
siddhesh@redhat.com
Wed Oct 30 15:03:00 GMT 2013
On Wed, Oct 30, 2013 at 03:52:15PM +0100, OndÅej BÃlka wrote:
> + new = atomic_exchange_and_add (&mp_.mmapped_mem, new_size - size - offset) +
> + new_size - size - offset;
This should be:
new = (atomic_exchange_and_add (&mp_.mmapped_mem, new_size - size - offset)
+ new_size - size - offset);
Looks OK to me with that change.
Siddhesh
More information about the Libc-alpha
mailing list