From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 74B5B3812DB for ; Mon, 27 Jul 2026 14:47:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785163630; cv=none; b=hdvg6PiGNgb+0HvAI77gX+wRUZKDp1grY4aIgoKyVzgRqrRnXsLZlSXW/QjfFzap9dg5C40RBaW9M8cvGLZJARlqnLxlRgo/GAuZ/9Ccux3aWm3MyKUvH0G0U4IZyjhehSfpAQ2MHZNAGdFAKG+DRzsvh6IdfzY+EGgQxt3XPTU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785163630; c=relaxed/simple; bh=D/kJLUqNsFen+Irtk0ZYgZw7MRo2IC4LueC5JftmikA=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=hBixjpOuaYuos7XGvs/R6MdLzZ0r6O3cyLCpYngS3E7Vab9FVi9hasVpFthqLb+yhE1/zdi2nExZYmkZ8AsC4Nxc6r88ItlQmi7WZjo3kCpRH0igfXQY/3QkFyy7JHGxuclVX6LqTG331O4S50hrxmHjdpuk2iGVvwiq0MKGUWc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=h6XE1+f+; arc=none smtp.client-ip=170.10.133.124 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) header.d=redhat.com header.i=@redhat.com header.b="h6XE1+f+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1785163628; 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=UeSm640Af8pUBNjARVUqGOVMRELOe8XqRb0rSABebb8=; b=h6XE1+f+NH0hJ1YCqQRiclNx5OUFxvqZb32bjUWUiCPAgJuu7Wr9IvoaVo45B4HWTc3VSb eH7JbKElu4YM6cf8fFTenhZX5fti56ePJb0bw87R+hrSw6oeMlrlXSFh7vJs5zGV5agF3J XNvr6rfQWKC6yJdeAfTDHMFYCGk5ZC4= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-370-sSe8Y5o9O-6tpObZVEQMBA-1; Mon, 27 Jul 2026 10:47:01 -0400 X-MC-Unique: sSe8Y5o9O-6tpObZVEQMBA-1 X-Mimecast-MFC-AGG-ID: sSe8Y5o9O-6tpObZVEQMBA_1785163618 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 811E5180133C; Mon, 27 Jul 2026 14:46:56 +0000 (UTC) Received: from fedora (unknown [10.44.33.21]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id D205E1955F17; Mon, 27 Jul 2026 14:46:45 +0000 (UTC) Received: by fedora (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Mon, 27 Jul 2026 16:46:56 +0200 (CEST) Date: Mon, 27 Jul 2026 16:46:44 +0200 From: Oleg Nesterov To: Alexey Gladkov , Andrew Morton , "Eric W. Biederman" , Nathan Chancellor , Nicolas Schier Cc: Geert Uytterhoeven , Maxime Coquelin , Alexandre Torgue , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , Balbir Singh , Yang Yang , Peter Zijlstra , Juri Lelli , Vincent Guittot , Kees Cook , Joel Granados , Andrew Morton , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shuah Khan , "Jason A. Donenfeld" , linux-kernel@vger.kernel.org Subject: [PATCH -mm v2 0/1] sysctl: remove CONFIG_PROC_SYSCTL, it just mirrors CONFIG_SYSCTL Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 Andrew, this patch depends on sysctl-move-the-cad_pid-entry-from-pid_table-to-kern_reboot_table.patch in -mm tree, because that patch removes one CONFIG_PROC_SYSCTL too. If this patch is accepted, I'll send a couple of followup cleanups: kernel/sysctl.c: collapse the now-identical CONFIG_SYSCTL nesting drivers/parport/procfs.c, fs/dcache.c, and fs/file_table.c: drop the CONFIG_PROC_FS checks, now it is clear that CONFIG_SYSCTL depends on it Oleg. --- arch/m68k/configs/amcore_defconfig | 2 +- arch/m68k/configs/stmark2_defconfig | 2 +- arch/s390/Kconfig | 4 ++-- arch/x86/kernel/cpu/bus_lock.c | 2 +- fs/proc/Kconfig | 3 +-- fs/proc/Makefile | 2 +- fs/proc/internal.h | 2 +- include/linux/utsname.h | 2 +- init/Kconfig | 3 --- kernel/delayacct.c | 2 +- kernel/sched/core.c | 8 ++++---- kernel/sched/topology.c | 4 ++-- kernel/sysctl.c | 12 ++++++------ kernel/time/jiffies.c | 4 ++-- kernel/utsname_sysctl.c | 4 ++-- lib/Kconfig.debug | 2 +- lib/test_sysctl.c | 2 +- net/mpls/Kconfig | 2 +- tools/testing/selftests/net/config | 2 +- tools/testing/selftests/net/packetdrill/config | 2 +- tools/testing/selftests/wireguard/qemu/kernel.config | 2 +- 21 files changed, 32 insertions(+), 36 deletions(-)