Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp938520pxj; Thu, 27 May 2021 15:36:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz67PdwyQQ/geqQtK0aiwacWoAytOxtykjRaiyFy3hTmhG6FlUKEmWIJUUfcYK7SJ2/z170 X-Received: by 2002:a05:6e02:58a:: with SMTP id c10mr4890846ils.216.1622154979614; Thu, 27 May 2021 15:36:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622154979; cv=none; d=google.com; s=arc-20160816; b=mqHZKN/yzjPKCzkSdvPg+QzXUIH+b3wHvYz/nidO76ZJLAiQWWK93pGxT7wWIDPO9h mwqhY881+va0dZvc7mKT9EsYGsCgemr6uucEPCrQk6tZBrTVH0MSrkjOi4RS3Y2Hj7/B 5k1dknzhRFsQn+yfG2mr5b8eOwY2duD/N5XzRCS7EBpwRGi/zusKsWqfbCFmsBftz33M jk5Vi3NP93zQJ5yxiWju2gV1Vi2YNHIPbZY2fa3CeeXvqZfLZeWB3qAqEzkWjnQ9v+Yg oxAr2hHPoGQjr2I+AE8aFvTCeWHR0M7rJz4MzD9cQsCXyWeMBuk0mdfbsXsnOa4SjgiO Ox1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=zEsO6LWIBJ8kvqkfGIuKBiC43KXVyprE6+dxw+YtbZE=; b=gCUcq3RN8tWzglOQ4nNyLT8JifnsVwjLCgsyevXrF6XR+lZN7DcOKOsDdZLlklrjOk a4gI/hvNH95s9doS8kQXEPixgROaXZBmSX8LrrhfQGNRFrvHI8KhN8iio23CDjrNFOTN DzRqbqHPMPr2tGv09p1/WFhojwMpkSGWBOPwkPs58YqV2xAZTeTuSOgiudB5MkGTKuEE 3dDWSt0oSVYucESsJnbg4U7fJvfNAk3hdlpJXG4QG549mTg2qYm4Y7lhtKuevNGxoTpX u8j2g02HKqsvn1Cgj4KVp8ZstSYnYoD3Y1vR0OcU4Zkj4Kc/kcLUGwWN0LbHxcHBUBQz l+wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BsCFxMPR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s6si3666247jao.56.2021.05.27.15.36.05; Thu, 27 May 2021 15:36:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BsCFxMPR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234905AbhE0QDD (ORCPT + 99 others); Thu, 27 May 2021 12:03:03 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:58007 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234962AbhE0QDC (ORCPT ); Thu, 27 May 2021 12:03:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622131288; 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: in-reply-to:in-reply-to:references:references; bh=zEsO6LWIBJ8kvqkfGIuKBiC43KXVyprE6+dxw+YtbZE=; b=BsCFxMPRLLH4GqfEFBsgMlwFtcy7xDITfgRP5q5PvX9LqcgmUGRLlP8H1dEceVSBAEnKfe /01/k12ajoJERtzoQOBaKZejcBFlWvAJzUvvvH/qMgeto08QqmnFNq4cHnmMTnmwakSxfM VZmPgAL0gHhj6zgb6V2f13juPWOta+Y= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-437-QQdaTxnlNJu9Dm3RVsDzXQ-1; Thu, 27 May 2021 12:01:27 -0400 X-MC-Unique: QQdaTxnlNJu9Dm3RVsDzXQ-1 Received: by mail-wr1-f70.google.com with SMTP id f16-20020a5d50d00000b0290114238aa727so125082wrt.5 for ; Thu, 27 May 2021 09:01:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zEsO6LWIBJ8kvqkfGIuKBiC43KXVyprE6+dxw+YtbZE=; b=mYR8q11w7bh5XWF/HSNkF6S9qnI9iFKCK+W/IB7lVtsrZzcLunWwE+Vpc4MIn3mLjZ sBsIifm8zt/dNKhFtWWeHsVHtcw3K9CExBdH6BYrCjWFHoprSNCdVZkaxKQx3o8HAESJ Ugr9hhxJbYmvOeP2RcVyThiMdAFshg6K/R5hGK4jIR6X/qRWetO9/DEav+2zzxY0pMdo Fy2JkSy7tHnRPPj0i65B0HPIXTPx9X1jAjlqeAIxaFPYdryrdhl4+FTwBeIqLNEXU3Hn LVjLRd3BOloNmCfYwmDJ70e2RNDiK9/TaZsOPfoIL3TYDGyHhWB2CSkTLXU9/ZMHT5A4 +SUw== X-Gm-Message-State: AOAM533r98WvESFXNVapEboyr+QoYhSVy6O+K6XaNPu0sEhG6eonGLHh 2nZgQbVtpmXDzPjIU0RMi5/++c/3LZOshbeMYof9Qf43CsGTAUMklcYwpuSg55xap9DjMCnY5vz b2NsnT3juMOuVAPt4SH9bg4VVGc4j13aVDmO6fBAb X-Received: by 2002:a7b:cbc4:: with SMTP id n4mr9624032wmi.153.1622131285353; Thu, 27 May 2021 09:01:25 -0700 (PDT) X-Received: by 2002:a7b:cbc4:: with SMTP id n4mr9624012wmi.153.1622131285136; Thu, 27 May 2021 09:01:25 -0700 (PDT) MIME-Version: 1.0 References: <20210526223445.317749-1-jforbes@fedoraproject.org> <01c2a63f-23f6-2228-264d-6f3e581e647d@kernel.dk> In-Reply-To: <01c2a63f-23f6-2228-264d-6f3e581e647d@kernel.dk> From: Justin Forbes Date: Thu, 27 May 2021 11:01:13 -0500 Message-ID: Subject: Re: [PATCH] io_uring: Remove CONFIG_EXPERT To: Jens Axboe Cc: asml.silence@gmail.com, io-uring@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 27, 2021 at 9:19 AM Jens Axboe wrote: > > On 5/27/21 8:12 AM, Justin Forbes wrote: > > On Thu, May 27, 2021 at 8:43 AM Jens Axboe wrote: > >> > >> On 5/26/21 4:34 PM, Justin M. Forbes wrote: > >>> While IO_URING has been in fairly heavy development, it is hidden behind > >>> CONFIG_EXPERT with a default of on. It has been long enough now that I > >>> think we should remove EXPERT and allow users and distros to decide how > >>> they want this config option set without jumping through hoops. > >> > >> The whole point of EXPERT is to ensure that it doesn't get turned off > >> "by accident". It's a core feature, and something that more and more > >> apps or libraries are relying on. It's not something I intended to ever > >> go away, just like it would never go away for eg futex or epoll support. > >> > > > > I am not arguing with that, I don't expect it will go away. I > > certainly do not have an issue with it defaulting to on, and I didn't > > even submit this with intention to turn it off for default Fedora. I > > do think that there are cases where people might not wish it turned on > > at this point in time. Hiding it behind EXPERT makes it much more > > difficult than it needs to be. There are plenty of config options > > that are largely expected default and not hidden behind EXPERT. > > Right there are, but not really core kernel features like the ones > I mentioned. Hence my argument for why it's correct as-is and I > don't think it should be changed. > Honestly, this is fair, and I understand your concerns behind it. I think my real issue is that there is no simple way to override one EXPERT setting without having to set them all. It would be nice if expert were a "visible if" menu, setting defaults if not selected, which allows direct override with a config file. Perhaps I will try to fix this in kbuild. Justin