From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 401083858D28 for ; Wed, 9 Feb 2022 20:37:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 401083858D28 Received: from mail-yb1-f198.google.com (mail-yb1-f198.google.com [209.85.219.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-278-2y744W39NsWSV6BSMdr35g-1; Wed, 09 Feb 2022 15:37:00 -0500 X-MC-Unique: 2y744W39NsWSV6BSMdr35g-1 Received: by mail-yb1-f198.google.com with SMTP id x1-20020a25a001000000b0061c64ee0196so7272617ybh.9 for ; Wed, 09 Feb 2022 12:37:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=68aRRoBzzIorYvrW6gOXyc6/Jd3L5CSnQuLCsAfMTTE=; b=sSV4R3Nfw67PRAx39EEeEM64m+B+w1BoG1teHrWghPFd/E2LqaN3Pws2GuXYDkfKUB n+S6cHxSt2bE5RIZQIZX/DXXspV47bd+PzfcSQWmnU/Rec3xJAwzL68FyKUeqmjuhihz EOJEb4LwPbWCKhu59p6TFqK2a56dbFUZ9IRngAfezDCU09+3KAAmCQZsiSsS2TeQKLkA TPtVsQS2dyyfcZuhoXRAjf3HYOuazB5mQscKvMgxFRsBYuXJHWtaKkYT3gF4SQj+yxW1 7gtDk0olJ7Vh3dEQWnW/Wa2TLvXKqukQqa8UlA0DX9hYJzruVAtIxamrHN6z50Clzqzs DRrw== X-Gm-Message-State: AOAM531MkmdSSVBfysBvaOXiIM6txnpSMkRuspiwXln2VrmiVXO6U8W+ EZB96qKsvUpIdVHHoAJkNfoqpdaUePay4kPMLZYLn5SaEbXdaTjvouq5LECEI1ENCmf7yU1/6pI cQMmitDdxXEfQcs08VMxEuaPqL7ALh5k= X-Received: by 2002:a05:6902:344:: with SMTP id e4mr4133599ybs.316.1644439020150; Wed, 09 Feb 2022 12:37:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1rNW7UBcNzr2nJ4C6k4WyEjWQMaLH+WUixK3wPOACTvaDfY4GHd5ZjIwMO0hiafK24iqenvesyaEt6gW0cEY= X-Received: by 2002:a05:6902:344:: with SMTP id e4mr4133584ybs.316.1644439019921; Wed, 09 Feb 2022 12:36:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Wed, 9 Feb 2022 20:36:48 +0000 Message-ID: Subject: Re: [PATCH] libstdc++: Strengthen memory order for atomic::wait/notify To: Thomas Rodgers Cc: "libstdc++" , gcc Patches X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2022 20:37:03 -0000 On Wed, 9 Feb 2022 at 17:35, Thomas Rodgers via Libstdc++ wrote: > > This patch changes the memory order used in the spin wait code to match > that of libc++. OK for trunk (and gcc-11 if needed).