My bad, I wasn't up to date.
Olivier's fix is OK : no more CPU hogging.

-- 
Ionel

----- Mail original -----
De: "Willy Tarreau" <w...@1wt.eu>
À: "Ionel GARDAIS" <ionel.gard...@tech-advantage.com>
Cc: "David CARLIER" <devne...@gmail.com>, "haproxy" <haproxy@formilux.org>
Envoyé: Mercredi 23 Décembre 2020 14:52:32
Objet: Re: [*EXT*] Re: Quick question on atomics on ARM

On Wed, Dec 23, 2020 at 02:48:17PM +0100, Ionel GARDAIS wrote:
> For what it's worth, I tried to build haproxy on Apple M1.
> It builds OK but at run, it's stuck in the initial pool_flush, hogging 100% 
> CPU.
> 
> the assembly part of __ha_cas_dw for __aarch64__ seems to be ignored.

What version did you try ? Olivier just fixed an issue related to the
macos assembler using ';' as a comment, precisely in __ha_cas_dw :-)
Please try again with the latest master from right now.

Willy
--
232 avenue Napoleon BONAPARTE 92500 RUEIL MALMAISON
Capital EUR 219 300,00 - RCS Nanterre B 408 832 301 - TVA FR 09 408 832 301


Reply via email to