🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7611

Re: [PATCH 0/5] net/rds: move sysctl-only code under CONFIG_SYSCTL

#7611
From: Allison Henderson
Date: Mon, 26 Oct 2026 19:58
52 lines
9532 bytes
On Sat, 2026-10-24 at 17:39 +0200, Oleg Nesterov wrote:
> On top of
> 
> 	[PATCH net 0/2] net/rds: fix init failures leaving built-in transports on a dead core
> 	https://lore.kernel.org/all/20261021195837.142802-1-achender@kernel.org/
> 
> Allison, Joel, I am sending this mostly to "complete" the previous discussions.
> I won't argue if you think these cleanups do not make a lot of sense.
> 
> And of course, I can't test them. I just verified that the kernel with
> CONFIG_RDS CONFIG_RDS_RDMA CONFIG_RDS_TCP CONFIG_RDS_DEBUG builds with
> or without CONFIG_SYSCTL.
> 
> However, I decided to abuse sashiko.dev and sent the cumulative "not
> for inclusion" patch, sashiko didn't find any problem:
> 
> 	[PATCH] net/rds: move the sysctl code under ifdef(SYSCTL)
> 	https://sashiko.dev/#/patchset/atyHdPlxALv0Nnyj%40redhat.com
> 
> Oleg.
> 

Hi Oleg,

Thanks for following up on this.  I think the cleanups are worth
taking.  I applied the set plus the two net fixes, and ran it
through the selftests with both config settings, and things look
like they came up clean.  So you can apply my tags to the set:

Reviewed-by: Allison Henderson <achender@kernel.org>
Tested-by: Allison Henderson <achender@kernel.org>

These are cleanups, so they should go to net-next, which is closed
until the 9th.  Everything except 5/5 also sits on top of the
earlier net fix, so once that lands and net-next is open again,
please resend as [PATCH net-next], and it should apply cleanly.

Thanks for working on this!
Allison

>  net/rds/ib.h        |   1 -
>  net/rds/ib_sysctl.c |  33 +++++---
>  net/rds/rds.h       |   5 --
>  net/rds/sysctl.c    |  26 ++++--
>  net/rds/tcp.c       | 230 ++++++++++++++++++++++++++++------------------------
>  net/rds/tcp.h       |   2 +
>  6 files changed, 168 insertions(+), 129 deletions(-)
> 
Technical Details
Message-ID: <24c5adf57ed323848b1a1ddf38a21fe3ac296755.camel@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352048-linux-kernel-netdev=dewy.ru
References: <atzRTslzb6CAKPKX@redhat.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352048-linux-kernel-netdev=dewy.ru
From: achender@kernel.org (Allison Henderson)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH 0/5] net/rds: move sysctl-only code under CONFIG_SYSCTL
Date: Mon, 26 Oct 2026 12:58:42 -0700
Organization: Usenet Network
Message-ID: <24c5adf57ed323848b1a1ddf38a21fe3ac296755.camel@kernel.org>
References: <atzRTslzb6CAKPKX@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="1385123"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Vxqmx76b9W7jPkbDY8GLlkwmdQ0= sha256:1cYGIGYHEOLfCYbHMb7LrC2fE1Udt+KG8h7g1cuQkQs=
	sha1:sytMbclgqiiVFMnMxtFeeHku/ds= sha256:J3SxGreSdGIy87R4FcUX+9ReEEq44gs9zWVV3njDrDE=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 9D339125BBC; Mon, 26 Oct 2026 22:59:24 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.738
