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 DA5EA3858D1E for ; Wed, 9 Feb 2022 20:37:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DA5EA3858D1E 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-272-ZubJBVCKNPaJfZxD5yTi2Q-1; Wed, 09 Feb 2022 15:37:00 -0500 X-MC-Unique: ZubJBVCKNPaJfZxD5yTi2Q-1 Received: by mail-yb1-f198.google.com with SMTP id y4-20020a5b0f44000000b00611862e546dso7294049ybr.7 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=eSb9BDs6ql6OFbpOuFh2cjLOKgWipeTmmBEV/nGlg8VpNtza6jP6syE6QCdzC3CFhB rMh/QUrliYsFd/b0D55/oiKc6I8WzWAaaQXtOFjQhcO38mP/fnfffXdBrgJ1cWnrFDcs W4iDugsTef+u0iDT/V+/Q9nCQjJa5rE20uAj/Dr0NXPXbxcTW5OvVM1AMKzGb3Bw/mOk a5i1H3cfWE/YI/z4Q9iLI6vtEvjdESNZCP1cgDK+z9c9C//3APL5fDsb3ymXFSd6C/XG yy1z/gme3hzMxkTx2XjCTW2sySRHbCF8OkbP4hFkTRGA+Uu04ARwmKPK+Tl/7qBYGEDm /GOA== X-Gm-Message-State: AOAM533uWrdkZUfFmzXoDaCMdwFV4yOudfeMy8GcuMFM4kYAv2vzoCy9 aGo8Df2484yagRP/UEhfrOA9oO8R0cX/gGfYpxD2Wnt4tuts7TdEJXARnMUf/ekwpRSobuL/79Z LQSbKBxyIMjMoaL8e8oAY+KChPMl/eR35/A== X-Received: by 2002:a05:6902:344:: with SMTP id e4mr4133597ybs.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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches 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).