Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1390092rwl; Wed, 5 Apr 2023 16:48:18 -0700 (PDT) X-Google-Smtp-Source: AKy350aOYNfW+2WqRBO521p70fqJd7rjfO2s52n6Bi3UPttyA5hlGYKXd9rQ8MG2iL6/KCSE17TP X-Received: by 2002:a17:90b:164b:b0:240:67d5:aea1 with SMTP id il11-20020a17090b164b00b0024067d5aea1mr9366269pjb.14.1680738498536; Wed, 05 Apr 2023 16:48:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680738498; cv=none; d=google.com; s=arc-20160816; b=OuFETBsOOOEu7pE/tjutQ4am4rCwS/kN1ekv7g9/k2/pyaWpj4thmTQWRavOYnR8Nl hpOhfAnRj+aARdqn7RV0xAH/ZtK2HQKC1HQ9g3hMo57tlY5AhMIUygU36dHw1fX7t53w 7vahX5EsT7z15rroet3fqqcml1mSh8Jmm8O60/VEbFGwDUq9MCcfrWtgpoqSEzpEyixS TFgiiTTu8RwDBQ6SrOf7505nTa1S6GLf5XdOxiS3HwgsQQWEL4fNVMwMgdjyU9g8ZCaU 6BdLLr76kNyK9DMzLUmh87egxKwJWjzeBBrH+HQQcb6mM13Yr4WjcyxkkPWlgchWLN9L h0FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=blCE77pQINXaN2D6Sj3QxaIHB7sahe5n1Av6Fdgnc50=; b=Y41jaUuaTRXDmAkVXd9avS/UmOuW1/d5w3F7gexywUum+m4Nh0WrnAQXRhRuNZjNBJ EnTBzJi8Kys3vCkDRDFaHTvRp+D1ROt1JDika2IRTNq+G1znWPCKJt7PSswG301Xrczb mc+/2J6HqGZ9oUyg5oqzt55PWi8IC8rFFFQYN5nGeWM7R6pBfaW+fnPpP2T1a5dNCaJQ bWuXSlrs7NwrjEcbPU5y5h+Wd5FDXg8dIexV1CH3JCCfdWOLXYtHW3edujDqfOSuhpPb D/cumVT3sV7tbPQUiweRBdYgCbnRve9WSouSi5+BmqO0bBOZzqDM+CM1UdWGjWxDESwk +kxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=G0USHuAA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oj16-20020a17090b4d9000b0023f37b648d9si2559751pjb.157.2023.04.05.16.48.06; Wed, 05 Apr 2023 16:48:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=G0USHuAA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233280AbjDEX3M (ORCPT + 99 others); Wed, 5 Apr 2023 19:29:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232655AbjDEX3L (ORCPT ); Wed, 5 Apr 2023 19:29:11 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09F0D6EAF; Wed, 5 Apr 2023 16:29:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680737351; x=1712273351; h=message-id:subject:from:to:cc:date:in-reply-to: references:content-transfer-encoding:mime-version; bh=O6sUmwZZ6qtQYOLf/WrpXlTfT6W6Xkn84Qm8CQ5+ujI=; b=G0USHuAA5umxFxbLQ/bU8avlOn4c0AMjfpM0Q27Tgo8sG7PePHc2Ck1b KfKxUZeWTM23MkDyTAm8QKO+c9jjoOZK0Eo/ySEWkTuAxg7NSEJlVvCNO YZs4s4K0KLcmY64m9TJN2+OB+7/3Niv1x5vyN3M3RsggYhlyiD8zKZOJ8 ZA9krMjwR2IFrSxFbJStgrwHcQqhjMtYpMjqaxnJUn96Z2EZqwtWvJtCX Q/WGE6x0nyM1F+cLj0LDrgs4mQM6rTGhZelehhup+RhJ8q1xJjKOSEa5f vpWjnrJ0j5Y6xWjS7OXgGYvU7+3Fj5++s9fFw1pH1wkvKHp/AUm6AFeoY g==; X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="326630555" X-IronPort-AV: E=Sophos;i="5.98,322,1673942400"; d="scan'208";a="326630555" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 16:29:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="776247721" X-IronPort-AV: E=Sophos;i="5.98,322,1673942400"; d="scan'208";a="776247721" Received: from skansra-mobl.amr.corp.intel.com (HELO [10.209.62.228]) ([10.209.62.228]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 16:29:09 -0700 Message-ID: Subject: Re: [PATCH v3] Documentation: Add document for false sharing From: Tim Chen To: Feng Tang , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Randy Dunlap , Bagas Sanjaya , Shakeel Butt Cc: Arnaldo Carvalho de Melo , Joe Mario , Ingo Molnar , Peter Zijlstra , Linus Torvalds , Andrew Morton , Eric Dumazet , Thomas Gleixner , dave.hansen@intel.com, ying.huang@intel.com, tim.c.chen@intel.com, andi.kleen@intel.com Date: Wed, 05 Apr 2023 16:29:08 -0700 In-Reply-To: <2520c3d060e7b77560ea32a4b132d8e1a5f14ac9.camel@linux.intel.com> References: <20230404052228.15788-1-feng.tang@intel.com> <2520c3d060e7b77560ea32a4b132d8e1a5f14ac9.camel@linux.intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 (3.44.4-2.fc36) MIME-Version: 1.0 X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2023-04-05 at 15:38 -0700, Tim Chen wrote: > Thanks for the update. Looks good. Some minor nits to improve readabilit= y. >=20 > On Tue, 2023-04-04 at 13:22 +0800, Feng Tang wrote: > >=20 > > + > > +False sharing could easily happen unless they are intentionally > > +checked, and it is valuable to run specific tools for performance > > +critical workloads to detect false sharing affecting performance case > > +and optimize accordingly. > > + > > + > > +How to detect and analysis False Sharing >=20 > s/analysis/analyse s/analysis/analyze Fix my typo. Tim