Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp2284188rwb; Fri, 5 Aug 2022 17:39:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR6XIj1bNpimmydSgLznEsEQsjCLV4UHopPOzssNY3B6HhdDCt+T8EcI/LL1/F8ibLsoP4q6 X-Received: by 2002:a17:907:6d9b:b0:731:1135:dc2d with SMTP id sb27-20020a1709076d9b00b007311135dc2dmr2202385ejc.76.1659746352247; Fri, 05 Aug 2022 17:39:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659746352; cv=none; d=google.com; s=arc-20160816; b=hAyDT4zjkIWP7bv59S4pi6IIyTG7H+YFNGk+yUF3Bf/0VZayarlwVm1QLzSm96TcIT aaeJQwNnuM6qDkYzB6s7wpIIwqIQyWgcclP8kJMLbPv+d6hEbUfkp67l9fnjmIeciCMS GU6p1etGH+i8dcBREFSWSagoRoybW8NdLFlvs2qDO63xEXpVNgFRbp3Qofq0t5rEBdjD fgOr62nCv0K+k7CcQSLmdPvSRUk+CE3g81suokUrbBPNauDDIKK1+3qG8ARoM5DeaDxq 3qcN/f19OnZtAmTCM3HM9xY3++H9nwGkhjkAMLM1XBmJ1Ds5IOlFdUpse6Hc6AahzHs6 N5+A== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=851HsS8zvCWEJiYPBSxTEdaKXW7uFcYviu0bAAAPiQM=; b=CuWtKjEGA87czsH/1JhUudLcytHaUpO8GZrFmpLL8tiqi3oEAO6TLyFg/w4DznSsxL Cy+GrC9kAhocMJTOxRO2qrqpZwCkLx5tUe3wLsmug7n+Wj14oewvcoL2sKMJZcxRTAmz 3tOcUr5ygX5VLpvn0Fwt0uOZxxfWb5HaIhyzEBNuaJZp+B+3PEc8BwhmnSZB9QZ/4CSO vqi1cCr9Nel5jWPtC5ErqmocR6CiGcW6GUvaGSKRaD+G2xNoL1n+NeJUkYN1WJRoqlea 5E4I/w95FLzDocR2jhL+qCyw3d0F2Rr4fZ2zT2EM4/cxB1LgodF75qK4wyaQleSS4fPT g+bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=lC4Fldht; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d5-20020a50f685000000b0043a78b54d7dsi994004edn.302.2022.08.05.17.38.40; Fri, 05 Aug 2022 17:39:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=lC4Fldht; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241367AbiHFAIA (ORCPT + 99 others); Fri, 5 Aug 2022 20:08:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230490AbiHFAH5 (ORCPT ); Fri, 5 Aug 2022 20:07:57 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91A242CE32; Fri, 5 Aug 2022 17:07:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3D9F4B82958; Sat, 6 Aug 2022 00:07:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A213CC433D7; Sat, 6 Aug 2022 00:07:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1659744474; bh=PfJfJYAbTxS2WokCLPTsBpIupwUds+UHgvCXpLuh+R0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lC4FldhtWQsnjCMBN7iciqnBHW0kBte0m7iTQfO9pdgAESNcpbzp/CcU7vnE13h6Y h6tExZIJCH525F0pgrgd4t5gc4XiINT4bYz21VxYs5iyNHUcJK5JHfbe9UWiWssqC6 uFowiDAirlHIIqbuOXpuOVG4NkwOKvN9VbwFNq+U= Date: Fri, 5 Aug 2022 17:07:52 -0700 From: Andrew Morton To: Roman Gushchin Cc: Linus Torvalds , Kent Overstreet , mm-commits@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Dave Chinner , Joe Perches Subject: Re: [GIT PULL] MM updates for 5.20-rc1 Message-Id: <20220805170752.d609551360017d60903e5e75@linux-foundation.org> In-Reply-To: References: <20220803133541.18b82ec9344ed0e8b975fe5b@linux-foundation.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 On Fri, 5 Aug 2022 17:04:28 -0700 Roman Gushchin wrote: > On Fri, Aug 05, 2022 at 04:32:34PM -0700, Linus Torvalds wrote: > > On Wed, Aug 3, 2022 at 1:35 PM Andrew Morton wrote: > > > > > > - memcg debug/visibility work from Roman Gushchin > > > > Well, not just memcg. > > > > There's that new CONFIG_SHRINKER_DEBUG too. > > > > Which looks like yet another "people add Kconfig options incorrectly". > > > > We don't make new features "default y" unless there's some truly > > pressing reason for it (ie "99.9% of all people will want this" or "we > > used to always compile this in, now it's optional"). > > Hi Linus! > > It actually was 'default n' in one of the earlier version of the patchset > and has been switched to 'default y' based on the following feedback from > Dave Chinner (https://lore.kernel.org/lkml/YmiWK56bOHyrr64u@rh/): > > No. The argument that "if we turn it off there's no overhead" means > one of two things: > > 1. nobody turns it on and it never gets tested and so bitrots and is > useless, or > 2. distro's all turn it on because some tool they ship or customer > they ship to wants it. > > Either way, hiding it behind a config option is not an acceptible > solution for mering poorly thought out infrastructure. > > Personally I think that the feature is not that useful for the majority > of users (this is why default was n), but it's not adding much of the > overhead, so I had no strong reasons to oppose Dave. > Cc'ing him just in case. > We should have changelogged these considerations. I've asked Joe if checkpatch can get a "default y" detector, to draw attention to this in the future.