Received: by mail.netbsd.org (Postfix, from userid 605) id E562384DA4; Mon, 26 Apr 2021 21:40:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 21B6284DA2 for ; Mon, 26 Apr 2021 21:40:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id PbeeTm7syEQy for ; Mon, 26 Apr 2021 21:40:21 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id B717B84CBC for ; Mon, 26 Apr 2021 21:40:21 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id B0245FA95; Mon, 26 Apr 2021 21:40:21 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 26 Apr 2021 21:40:21 +0000 From: "Nick Hudson" Subject: CVS commit: src/common/lib/libc/arch/arm/atomic To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210426214021.B0245FA95@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Nick Hudson" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: skrll Date: Mon Apr 26 21:40:21 UTC 2021 Modified Files: src/common/lib/libc/arch/arm/atomic: atomic_swap.S atomic_swap_16.S atomic_swap_64.S Log Message: Add the appropriate memory barrier before the lock is cleared in __sync_lock_release_{1,2,4,8}. That is, all reads and write for in inner shareability domain before the lock clear store. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/common/lib/libc/arch/arm/atomic/atomic_swap.S cvs rdiff -u -r1.4 -r1.5 src/common/lib/libc/arch/arm/atomic/atomic_swap_16.S cvs rdiff -u -r1.11 -r1.12 \ src/common/lib/libc/arch/arm/atomic/atomic_swap_64.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.