Re: [PATCH v2] Improve on virAtomic implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/20/2012 06:44 AM, Stefan Berger wrote:
> This patch improves the previously added virAtomicInt implementation
> by using gcc-builtins if possible. The needed builtins are available
> since GCC >= 4.1. At least the 4.0 docs don't mention them.
>
> ---
>  src/util/viratomic.h |   95
> ++++++++++++++++++++++++++++++++++++++++++---------
>  1 file changed, 79 insertions(+), 16 deletions(-)

ACK.

Now we can start thinking about eliminating locking for things that just
need a refcount :-)

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]