Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp7539403ybh; Thu, 8 Aug 2019 18:14:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyEqaVZBoaWELULYHXxD3H/KpkBY6fBT4Xc1IOz5dMLkkW/w2jcrCrp1RaDTFu0wW/fOrPA X-Received: by 2002:a17:902:7448:: with SMTP id e8mr16481744plt.85.1565313250079; Thu, 08 Aug 2019 18:14:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565313250; cv=none; d=google.com; s=arc-20160816; b=gpzO88kHEuyMVmkkiViJ4ZxBizgPUMkdUpYPnF/jFwA2obUuWeCtM6xPKEMyfedN3m prFMuctPGJG6iy3hhP7nainOpGIHmpNgsxQCY2ENfOnsAZ6hB0Dd52jY3B9s+lnyG/fp h45pDc5P8vLbRRlBXe/i4SLHHZFunFOhMOCjslEHcUepzINOaNnscuBLYugfRKqTBpYG GJ3OO6Niou4Pd4j9PLl4GhAzS10thkORCwZ3J/E8ZJpGuTG5MpCKmv8ngk5fhsqts4e3 eMb3h6Zr4QtM7H/3Y8gdG9L+yah/C9kLdO5L4hgsg+V98Nn9BhLOaAvfPMFcHJP09/n1 gNOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=/IL4VAtRzlkC6PLwP7uI6X5rZeA5d10oYjHhk2nZZhM=; b=U2h/2ypMcVglEbQICdmgC0amybCbtoLXkYtewRv7lkvH9you7pAEl8KmT/JBErn9w1 LJygeiQtCz+FQZhzXKnlDKFfTbBTYo38U5YeV3vOnTib8H6DYbydlZgWjT9wXSgnTTks zIFSaq8v7eHVs/sCsWF5Qobh0vDufjFenaEXwvEmPp+TTAzPea69By5GgBd/L3flCvFH 4AqrdhLssyYsjvV7kEHC/LcNF4dueo9CkEp2TUBFy67bRB8AttYgpg4kPCMYu10lWOnD JO7WgsPzOKVmprPvr2ee0tAc48SEW6MajqRYfpg2LXbGOaiHbbiWE9B0UI6/znc2piW/ JY0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 136si24508201pgg.354.2019.08.08.18.13.54; Thu, 08 Aug 2019 18:14:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405343AbfHIBMl (ORCPT + 99 others); Thu, 8 Aug 2019 21:12:41 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:54072 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404550AbfHIBMk (ORCPT ); Thu, 8 Aug 2019 21:12:40 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id EAA0614284348; Thu, 8 Aug 2019 18:12:39 -0700 (PDT) Date: Thu, 08 Aug 2019 18:12:39 -0700 (PDT) Message-Id: <20190808.181239.5792042621243070.davem@davemloft.net> To: hslester96@gmail.com Cc: vishal@chelsio.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] cxgb4: smt: Use normal int for refcount From: David Miller In-Reply-To: <20190806025854.17076-1-hslester96@gmail.com> References: <20190806025854.17076-1-hslester96@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 08 Aug 2019 18:12:40 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chuhong Yuan Date: Tue, 6 Aug 2019 10:58:54 +0800 > All refcount operations are protected by spinlocks now. > Then the atomic counter can be replaced by a normal int. > > This patch depends on PATCH 1/2. > > Signed-off-by: Chuhong Yuan Applied.