Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp160049imu; Tue, 15 Jan 2019 18:52:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN61sNMzS0iI/FIYDyGfNJxVWerjlbIcby8uoUqFVA30U/MrHcSjWGyym2OTE54mLAJTuonn X-Received: by 2002:a62:444b:: with SMTP id r72mr7469357pfa.184.1547607175560; Tue, 15 Jan 2019 18:52:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547607175; cv=none; d=google.com; s=arc-20160816; b=EDat1+dckC2o+zzaFpb1wjrLtNtbMfYPfV9fB5h+QdnQsDxzzP/gEZZHsNT6o2P3lR pGoJedbKBq7YJzRMSZmv8Hcsw6dAHQOA82aurN1XDx8Ab7rJOWASOQoUjhbOEc21PEr/ aIxkV7LVgOXbD2irF6F6ZuBANplKVpZS/7yyZ/Ip8o/hJVqn9cACJiiDQ1ALqNq2cgmR Gopdt0dY8V1KX2c4jCsj9t/zdJJZ4rwpzC2PewBKQ6Tr56H6a97nTz1GRewFj2Fxycnt SCmAaAtaW1eb4nH338XlYV2KhIYaYQaMq82eQXpBmSQYGyYmNYi7ezDhU5zeJV5q+YC2 UyKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=OyTWDGjB04njMwsJJg++MJFclcQB0WwiuSGTWP72bao=; b=eSfrFsOgrNfoSS8BQqScXGocVkLcyfqvq1Ou/1di8WfppLrsw53AjUmilfyB8fYs+V TszhTiY83K9R6W/31+VbPYt1LyOGjSukw9U6jjb9LSfeHiwiHQsygpli6n6PRO3wJKv4 +J8qOQ/8w/x929huhcPcXKv/lDbL9ScrNofDIIY2NBB6kIkcsnQf2GoQ6gOtvw2OhWhf fEdi2x/Yx5EK3ioFpVyJSrVk7+lQM8FUdf4tNr056FDCvrjK+cznrUPGn80lAtC5PCb0 XA3hS86ASnbrKH29BgNcDtBIJ2KGIILWIMIgds46GK5pwDGZ+z+4vCt3ZuyWEAgvwLuR rpGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b="Lz8/VpBQ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si4737658pls.170.2019.01.15.18.52.35; Tue, 15 Jan 2019 18:52:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b="Lz8/VpBQ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730167AbfAORRm (ORCPT + 99 others); Tue, 15 Jan 2019 12:17:42 -0500 Received: from mail-io1-f67.google.com ([209.85.166.67]:32993 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728886AbfAORRm (ORCPT ); Tue, 15 Jan 2019 12:17:42 -0500 Received: by mail-io1-f67.google.com with SMTP id t24so2700293ioi.0 for ; Tue, 15 Jan 2019 09:17:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OyTWDGjB04njMwsJJg++MJFclcQB0WwiuSGTWP72bao=; b=Lz8/VpBQBg9euPlPuE3cH1KxMTOGd5Rv1KU30bRzWfQOgpwAWL4UmW9ioOyUm22N6P ZLjksmvypvb0QuQe5TlvppW0ws6ereoHPJm3+CtmmFBo2hygTe3M+fOS7fYixDal8+wB g8HPWZtWJwsTKKPb+eO5tKXi+1AtJD1Tq+7tIoJrNNEZH6auJ4QmIhrcxHJBPIFg8Qk2 n942cAdmSPaZZTIU0PJMVLWTNDVjAjrVWXKbqU1LowvHfhzmeOCa8W9YIDUqHlEgG0k9 mM4BCog/mblnuF2+BFAnWtIrHaptDAi123wS2RG+phIi+h7/TQNiOqFTbsESuR+rUNVh 3G5Q== 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=OyTWDGjB04njMwsJJg++MJFclcQB0WwiuSGTWP72bao=; b=X7QMjnLeCD6K3FJsAsv7Y3tOuDc41THqor/XHpXHRjIXnBgEl30WSUotBLaLEMgfnm ct10akaxgSsMgGpU75YRsEU00fEE/W1J8YT7P3Mzxp6B90nQrbYZA8WV1YtNRpVzuHub OYFkVwcZrcXRR5mZAFsRk7Ghlwfy02oNVAF9tij89r30/70+VrxHNRSPGKA0KedvXJdW SYdtT6W0IqDgzGgsawTM/TvcCo0zRCmghyq38wd+hPK1KN4iBaTfrw8pjqnBfor7mF2O ZdoYUK5Vsm4tUIgaS9AoNCWrgWxJlw8TWJetliKfrYUrQ/lb6aa5eANgfhcShfGx5SOc PMcQ== X-Gm-Message-State: AJcUukesZA9kxV5xn0QemVpKBqlWJVuoss5AXt03aG55XOZEe8ZRigpr mIfG3zFnXdW+xn3/zu8TtmSW5/jNaFRvlo5UTzmK+g== X-Received: by 2002:a5e:c107:: with SMTP id v7mr2805592iol.155.1547572661412; Tue, 15 Jan 2019 09:17:41 -0800 (PST) MIME-Version: 1.0 References: <20190115164435.8423-1-olof@lixom.net> <20190115170510.GA4274@infradead.org> In-Reply-To: <20190115170510.GA4274@infradead.org> From: Olof Johansson Date: Tue, 15 Jan 2019 09:17:30 -0800 Message-ID: Subject: Re: [PATCH] mm: Make CONFIG_FRAME_VECTOR a visible option To: Christoph Hellwig Cc: Andrew Morton , linux-mm , Linux Kernel Mailing List , Jan Kara Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 15, 2019 at 9:05 AM Christoph Hellwig wrote: > > On Tue, Jan 15, 2019 at 08:44:35AM -0800, Olof Johansson wrote: > > CONFIG_FRAME_VECTOR was made an option to avoid including the bloat on > > platforms that try to keep footprint down, which makes sense. > > > > The problem with this is external modules that aren't built in-tree. > > Since they don't have in-tree Kconfig, whether they can be loaded now > > depends on whether your kernel config enabled some completely unrelated > > driver that happened to select it. That's a weird and unpredictable > > situation, and makes for some awkward requirements for the standalone > > modules. > > > > For these reasons, give someone the option to manually enable this when > > configuring the kernel. > > NAK, we should not confuse kernel users for stuff that is out of tree. I'd argue it's *more* confusing to expect users to know about and enable some random V4L driver to get this exported kernel API included or not. Happy to add "If in doubt, say 'n' here" help text, like we do for many many other kernel config options. In this particular case, a module (under early development and not yet ready to upstream, but will be) worked with a random distro kernel that enables the kitchen sink of drivers, but not with a more slimmed down kernel config. Having to enable a driver you'll never use, just to enable some generic exported helpers, is just backwards. -Olof