Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp161114lql; Sun, 10 Mar 2024 19:59:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVCdQQMuEmjdnvrUqqvhkkf9ifcbJmgOV9rA1RCXDcdiu6+rpk4ju4/y2v1N8uBN8tJBjOIGTfy9DMmjtGzEx0uttfkPK1ig9s4JxAI4g== X-Google-Smtp-Source: AGHT+IFVNbyNowEQ1uudvoA8nc7hGyVPXZDAXHAkyg+F80za0WHXOABbj/bqjnOAyUQ1ip4vJiKZ X-Received: by 2002:a50:8d51:0:b0:567:b54f:86b3 with SMTP id t17-20020a508d51000000b00567b54f86b3mr3273140edt.20.1710125976561; Sun, 10 Mar 2024 19:59:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710125976; cv=pass; d=google.com; s=arc-20160816; b=u4TOt3yoSHaQ5kt/lS9LvCXY+ECJTvAmRH+Urj3fiPWPzMWlYyxrYiMRs0AIAP/krv x7CV1pqRFfy85BARu/T76WKeLP3paEmaivyB2rbPeIhMiMhKAdznfpfGKb8R8/B0rI+1 Eq+pxojC5dcrztRz49YX3Qxx2xQUIQHC/ZQHimyDwB7qsfFtMCXI4x7zYgwPYJbhkb/9 AxEK8c970kjLYIQvu5otQtbukefA4QI/JFx7GrK1pAqduTYFiUx5VP9VY3biXJnZFxy3 JjgDuUvsng/iF9CGgYRCTi4woyk8yGKA917rBeGAcyUkfNRAq4Mkq2sJ2sbRSKv/FCsN nWlQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:date :subject:cc:to:from:message-id:dkim-signature; bh=6KYN/7Meuvn7SKEogOlE2iizJKneaDT4Yk54uaEwvqw=; fh=VbYWKE98L+c53HvOa5gWxujB6QgWiHvootnOmEEsb+A=; b=cfLd6kyjZHoWvtQnh3wk4MZCstq+klhmqfvbCP6H2FHeIfK0wDg2K7AXdx4LF3+5F7 82zX7O65QuVsZyIpTprFLHMj7emRiMFI8OuXqtadwWQkFjsdwR9h57OISkQtEcVhhcmm eZN1qxXOVXBSiTP4Y3wcGCdYsuEX/Oz2B3+yTqOUxn3oOZ5AQRepdxUqCGdQC1rXIRRR JJcunG2dsodU0+suav2VC3hLedc+VvVdhlFgxcG+ivLDLR/IFTc7+bQsHvBUu8ZoZkqm JPJ4+WHmM2w2gYXhtMeDCVzEkWqprw8to5GM2AAyD1jlzLVSFLVg/fKWLYH1iahQYN+r xgBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b=PodtUbCG; arc=pass (i=1 spf=pass spfdomain=qq.com dkim=pass dkdomain=qq.com dmarc=pass fromdomain=qq.com); spf=pass (google.com: domain of linux-kernel+bounces-98425-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98425-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=qq.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ev27-20020a056402541b00b00567489945c7si2090816edb.660.2024.03.10.19.59.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 19:59:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98425-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b=PodtUbCG; arc=pass (i=1 spf=pass spfdomain=qq.com dkim=pass dkdomain=qq.com dmarc=pass fromdomain=qq.com); spf=pass (google.com: domain of linux-kernel+bounces-98425-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98425-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=qq.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 480C41F21BB3 for ; Mon, 11 Mar 2024 02:59:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B274317D2; Mon, 11 Mar 2024 02:59:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b="PodtUbCG" Received: from out203-205-221-242.mail.qq.com (out203-205-221-242.mail.qq.com [203.205.221.242]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76AD9EDB; Mon, 11 Mar 2024 02:59:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.205.221.242 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710125967; cv=none; b=kad1P0xxllEOg++XcfZHAvvza3xZoGkEvqS5Ydc4l2n55DvOdTnNS3uwBOnpZe9YhgK3K+Q4+KYM/PGkD7fojP+UufsQtkWh+InURqS2RAdnmL6WsbQWH4toiHTyaTnF3yAM0WOh3bwH8RFkZe6aXGscpgGnzUJL8iVGD2Cfe9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710125967; c=relaxed/simple; bh=6KYN/7Meuvn7SKEogOlE2iizJKneaDT4Yk54uaEwvqw=; h=Message-ID:From:To:Cc:Subject:Date:In-Reply-To:References: MIME-Version; b=qWuRvZqgGUqXG4A3XUC9nKeNyL8nhaCzSQOGARyBfONY52zPwAKzy7d/fKy1xKicADqhnaGcSE561qWA8NPubDPC9a3pqxQF1UHpTxqVhgWd/w4dPnKgtSl2pgWIPvWaYWVrvVji83V9eouy8MK9Kz9aGI5x06H5tWVgz5u7CiU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=qq.com; spf=pass smtp.mailfrom=qq.com; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b=PodtUbCG; arc=none smtp.client-ip=203.205.221.242 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=qq.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qq.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1710125956; bh=6KYN/7Meuvn7SKEogOlE2iizJKneaDT4Yk54uaEwvqw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=PodtUbCGDGbQ0hM9MlPlY+jmvHLA4LWY8EY+vFB9MeJnnC59YTF5PWdGJD7jmQA9/ AfJ/dVtl9AZ17xuEnTBM0+Lp0MgrZjXeIu9gtXlH4OhRgQUnh2kMDuZ40TQWPDkQfC OkOrU11nt4KYmVopfWbdOlZDgPMvemaLMj3tqAUI= Received: from localhost.localdomain ([58.213.8.34]) by newxmesmtplogicsvrsza7-0.qq.com (NewEsmtp) with SMTP id E751C65F; Mon, 11 Mar 2024 10:57:53 +0800 X-QQ-mid: xmsmtpt1710125873th3oyzrzu Message-ID: X-QQ-XMAILINFO: NiAdzfE16ND4I+Bv9GCsESziTVK1TO0p2HRGnO8IMFriFQMZDrdrlHrQ9czJ4g v5IJONm+EnIjF3Gq1g36sJF/K6BiCQ2XG7KfUB3YMV5/sNTBfU6FMbmGwVjJDy5raIxK4J6PpBjZ 7xG1qOHvesKsKxemVUZvZdxg1+9myswntJ73bHkfyV2pug2BbF0z40D1FRw8sNF+XKDVmudRa21b s05XHgGHBlCCD2XVNchcwC05gs3R9PQHH0tDjvA9MMkDqJHS/PW+MOV0xGvN48uteggWQ1Xl0yGa Mo2nxcXW1+wicWBvBXna+281T/NoN2Q40fiAeJy6rzAHo2dpbBTQ4xv1vyutfVOGYVF2e0MTDoVg YfiM2o63ZNm4IAY5buHYpuRcPgZjPjGc1fgmXdQM4wfCYZUQ0tOhWa+QPrP1yTv3Wfuc8Y6srhDn PVq+8iy0Tvr2J/Nb8S8QcfOiWJ2FDWysEX4d00jS4nd+8wBFvqx9hTymExpcYorEd+fVfHJC/eMH ni8rbCczFinxW8FQENJjGH8T57YVZNe5u1QqLqMCsQY3KLH9KcXxxoU6ppumrDPCV/2WBe9WcAXD 6o2QDuCxVci1/8W0l4NOUu8Wp7FZK+l9WQUSpgmDlYZxremJc3FTSB+xKNUWgbMFvo79KVjM959L FWLFEISSKZoza4baX+72XKCVPnVXz/bpFWRZ1sjzrBWyjgBfAsc+UZMZnuZJjnIGUjhRZ04lLWke OLP1Gel693YRY2jfcCC1jcVlFXPKcaHibuz6oMCUsKts6VkuEVCW0eqUbfyZnzf0dj3Sk8z2KFe6 YKlNmzmry/HZtEwJtgrno55Fwu2sV6bCaBlUw9UBaF3Fzq42/rjcHuOtK6FDPP3azXAy8Fz6ZxKu 6JN5MCL/b9bsqa44hDSGJjQJ5nlaypEAy2yTOVnf5fq4A3Ehn2ZRQIWYrdOuWA/ofZ/msjsna9rk oqDxiAIMJ/pOPT/gQX3FMZ85MmYUL+eWllB8520fiq6zZyB7eShTbSlWDDgjwFlv0OJ/8VQFha+w XaWjRlCWlNnbiPil5mzl+IP5hYzed1XxRnDbY+Eh4h5zE0HEyY X-QQ-XMRINFO: MPJ6Tf5t3I/ycC2BItcBVIA= From: linke li To: gregsword0@gmail.com Cc: bmt@zurich.ibm.com, jgg@ziepe.ca, leon@kernel.org, lilinke99@qq.com, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, yanjun.zhu@linux.dev Subject: Re: [PATCH] RDMA/siw: Reuse value read using READ_ONCE instead of re-reading it Date: Mon, 11 Mar 2024 10:57:50 +0800 X-OQ-MSGID: <20240311025750.72981-1-lilinke99@qq.com> X-Mailer: git-send-email 2.39.3 (Apple Git-146) In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit > This is not a smp problem. Compared with the original source, your > commit introduces a time slot. I don't know what do you mean by a time slot. In the binary level, they have the same code.