X-Spam-Status: No, score=-3.738 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.339, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id B-0JID12ACLn;
	Mon, 26 Oct 2026 22:59:20 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-352048-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 19A0D125BB8; Mon, 26 Oct 2026 22:59:09 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 478A02B4DE; Mon, 26 Oct 2026 19:58:57 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793044735;
	b=P4qnCpYD3jNVC6nH+VyZZ9Wbyb9kVMmz5tMkbevagEJmgG1cj9oKTA4UNfUJXsybAGBo
	 SL43UnNvSiJsUtJAAcT2mUheA4F/2pi/UZ+rmu7nSwD7tGhCoE9gVx1UfnZ7u4hTp5bGX
	 gSxeKpUXK9jEnJUDUxyBvWvRqUbnWUc28THWrGGN859kyYe4MwcDLhhKAGMBTKBwpcc8J
	 KaCiI9zRFDN1i+rd4Sa3JFO+fqSTiEzEH/Fp3erRGxZEqOS5BFiWohAlJCWvhKXDqgKlf
	 Op20GjwH8wpx9WBd+ArF89sgEajred/7cv6FZi/GoaNICGssgdV4pmPvfoL9yU6a+Ow==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793044735;
	h=X-Original-To:Received:Received:DKIM-Signature:Message-ID:Subject:
	 From:To:Cc:Date:In-Reply-To:References:Content-Type:
	 Content-Transfer-Encoding:User-Agent:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version;
	bh=7gXPuKPbe2d9wp4E3pTUVsY6Y2MD/gSJpN8xN6R9Sfg=;
	b=wAWJBp66zxuWKU5N79dJH+xiF1GPK3CRy/81Oe8O93FDa2rf3pyeGZKpX3uVS27wKMo2
	 HmvZMq3qRN6dezVWFKq7X65O1QEC02q0DEvp9XjmzuVrvy0vM94zNX0oI3MvFqTDZZI8a
	 5syKuJl6EtnSRN/BTabxXeqDkvTPH13CDpvi4HoTFepAlx5vUa1jOgp9TXl7sjxSUVOzf
	 4PQF41Mv1uyrdw6u9j261BUZJ5AfUgFLkJ4jb5ig635J3lD3KKNIn/qrPEPt1fBFZPv18
	 dEJI4izHWpQ0XvAXDa1MoHQ11xQ4Q8aNfTQRmVTs4ZSD//nIWJ44Uy5XGa7pcyge5Gw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="Gh/8p4P6";
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 153A9606A321;
	Mon, 26 Oct 2026 19:58:55 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Gh/8p4P6
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793044724;
	b=LOJrGqGsep5S3eGJREE9u48ahV67VPfDcMquQ5fue/RZDXNByuKowrok+32DtblPUWuw
	 fdkJIm1DfkoFn/tZOTRNU6ETeVS9XhhpZBmMoJH1120Hlw+Kdm7eN3TUs5cJ+VQnwM99j
	 S3BJtM1x04DvJm8YEhnuD7d7bp6/XY63shJeTu2gXk2ojuub51ZmCc+NEEL5tJA4wF4bG
	 xdZNwXlGUGTbmwYi82XL8Wq0gKZPIXdbkdbLEfsTAqiQC1rM6BgDimwrLYxLBLsW/14Vu
	 nmE60wHdsLUHPpxmahuD4K0iqf64e4OGCWkeY/kvM0T7BNqzyQk/4BLYI5HqiTbJsLg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793044724;
	h=Received:DKIM-Signature:Message-ID:Subject:From:To:Cc:Date:
	 In-Reply-To:References:Content-Type:Content-Transfer-Encoding:
	 User-Agent:MIME-Version;
	bh=7gXPuKPbe2d9wp4E3pTUVsY6Y2MD/gSJpN8xN6R9Sfg=;
	b=p62hS2BYy1HkjMS93Ie5lACQ6UU5kg6J3+v44f61P/T2QcX1cxKoY+fntiApqO3xJ6G/
	 QtNI+sOTTIBVIcsGKcLQ1qH5gnAzXHVTE6B9SAtes5OGRPFWEw4qBFzpM7p0Mvp0MaTtc
	 1GamzjGVhiH+LIWU4Md7OS4vfcSdSTpCkbyBkXNPWAXywJVGM455kJnotAIsaKr1Yc26A
	 lfGIobp615bip6CjXSd7P9MMnAYvIZE22MkcXGKGUEyOwU6/S1Mq/93J9A7FRgEGSZWzP
	 nqqktYDHxlRxAPM4mzaIGHGN7F4jnjAIyEUUW2p/17NTNMt6git48ShxdAw5oAZ90Tw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="Gh/8p4P6";
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6B6F606A31D;
	Mon, 26 Oct 2026 19:58:43 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C9BD1F031E0;
	Mon, 26 Oct 2026 19:58:43 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793044723;
	bh=7gXPuKPbe2d9wp4E3pTUVsY6Y2MD/gSJpN8xN6R9Sfg=;
	h=Subject:From:To:Cc:Date:In-Reply-To:References;
	b=Gh/8p4P6MdMkozfF9bcxdgxaWSiWbhpVZ4aTAxO64vLlj+8zpi5JwfqB8fCiXKs3c
	 FlVInkCS0YR/Z5dq5dBxSUASbzZ4u9IQmcel5GPWzTtpiZpUeMlJHr9SHpHcu3zny9
	 GXtrFMSCqm0jQzkIdFkXtSylsGtwpm8RKErLUXogSHH9ol6N2+QkkO55lJyHYJVrgC
	 r0tP6y/TCiwm2fABY1F7UjRlvFO8u0UxV/cAVK08Kh1ehPbC+yoYSWUssZ/xbAaDr2
	 XX5KqkZUt8OCp2S0ao3XgCxMwPdl5auOMsTF9e07+GfCZSfZLQbdGOLtY+EHRA5/T4
	 Msr43iblfdzKA==
X-Cc: pabeni@redhat.com, edumazet@google.com, kuba@kernel.org,
 horms@kernel.org,  netdev@vger.kernel.org, linux-rdma@vger.kernel.org
X-In-Reply-To: <atzRTslzb6CAKPKX@redhat.com>
X-User-Agent: Evolution 3.52.3-0ubuntu1.1 
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list