From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id yGMSDR3k22MOMygAWB0awg (envelope-from ) for ; Thu, 02 Feb 2023 11:26:05 -0500 Received: by simark.ca (Postfix, from userid 112) id 332561E128; Thu, 2 Feb 2023 11:26:05 -0500 (EST) 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=WwHEr8XE; 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=-9.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A, 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)) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id E527C1E110 for ; Thu, 2 Feb 2023 11:26:04 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1675355164; bh=XuaCxgiMHte7XpN1+PFkEDT7rwegr+aQJMOz/937Otw=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=WwHEr8XEUAAJEvE8AEk3gSKpz+74zbDkKmS9/BkH8TINRjuSLNvljljUhvobh+DoF 9OqSsOO1SupzW5EJGC1WDDooOuFV2EJ8rn67bhtFric/tmguV4/CyYZKtDvs2u5515 TQhvIug97uRJrCvIZY0hPFC4EhRt0X0mflBAT2T2t8g7r4lPDvdmXRiLe9fO6JKm7x 3T+XmrPS/P/wcOtUqG4HiLm/Xw0e2jS3xFA5YnwQxJyEur08oVu2dyUpnFEk7MwHIh 5AznISdyTHCcc2IDx2+SfZmFhkh1CPlIf8zgvpSxQ216k5X8B0k5Vt/sQy93JvR2mw HK1R6/1SoYdTA== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4P740W6w2Dz1Xxv; Thu, 2 Feb 2023 11:26:03 -0500 (EST) Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) by lists.lttng.org (Postfix) with ESMTPS id 4P740T298Lz1Xxp for ; Thu, 2 Feb 2023 11:25:51 -0500 (EST) Received: from [172.16.0.188] (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4P740949dlzklk; Thu, 2 Feb 2023 11:25:45 -0500 (EST) Message-ID: Date: Thu, 2 Feb 2023 11:26:26 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Content-Language: en-US To: "Beckius, Mikael" , "lttng-dev@lists.lttng.org" References: <46f36a1a-c748-773b-8f6d-d481c9c8ad1b@efficios.com> In-Reply-To: Subject: Re: [lttng-dev] lttng-consumerd crash on aarch64 due to x86 arch specific optimization 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: Mathieu Desnoyers via lttng-dev Reply-To: Mathieu Desnoyers Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" Hi Mikael, I just tried another approach to fix this issue, see: https://review.lttng.org/c/lttng-ust/+/9413 Fix: use unaligned pointer accesses for lttng_inline_memcpy It is less intrusive than other approaches, and does not change the generated code on the most relevant architectures. Feedback is welcome, Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. https://www.efficios.com _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev