From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792856408; b=0KyJY7fId+G5vERqKqZBCRvFu+A2XIgKC14oLE71sA+IMLCSBd0kox++Vh9jx4DiiaiF kjVZUaRLbj9SvJnieKxfa1OY2XnZF5LgWQejaxXMydTtLDwToDQbImRbWPsvHqCg4CAER Su2kYUbZ5PpToCasWCFs9/pkhMMgkHxX2t6/5xohn1UQKb8jUoOB0vImOS3t1lVw3lRzw ee/rZf8Fa0Lv6j6fxBVBzZFcllQ8uBo6YrUVsgi9Qkq9oJPmdd3ZZL5/4O588p16l4eGJ fhNL+r8nkHrSWHB4vOwk4UPI5d4xBZlFislC922Grw0rsgNhc9oCPYYfP55s94d7gdA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792856408; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:Received:Received:Date:From:To:Cc: Subject:Message-ID:MIME-Version:Content-Type:Content-Disposition: X-Scanned-By; bh=wl2V31FB132pnOHEDteyCX2x15/r+yvjr9u9jlR6QE8=; b=FiWp05Hy2oRSILsG0D+6/5hws8LshHDOsDvgwBG1ViL+DJ000fEznfA4SBhrcGTrqBx8 oVJOAicxea7TYctCiH7pz5F7ZpZgOfIBklu9Qphl+6OmoPa1fSgFSw4L3IGYU7JLd9AUm fW0g0OnYchL3MnyC6ktxwj1yPrtBRHLytaUpuox4WGVdRNYnzp/f4GEoKxBlixBfsPEZ9 BYoDBBwhoFtyNaRYMI35QRo8+wAkycWmPz/R/Mtg50bVJJlq9MWG3/DG9UamLmSVaGOzC uxQpzGAyrYq8iQwyzlOy77+PbpC3HuFLDQ3ncdM5eugmIQfOtm9FaiS5zwNV4RCkaeA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=MWJowujP; arc=none smtp.remote-ip=170.10.129.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AC841606A31B for ; Sat, 24 Oct 2026 15:40:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org AC841606A31B Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=MWJowujP DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1792856406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=wl2V31FB132pnOHEDteyCX2x15/r+yvjr9u9jlR6QE8=; b=MWJowujPvB6EcAviNCKy9U5M6gefwLhsTYRS9T5DLRHgxxvyvOX1RUXg4jR5T66epWLuOm XRENDdfCkvwPnyBte60wnH0dErk9alqICp/+xZ+ZcAAM0a+8EWYT0xbpomeYA5aEVdINLa 77jd9vTA2fHJmsMF1tZqqw2ZZptmIM4= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-385-ZIwB8MQkOT6BvLMlBz147A-1; Sat, 24 Oct 2026 11:40:03 -0400 X-MC-Unique: ZIwB8MQkOT6BvLMlBz147A-1 X-Mimecast-MFC-AGG-ID: ZIwB8MQkOT6BvLMlBz147A_1792856402 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id E20111954B1E; Sat, 24 Oct 2026 15:40:01 +0000 (UTC) Received: from onestero-thinkpadp1gen7.tpbc.csb (headnet04.pony-001.prod.iad2.dc.redhat.com [10.2.32.116]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id C3FC33000738; Sat, 24 Oct 2026 15:39:59 +0000 (UTC) Received: by onestero-thinkpadp1gen7.tpbc.csb (nbSMTP-1.00) for uid 13628 oleg@redhat.com; Sat, 24 Oct 2026 17:40:01 +0200 (CEST) Date: Sat, 24 Oct 2026 17:39:58 +0200 From: Oleg Nesterov To: Allison Henderson , Joel Granados Cc: pabeni@redhat.com, edumazet@google.com, kuba@kernel.org, horms@kernel.org, netdev@vger.kernel.org, linux-rdma@vger.kernel.org Subject: [PATCH 0/5] net/rds: move sysctl-only code under CONFIG_SYSCTL Message-ID: X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 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. 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(-)