From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id fkioLrCxGWQlAxYAWB0awg (envelope-from ) for ; Tue, 21 Mar 2023 09:31:28 -0400 Received: by simark.ca (Postfix, from userid 112) id B22E61E223; Tue, 21 Mar 2023 09:31:28 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=lists.lttng.org header.i=@lists.lttng.org header.a=rsa-sha256 header.s=default header.b=c0aVAz5v; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 9AAF71E0D3 for ; Tue, 21 Mar 2023 09:31:27 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1679405487; bh=guSEmzne4QGjePsMFGQ5/GtN7KBT6ywteWTySGSM95I=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=c0aVAz5vPyVMt6IMRsyeLDbFKXaNE3VzsBNocnO8URwI8YB7OjeoEAZIrWAIKAH7w uoSON/+L3MnxHHpiauDUq6XLz/PVQIDo12qgWGZiP59Dq2zEIJK9yyArLMrRsW+ngv RvzigaljTnPeqQWbCkWOYiqyCBZOBEnb7iPS+BKw7OpklWmXF+IBxTMeVVwCw3Be5J 50tPAsKx171pcYEUW25ogMah/mBEnM12IxN17PdWjueJJ+h1Q7FLNr/ZP6WfS5eZ4a o6rj/yjXyFBcAoYQ74VbQbO5Ih9FGTBmfWYh36uIQoZbIsBcO1gaJVlDrKgbgoVRuF yhLaxqsAQhHcw== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4PgsvM0H15z2H20; Tue, 21 Mar 2023 09:31:27 -0400 (EDT) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lists.lttng.org (Postfix) with ESMTPS id 4PgsvK5yxMz2H1y for ; Tue, 21 Mar 2023 09:31:25 -0400 (EDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 9B65B320070D for ; Tue, 21 Mar 2023 09:31:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 21 Mar 2023 09:31:18 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdegtddghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucfgmhhpthihuchsuhgsjhgvtghtucdluddtmdenuc fjughrpefhvffufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefqnhgurhgvjhcu ufhurhpuuceoohhnughrvghjsehsuhhrhidrohhrgheqnecuggftrfgrthhtvghrnhepie evieeujeevleffgfekhfekheekveeileduvdevhfelgeegueejvdetkeelfeevnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepohhnughrvghjse hsuhhrhidrohhrgh X-ME-Proxy: Feedback-ID: ida81469e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 21 Mar 2023 09:31:17 -0400 (EDT) To: lttng-dev@lists.lttng.org Date: Tue, 21 Mar 2023 14:30:55 +0100 Message-Id: <20230321133102.1054238-1-ondrej@sury.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Subject: [lttng-dev] (no subject) X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Ond=C5=99ej_Sur=C3=BD_via_lttng-dev?= Reply-To: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" This is a second round of the patches after implementing the requested changes from the first round. Ondrej [PATCH 1/7] Require __atomic builtins to build - no changes [PATCH 2/7] Use gcc __atomic builtis for - the non return macros are now __ATOMIC_RELAXED - the return macros are now __ATOMIC_SEQ_CST - the memory barriers are now [PATCH 3/7] Use __atomic_signal_fence() for cmm_barrier() - this now uses __atomic_signal_fence() instead of __atomic_thread_fence() [PATCH 4/7] Replace the internal pointer manipulation with __atomic - changed the memory ordering to __ATOMIC_SEQ_CST for xchg and cmpxchg [PATCH 5/7] Replace the arch-specific memory barriers with __atomic - dropped the changes to urcu/arch.h - removed all custom cmm_*() macros from urcu/arch/*.h - added the generic __atomic implementation to urcu/arch/generic.h This was it's still possible to override the generics with arch specific macros. [PATCH 6/7] Use __atomic builtins to implement CMM_{LOAD,STORE}_SHARED - _CMM_STORE_SHARED and CMM_STORE_SHARED now returns the stored value [PATCH 7/7] Fix: uatomic_or() need retyping to uintptr_t in - no changes _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev