Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp40503lqf; Thu, 25 Apr 2024 21:11:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXw1TPMSIcYXFIZVrpXU5dRkHN9RxrjAMBtxUoF5XcHSjZlOED84tkMG24VrGhbntlIezsGbsuaI14gWcBjhCK8iYL+7S91SFYRma/ggg== X-Google-Smtp-Source: AGHT+IF+BrN6kIUFDxFN2dRRINOwEyWH+clTJYHkQYu3sAcb53LGOMBWYQHPIE7GImIWgXBFstji X-Received: by 2002:a05:6808:3c9:b0:3c8:2d2c:13a2 with SMTP id o9-20020a05680803c900b003c82d2c13a2mr1703101oie.4.1714104718368; Thu, 25 Apr 2024 21:11:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714104718; cv=pass; d=google.com; s=arc-20160816; b=etM8040HICdWP5TdbDiJTdtBb5xqzP9Q5jb+F54UCZ/Sr/A6dgudfsLDCY3O0it+9O 2lOqTlDa8XoSqFX2c/bXLDSpTKNJfhCq/2UpM6zLZN0ZpdIAMfvsw7xxrEWuwiDxy5zr WGy+5xVb3lFZxBhkx5MeHbew/0OwduRtAkupNLcSMDslXm2CV/kmF5uEgZi71swg854B N93CeTkK4hNaT+ZQKY4yGbmPob4nDJG9/ZOvVbvngAPAfdwB130qeOoJIrKFNeUTu92e 3Ejx7x2zkPJ9w/3w44WvLmxZnGeI7vIl9t5Le1nGVfFhUnihuhf8XB4EcFuCxTkMkh18 Vm/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:references:in-reply-to:subject:cc:to:from :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:dkim-signature:dkim-signature :dkim-signature:dkim-signature; bh=78P2K7FBOs81wP5YbdyoK3PztQ24uX2wKMRRRPRCTq4=; fh=AutvYnvsFzDWXzz8pAVQ+E/ccrf72IO2q31VGgZZVlA=; b=xNQOst3UwAo7O8tlAWBXc80/LX8VrfIU2hN9BFZ3pTx4GQ5fuLL2ZkIEvd/3AMq+JC wzbjemhPZl6WdzE1Nkx+LGF0MCiSvuTy2Xuaauawq+GkBDkZ8eknN9vxSQ1fIKm7zk6U T087mXeue24WEG3M08vn7FwA9brrpDZaKCLhvihJrXl2QAE/xpipiailJLpv5oS7MULL XNSNLX3a1qQ1ZCiMUzI/X+Z2sSy3HXNVh/2HWjJOCRKYNWy51XEtRKZpr3Fmv7x9oCeL R7VYWPCyrTcMamhsOqJXbrAbnIIb2YG0mLlhCYcuEZ2YGPAA2F9dF6RtLUYd3HETrhb2 r41w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Ht3m1uYp; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ceuDWfZT; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=2dLPgcRB; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-nfs+bounces-3018-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3018-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e1-20020a656781000000b0060473c501d6si5468675pgr.459.2024.04.25.21.11.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 21:11:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3018-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Ht3m1uYp; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ceuDWfZT; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=2dLPgcRB; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-nfs+bounces-3018-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3018-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id F25B5B20BEE for ; Fri, 26 Apr 2024 04:06:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 09973811F7; Fri, 26 Apr 2024 04:06:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="Ht3m1uYp"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="zlA1fDd8"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="ceuDWfZT"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="2dLPgcRB" X-Original-To: linux-nfs@vger.kernel.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 060A975805 for ; Fri, 26 Apr 2024 04:06:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714104396; cv=none; b=k9GwSNWYFL2xQtvoAggymbgTYdDaMc6/dUTHv5bzbm7WM2AoGVPEHZv8m0dXX3mfhmiDNln50DZj/5tISDqwIvRmeys8is2mEUFxJg2zb5DLNkKkCJgDSdyH9SBugbtF6d8SEfwDA6Y1RZ4Z6oTjvLLr4lMPMiDJMINsdHQdd88= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714104396; c=relaxed/simple; bh=gGQxM28XFYj0qVNMhIVUzBPnGOcP6wxwW6RZrCmmHIY=; h=Content-Type:MIME-Version:From:To:Cc:Subject:In-reply-to: References:Date:Message-id; b=qCU4GZWhS0lFCEW0rbmOnZIbfNsT7bP9Mk3gwxzDaScBMRwSwQodCPARyGqC5vTpX9Vn3rhil4VrbunagDj2+eE0KtMkQITxrzeBP2jvxSdBH4Tm4ZnIG7imtf/FXKRTESAmleyE98dflqsZCsOjk6kz/2mf05yYt2BI8OMGgQE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=Ht3m1uYp; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=zlA1fDd8; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=ceuDWfZT; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=2dLPgcRB; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id D0F02336E4; Fri, 26 Apr 2024 04:06:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1714104387; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=78P2K7FBOs81wP5YbdyoK3PztQ24uX2wKMRRRPRCTq4=; b=Ht3m1uYpjxxVzZg89BeKogMQVyeYbSyTDB8KPjyZS2excwHn0tIHvHDGfzd2Wh2xSmwI0W zAShuYCFMEh93sn9sBQmOGetoURC8BEYI0AQ1yo6WLBek3L1+TZwRxv5Ldn1SH6q0NBo8s aQG6Pq9WBnJs2CdXpC4Jt9RkNo2S2bU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1714104387; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=78P2K7FBOs81wP5YbdyoK3PztQ24uX2wKMRRRPRCTq4=; b=zlA1fDd8N05ZDEszlp7Xoe17AH6yI79hktQCQuLNlONwIlpvRrgOF5Jay+JZom9sz6RB1q s58n/6Sv6UINQBAg== Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=ceuDWfZT; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=2dLPgcRB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1714104386; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=78P2K7FBOs81wP5YbdyoK3PztQ24uX2wKMRRRPRCTq4=; b=ceuDWfZTtJ1VAiT8uEE67N9Me/27Ae1GPrCLtZ8EA42/6Cl7xDZeT+GojUVkiXbNUklFhe BCf/tauX1u3wtrIOks437aXVstKpYGx0pYDWFYBMIBBrRNl6xnFaBUDjZPkGp4Ssfp3pWO NevZf6Zh8p0J7pwokpfW1QgYp+Z+/Sc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1714104386; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=78P2K7FBOs81wP5YbdyoK3PztQ24uX2wKMRRRPRCTq4=; b=2dLPgcRBa5M6cYmJACAXazoHNYpc3Ig1EGMQnEiwkPf7a4qXIwfAzMLEq63lT7gaqouT/C z8Di0iPWIj+RaqDQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 2DFEA1399F; Fri, 26 Apr 2024 04:06:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id yPsgMT4oK2ZcUAAAD6G6ig (envelope-from ); Fri, 26 Apr 2024 04:06:22 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "NeilBrown" To: "Guoqing Jiang" Cc: trond.myklebust@hammerspace.com, anna@kernel.org, chuck.lever@oracle.com, jlayton@kernel.org, kolga@netapp.com, Dai.Ngo@oracle.com, tom@talpey.com, linux-nfs@vger.kernel.org Subject: Re: [PATCH] SUNRPC: Remove comment for sp_lock In-reply-to: <20240426034750.26945-1-guoqing.jiang@linux.dev> References: <20240426034750.26945-1-guoqing.jiang@linux.dev> Date: Fri, 26 Apr 2024 14:06:15 +1000 Message-id: <171410437515.7600.14267125361277447684@noble.neil.brown.name> X-Spam-Level: X-Spamd-Result: default: False [-3.69 / 50.00]; DWL_DNSWL_MED(-2.00)[suse.de:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; BAYES_HAM(-0.18)[70.18%]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; TO_DN_SOME(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_TLS_ALL(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_SEVEN(0.00)[9]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim,suse.de:email]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:104:10:150:64:97:from]; DKIM_TRACE(0.00)[suse.de:+] X-Rspamd-Action: no action X-Rspamd-Queue-Id: D0F02336E4 X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Flag: NO X-Spam-Score: -3.69 On Fri, 26 Apr 2024, Guoqing Jiang wrote: > 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. I usually make an effort to find those sorts of things but I obviously missed it this time. Thanks. Reviewed-by: NeilBrown NeilBrown