From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59523C47082 for ; Tue, 8 Jun 2021 16:47:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2B0B760FDB for ; Tue, 8 Jun 2021 16:47:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2B0B760FDB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yp47JsFX3Cu/lX5y3v5PzmtahHHaplXy/VQV6C9SeTw=; b=qHvNJeZPKkD0Sc z8WCKavLo6hLhCqK+ARfn1rGLodImML6X/XZQSyuSECfdTwRH772WraTruvpPYWHlDvZbBAmsmU+5 PbjeG+tWBRWkCnL6u0XCOrXzxbXoZX8LaZNMtAhftYaGC+mrcGAv2xHT7sWvAD1GvbrmVzSxwS+Vp A9c8HH7JT+otajPKlh4l2O4OTfhmp6RVM7bB0KM785LJqEZkirxhUlDwZ1w57ZR2sRcaRYlvBNrgK X/lLOyjY6gT3jaWMAyzfJIRYWgIxVA3mpR8qNmvcMUrtdsV3yp6msCC78bmZuEwMEv1GOCNWCDl/E etYPcBuQ6oIIVoJ1ZMBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqerR-009ZnZ-Sy; Tue, 08 Jun 2021 16:45:54 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqerP-009ZnE-Ev for linux-arm-kernel@bombadil.infradead.org; Tue, 08 Jun 2021 16:45:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=csr8o7sZq6Q+je7qiSIRCH9jD+EL1euKKKdf2//ZB4M=; b=E2sb3OF5eDBjks7zCTlRDo0wdN SDJOUleaUw2/qlW8ONvUu4vpuBuIo+LtqMD81aPHxtYxoTEDYGfjypKpiowdcJX8aUjAcdLdKnGt2 5ZDVYyWHL4FLZru7EKPVNjKqb47AYGUxhmEYrPbjD1pyVFOqHa2aj+E6ZoKcUtF9hgBjquAR2kwLX Hv1uTA8URBrCX0Tq/XSmwyaZICLGHKD7RY5WqoLo3oBrvjHFYjlJGPZTeWICYP3Qp3DOgjfJHOZrZ nSIvKCJB0RYoXcJ9FjvidQAjcS6d1uKdUkNm8rUG8OiTw9S46fNBn+dixI16pzTIgl1cns8RF9JLR jQGHH2Vw==; Received: from [179.97.37.151] (helo=quaco.ghostprotocols.net) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lqer4-00HA4b-Ds; Tue, 08 Jun 2021 16:45:36 +0000 Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id D675440B1A; Tue, 8 Jun 2021 13:45:27 -0300 (-03) Date: Tue, 8 Jun 2021 13:45:27 -0300 From: Arnaldo Carvalho de Melo To: Peter Zijlstra Cc: Leo Yan , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Thomas Gleixner , x86@kernel.org, "H. Peter Anvin" , Mathieu Poirier , Suzuki K Poulose , Mike Leach , Adrian Hunter , Andi Kleen , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 5/8] perf auxtrace: Change to use SMP memory barriers Message-ID: References: <20210602103007.184993-1-leo.yan@linaro.org> <20210602103007.184993-6-leo.yan@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Em Mon, Jun 07, 2021 at 05:29:55PM +0200, Peter Zijlstra escreveu: > On Wed, Jun 02, 2021 at 06:30:04PM +0800, Leo Yan wrote: > > The kernel and the userspace tool can access the AUX ring buffer head > > and tail from different CPUs, thus SMP class of barriers are required > > on SMP system. > > > > This patch changes to use SMP barriers to replace mb() and rmb() > > barriers. > > > > Signed-off-by: Leo Yan > > Acked-by: Peter Zijlstra (Intel) Thanks, applied. - Arnaldo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel