Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp32813lqf; Thu, 25 Apr 2024 20:48:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWtlusxQVqyQl00BO9fhtRAAJbjXiJ4Jc1CyqgyogqGM5YdQx6iKnTY7M+Wzq6Nhgr8IGTtlgBXVrqS7CiKictetjWnjuAl3XKJPelWNA== X-Google-Smtp-Source: AGHT+IHtbrEfqXtam0QiROZZZSfYtP3rNGysJ4t274JalCN5LLgGjkFnXr60UMaBVn8kLmWLEDan X-Received: by 2002:a50:d74b:0:b0:572:2f0d:d165 with SMTP id i11-20020a50d74b000000b005722f0dd165mr884498edj.4.1714103286877; Thu, 25 Apr 2024 20:48:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714103286; cv=pass; d=google.com; s=arc-20160816; b=mRJev4hM1CFM2vnJysHwJ3wRDXA+eB/d9exucD6IcQN/lRrqNDYuKcGgluIamgsbhI Xunj/n/bdjLNF57aiqyakbj/araeH7BgYtPF05qzNyVpABVGCB8v989X4f0r5ePNKvue P5/xoRTo9VqqLFG9C73ffMO6Ays+JOGExciok8gZSYPbQ9TUg9N4nEta4Gp7qBiegCh0 OOrERyO9oaGcqtl6rt6ndyAr12FjciFI+PUkoVUl2G3gRFHyYXvSCsSA9ewg4GlnSD/H pvqDF+s+vAnbkS9uEwqEhcCenix0T2V2QDX1nSAH1JR5ouYpnJm1mpE0PMa1FbwPYGZb prNg== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=gRjod2wT/z4moe5A5yIQqLtdOWaTgQSx7ihxC577sao=; fh=7tIbfZL4wVY+CVyQqR1RI825GHMi7nS51Wf4qABZGok=; b=mKs4odBgTmvNSOzj11CvmLNotsiiBB8SU4E2K/AQ0xFjZhkUaUGmDpoBxgJW3175ui x23xW/CEDKlQ8WpFz4Kx+WyCyVau5ECqXU6QjTonUvnPUMmxeanfSMF/4Au3NDsSea4l bhGLAqVcMUs+e+4Lg5LjaZAFIvTOSX161+H7EBZLe0j1Zvh9xR9+5xrdPvQQdzZcRVvu HcxgcmqS4e0EdgxjM2lvg2rFdFBnoCoSOHSaJpfOGL8WphrNP3L1RRFmcwqQvCyLw8bA lNKa7I7PjC3Eic8jaOke71KOVEWqpruyidMVVCnfb2xH7SXxu8g425qiGwbXvu+JXfuL psqw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=qSBlgiLe; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-nfs+bounces-3017-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id l4-20020a056402028400b0057083e9f46dsi10528609edv.354.2024.04.25.20.48.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 20:48:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3017-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=@linux.dev header.s=key1 header.b=qSBlgiLe; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-nfs+bounces-3017-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 9065F1F21D2B for ; Fri, 26 Apr 2024 03:48:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9996376F17; Fri, 26 Apr 2024 03:48:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="qSBlgiLe" X-Original-To: linux-nfs@vger.kernel.org Received: from out-170.mta0.migadu.com (out-170.mta0.migadu.com [91.218.175.170]) (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 913EA7604D for ; Fri, 26 Apr 2024 03:48:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714103284; cv=none; b=MZ0Fp/6BT4Mp+15armHQH5rka7GuYUIP82vHZdkp43dXb0JusvLFuJup6RTFf0q6ojk4Mlzg65ZtUcT1picNTELXkQlcKcb5VQq6ptwt5AjI+qXltoPpVs60Y+f3CNEg3LZmbgEafWSOLWM0atuYM4ELoVIV4XB0Wzu/myhwdSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714103284; c=relaxed/simple; bh=1QqmeQZBX2emmgDPNnk1RxbtjSyKJ8bi1nFu1IAc+2Y=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=p8JDaqYDCdbRE4uwrZk4nVMFRlhQUF1ORkFq6UPfSPywlbtDcwXM3y5sJnMSm2wR5oczzOwlrSHypoVpq30jAq3noT8ngD3xdg9lan7WEfjVcxgONJFPtclB4ZWAe4xEcU90CYH4Ab9Pi8/hCl/9GarbBGc9pR5rg497oENEyMs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=qSBlgiLe; arc=none smtp.client-ip=91.218.175.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1714103280; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=gRjod2wT/z4moe5A5yIQqLtdOWaTgQSx7ihxC577sao=; b=qSBlgiLejrigWRAzGCKvbq/sZ/YFJCYSxq33kkP4nCbS8Mt4h8H/vqOvMrrNMUKwK9lIGV YDGWutA2BSUBwSmx9xVLYbtQRZAu4/tBS7L1DkB2puTrN5D49fZwwd/JV7WQiPMKdLjlD6 gFo9xdD4Eay3VL+5GZFI65JJ0+uay/0= From: Guoqing Jiang To: trond.myklebust@hammerspace.com, anna@kernel.org, chuck.lever@oracle.com, jlayton@kernel.org, neilb@suse.de, kolga@netapp.com, Dai.Ngo@oracle.com, tom@talpey.com Cc: linux-nfs@vger.kernel.org Subject: [PATCH] SUNRPC: Remove comment for sp_lock Date: Fri, 26 Apr 2024 11:47:50 +0800 Message-Id: <20240426034750.26945-1-guoqing.jiang@linux.dev> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT It is obsolete since sp_lock was discarded in commit 580a25756a9f ("SUNRPC: discard sp_lock"). Signed-off-by: Guoqing Jiang --- net/sunrpc/svc_xprt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c index b4a85a227bd7..ec78c277a02e 100644 --- a/net/sunrpc/svc_xprt.c +++ b/net/sunrpc/svc_xprt.c @@ -46,7 +46,6 @@ static LIST_HEAD(svc_xprt_class_list); /* SMP locking strategy: * - * svc_pool->sp_lock protects most of the fields of that pool. * svc_serv->sv_lock protects sv_tempsocks, sv_permsocks, sv_tmpcnt. * when both need to be taken (rare), svc_serv->sv_lock is first. * The "service mutex" protects svc_serv->sv_nrthread. -- 2.35.3