Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2378433rdb; Fri, 8 Dec 2023 06:34:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IEie+SDDGzl3AcImkPwNyTUkFgsnFP0fHwlLYSmylEN2XLG/O1rg7lS4NgZxnmXQu3d9DKL X-Received: by 2002:a05:6a20:3c8d:b0:18f:97c:976c with SMTP id b13-20020a056a203c8d00b0018f097c976cmr112325pzj.84.1702046086050; Fri, 08 Dec 2023 06:34:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702046086; cv=none; d=google.com; s=arc-20160816; b=j8sYwnsk+xXylpe3AMZ7CCwqAuJC8RlD0ZRZZGIWwYJ2FHGvbPebRaTNJ5E9DF05db QIM0SfxQp1SB06g7/Ie0axdg0uH8C8ttt6tPq9DnMZSisXBc/+HQl5NjcrxN7+28PEn7 zajZLdbafur9XhoyE51UZrovFUYj8i9vUEjarvQE17VKsZjSrnhon/iEUSqDoHddpw5H qJ5uNSR+/YOP8CuBemo7BEEWvkxLjD4ZQmBsoVW5GnhPPihulDRqavU6/9NvB8ztVayx 8zwavGI3egxi0IQVJYgI4K7LrO4gZfRRJsjVMW89jqbOZ8DqCvIaOZ9b1PclZ6GXtp4q 7A3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Z/jnh2oehwJHNaFYl/+xH6U7aj+zEAqY7nVjFvHeJME=; fh=9BEkJNE6RY7GpRBq8B4N0V/wmXlBWR6paQrkYOqs2NI=; b=rGE10JqmIwUkmdOHoDBptrfzPsfNMuKtZimXQXTwMO1s3B91gQ1Kb5ru+TC50gMLCP 0Gw889oYpfps639BMRyF74wBIkL0ache46q6qDlunnoK4SkJNjq+Ppgy9s3lGS9Lyi0N CPOuIL+6AJUrWj7Chs6OIOnvyDOa9WsynNV00v6se+ZEoEs9s4zO/0jlavTSv26WzEz3 11rhfSVxqejNl8uIlQgSyCdxSynCT9t94v0N0N5ibdN1jeP09d+Arf4ldKJEHJEadQ0A t8j2sspSEHw4frZS7TuIPL+crD8N+1pb2CoJG+seHAsredvLX25qnTZOH8sfgIWjtZUo IN+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=q30EWXZb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id o2-20020a634e42000000b005c5e2c15169si1668313pgl.737.2023.12.08.06.34.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 06:34:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=q30EWXZb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E72C580699DC; Fri, 8 Dec 2023 06:34:43 -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 S1573969AbjLHOee (ORCPT + 99 others); Fri, 8 Dec 2023 09:34:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573958AbjLHOed (ORCPT ); Fri, 8 Dec 2023 09:34:33 -0500 Received: from smtpout.efficios.com (unknown [IPv6:2607:5300:203:b2ee::31e5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1272A173B for ; Fri, 8 Dec 2023 06:34:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1702046076; bh=JBuEodv1vKk4aXJXB85bNo4KPkCVTL7QiclIOUK/ZT8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=q30EWXZb53v4IPcevMif+xHpd8veWDf4RwdfANyyBNuhVFxeCU795yPqXgv58TTqb TPRYRmu78MqXXQrPy5xASzmUZiRM4N6+LY232SoRymVKNf3E539CSwPS1ejK/263jj RZj53hEC6sDvYSxs8NrlodbbSThJpmt5Io7nc2DXh+7wsJLxnrPooRsUxc7CH507q/ NR+DFrlNSOe0iJ2rYHqCuQFjNas/gY8u95aUtvJxG8kAoi7ETmsHzaiHwQwoVDDC7A exMb1vMF/nGulCkCoFqSwPia1HdYVpYYvzpUR7P0EN7JA47Ye7gAnYGTEt3no89Z6/ hAyLld2yZ1FiQ== Received: from [132.207.210.125] (Sansfil-Eduroam-Externe-210-125.polymtl.ca [132.207.210.125]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4SmtvJ6WcRzG3q; Fri, 8 Dec 2023 09:34:36 -0500 (EST) Message-ID: <203f8ab5-7728-40fe-bd31-d48440fb0726@efficios.com> Date: Fri, 8 Dec 2023 09:34:33 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] init/Kconfig: move more items into the EXPERT menu Content-Language: en-US To: Randy Dunlap , linux-kernel@vger.kernel.org Cc: Andrew Morton , Peter Zijlstra , "Paul E. McKenney" , Boqun Feng References: <20231208045819.2922-1-rdunlap@infradead.org> From: Mathieu Desnoyers In-Reply-To: <20231208045819.2922-1-rdunlap@infradead.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,RDNS_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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]); Fri, 08 Dec 2023 06:34:44 -0800 (PST) On 2023-12-07 23:58, Randy Dunlap wrote: > 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. Thanks! Reviewed-by: Mathieu Desnoyers > > 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 -- Mathieu Desnoyers EfficiOS Inc. https://www.efficios.com