Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2121765rdb; Thu, 7 Dec 2023 20:58:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IFAlJbFB+f/87rYeGKo1sv/B0cEq0BqxoLasdS3cBIa3SJHQSIdAxggf+oAHDpkrsp63hSn X-Received: by 2002:a05:6a20:8628:b0:18c:9856:8ce with SMTP id l40-20020a056a20862800b0018c985608cemr2768228pze.6.1702011509750; Thu, 07 Dec 2023 20:58:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702011509; cv=none; d=google.com; s=arc-20160816; b=WZ2iq0Lr3QmoNwIXYrJ2qVAWsiZ5l/vealFQ/e6JbnukddJmVVxFRtUpO7Zsdl/CAj /le6wtoyjpGdrDeQ8DTzGgR5BSI5yrj50kqUIfUvLdTgyH7jteQXbjtRBKkigOxakrMN cpUxH2w1D/JbpGYwIELl9f98pQJh+jwVgH9aoLx+evtdYlB3WpN1bgkHEkmmspAMtqBu sro8lq9dul1Pv3UvcjSXRbQQtqYlI4EJLiURuH0nZe0o4Iei4cDDk/nj4IHcNSJEXHkD C58eGNz2aSiurDtXbyYSFxFjo/EqYod8z2Oa7I7NdnyPK32ekI5RXyJiYwRoacZjgTRV bwyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0pDBs5pdkEcQyn7uANovljW+bimgmkmJLhzTHRolNmc=; fh=2afNYNNhJkmYYqvmbZGhGyqc/onY8X0TPicn7mQEXUI=; b=ZVpfh6n1UlgEsgxP1uG5QQrIdbhloEFXRjN8l7ShQXIO19bAsm7zpGGfLJ2CrCH/iE KfyPzvsoEKjbotBu8zV/1CjwUbvGRC9Ta48L0thQQhRLFGS3g7kYGx+0ehH1BgJwl/Tl lD7RKrO1bbunx/TmBXFmoPb/63fWTnSWgxL49XmkjBwx1ihDLsqS7uHBS3Nl01gq99WC NgifxR+RpsSPMzbrb61o8eLvafCjmFNBzKA1b9grUBAuZVVSgVu3VZc19Az9bw/XiwsR ULWb11B1K/E8JO93D6l6w0NkDMeyCyItVWhBn9zkdp9yNxjer/6p2ka/3ssroBJDB17T P90g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=lBx8QGMI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id u13-20020a17090ae00d00b00286b69f3ba7si2200476pjy.23.2023.12.07.20.58.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 20:58:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=lBx8QGMI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B1E4280E7134; Thu, 7 Dec 2023 20:58:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232077AbjLHE6S (ORCPT + 99 others); Thu, 7 Dec 2023 23:58:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjLHE6R (ORCPT ); Thu, 7 Dec 2023 23:58:17 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87C0A10F1 for ; Thu, 7 Dec 2023 20:58:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=0pDBs5pdkEcQyn7uANovljW+bimgmkmJLhzTHRolNmc=; b=lBx8QGMIrLylAcF3bKU8UUdVwx k0gRNbymp8WvD1+64JjV5wf1S/rdtj+S+od/N41rVJ5g3gSnP7Je8XNKRKDJuGA+De+A5xDf+PMF1 IyaQBFExQF/j6o9apIEGV9qhU2oScKUnnsc1qjucQZEpU07QY7XacOw4Q3Ml5rDbZoJJmwVbSQrRW Lhct4Pa9ys5l0H0Qh3Xyqe/ptensfRCSOdD3E2rBBsSyWu8MbxNLPub32nkU8wy0WgNA1lJ1jp2SQ oC5yc1eJxWY2IBizvCaFiOjd8QKPPWSJ7duhV9vX3TpxMPmIm3syMz89o+YeFIWwYhXbr27rFgiGK L9BJmZ4w==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rBSwP-00EitM-3D; Fri, 08 Dec 2023 04:58:22 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Andrew Morton , Mathieu Desnoyers , Peter Zijlstra , "Paul E. McKenney" , Boqun Feng Subject: [PATCH] init/Kconfig: move more items into the EXPERT menu Date: Thu, 7 Dec 2023 20:58:19 -0800 Message-ID: <20231208045819.2922-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 07 Dec 2023 20:58:28 -0800 (PST) KCMP, RSEQ, CACHESTAT_SYSCALL, and PC104 depend on EXPERT but not shown in the EXPERT menu. Move some lines around so that they are displayed in the EXPERT menu. Drop one useless comment. Change "enabled" to "enable" for DEBUG_RSEQ. Signed-off-by: Randy Dunlap Cc: Andrew Morton Cc: Mathieu Desnoyers Cc: Peter Zijlstra Cc: "Paul E. McKenney" Cc: Boqun Feng --- init/Kconfig | 102 ++++++++++++++++++++++++------------------------- 1 file changed, 50 insertions(+), 52 deletions(-) diff -- a/init/Kconfig b/init/Kconfig --- a/init/Kconfig +++ b/init/Kconfig @@ -1688,6 +1688,56 @@ config MEMBARRIER If unsure, say Y. +config KCMP + bool "Enable kcmp() system call" if EXPERT + help + Enable the kernel resource comparison system call. It provides + user-space with the ability to compare two processes to see if they + share a common resource, such as a file descriptor or even virtual + memory space. + + If unsure, say N. + +config RSEQ + bool "Enable rseq() system call" if EXPERT + default y + depends on HAVE_RSEQ + select MEMBARRIER + help + Enable the restartable sequences system call. It provides a + user-space cache for the current CPU number value, which + speeds up getting the current CPU number from user-space, + as well as an ABI to speed up user-space operations on + per-CPU data. + + If unsure, say Y. + +config DEBUG_RSEQ + default n + bool "Enable debugging of rseq() system call" if EXPERT + depends on RSEQ && DEBUG_KERNEL + help + Enable extra debugging checks for the rseq system call. + + If unsure, say N. + +config CACHESTAT_SYSCALL + bool "Enable cachestat() system call" if EXPERT + default y + help + Enable the cachestat system call, which queries the page cache + statistics of a file (number of cached pages, dirty pages, + pages marked for writeback, (recently) evicted pages). + + If unsure say Y here. + +config PC104 + bool "PC/104 support" if EXPERT + help + Expose PC/104 form factor device drivers and options available for + selection and configuration. Enable this option if your target + machine has a PC/104 bus. + config KALLSYMS bool "Load all symbols for debugging/ksymoops" if EXPERT default y @@ -1752,57 +1802,12 @@ config KALLSYMS_BASE_RELATIVE # end of the "standard kernel features (expert users)" menu -# syscall, maps, verifier - config ARCH_HAS_MEMBARRIER_CALLBACKS bool config ARCH_HAS_MEMBARRIER_SYNC_CORE bool -config KCMP - bool "Enable kcmp() system call" if EXPERT - help - Enable the kernel resource comparison system call. It provides - user-space with the ability to compare two processes to see if they - share a common resource, such as a file descriptor or even virtual - memory space. - - If unsure, say N. - -config RSEQ - bool "Enable rseq() system call" if EXPERT - default y - depends on HAVE_RSEQ - select MEMBARRIER - help - Enable the restartable sequences system call. It provides a - user-space cache for the current CPU number value, which - speeds up getting the current CPU number from user-space, - as well as an ABI to speed up user-space operations on - per-CPU data. - - If unsure, say Y. - -config CACHESTAT_SYSCALL - bool "Enable cachestat() system call" if EXPERT - default y - help - Enable the cachestat system call, which queries the page cache - statistics of a file (number of cached pages, dirty pages, - pages marked for writeback, (recently) evicted pages). - - If unsure say Y here. - -config DEBUG_RSEQ - default n - bool "Enabled debugging of rseq() system call" if EXPERT - depends on RSEQ && DEBUG_KERNEL - help - Enable extra debugging checks for the rseq system call. - - If unsure, say N. - config HAVE_PERF_EVENTS bool help @@ -1817,13 +1822,6 @@ config PERF_USE_VMALLOC help See tools/perf/design.txt for details -config PC104 - bool "PC/104 support" if EXPERT - help - Expose PC/104 form factor device drivers and options available for - selection and configuration. Enable this option if your target - machine has a PC/104 bus. - menu "Kernel Performance Events And Counters" config PERF_EVENTS