Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp2277366rwb; Fri, 5 Aug 2022 17:27:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR4LiGRaZLJMeH3o8cSHFO2TB9aEB6OLPzVjNp9MmCaoZ/yTPpjEvfIemtIYFuHtCCdvP+PA X-Received: by 2002:a05:6402:11cb:b0:43c:c7a3:ff86 with SMTP id j11-20020a05640211cb00b0043cc7a3ff86mr8933528edw.383.1659745673475; Fri, 05 Aug 2022 17:27:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659745673; cv=none; d=google.com; s=arc-20160816; b=IJ/umgf/fPT0jOrh1rqgtCxmKyTm7dV2gzOW4nhNyjPxXU13Pk45HjJ3HZlambgHBK AgejBTzJAdp1WCFSRAUrg1pYW2udVfi/Z2ItWVV1cf0jVvHSnoHXfHp7qSA7SWisu6Hz CVi5qM0ct+t9W7hCucU6tzO2ZU3TGTQpsf1LwhdQhPcBSy+HXUJUIT9U1GF51fWLvboX uStvciJ/fbXgv8pyJ2cUHaW/QyjHXiKYzYhnXkIBmPzuuEHaj5f3OSkBG3gM6EaPdgZN Ol4TFsLMaeGVi78WPMIvVJwa7om3ffMNOwKTCJNG//bnLFl+Z//hyN8e/yi0trQrtNqA Nf0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=SNPSSSNCcsODM6FcDFTB0/QY2xvnSXXiMzXUqFnL7G8=; b=rb3Qs+q2nrVTBs4O/ZAZS+r5biQQFh1CFxiCgHTsuhrZ4ekBF58g2Gal7e7Ks7DqlJ 6PtQtOwWr2/exzoqHeFNl6YpPWFA+BBYdiWlz19VIk7UpLt6xwszruK7yR5Ea0qTLAmF vEvwHoD9OwKhAdfRm6RE0rsgJTwAoOAVcl+mPbftWomAJquA59EVdjISljz0Dgqw1BTA kBD3vvAtOO0QmyFsEB5JSpSgfiYaH4YMslBwXbIIIP5MZLORUggEeztzW9BVkHdRBnhf DxPNtYfoFy5pruFk603hJxrYtxnjGXjixXHCk7k5yt9WJP6OP9GVGx5ubwWeVxDm7p+g Tqow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=FXngCiEG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i7-20020a1709064fc700b0072f9d01a48esi3634166ejw.40.2022.08.05.17.27.19; Fri, 05 Aug 2022 17:27:53 -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.dev header.s=key1 header.b=FXngCiEG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238665AbiHFAEl (ORCPT + 99 others); Fri, 5 Aug 2022 20:04:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230490AbiHFAEg (ORCPT ); Fri, 5 Aug 2022 20:04:36 -0400 Received: from out0.migadu.com (out0.migadu.com [IPv6:2001:41d0:2:267::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F94C1EAD6; Fri, 5 Aug 2022 17:04:35 -0700 (PDT) Date: Fri, 5 Aug 2022 17:04:28 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1659744273; 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=SNPSSSNCcsODM6FcDFTB0/QY2xvnSXXiMzXUqFnL7G8=; b=FXngCiEGbKvBUUX68HPXzkns0r27XmBrR+fYTljzWMaejRXpC9hRR4viZ8aYC+gc0IktZM y3QjaRpKHUXg+3r+d7U67kpVNj7nf2HYBHqBMJuL19JyLOVtve5YQyaSHgqsA/bkihSR28 5aplmwopU8LWek5bL786EIuMKHeFqfA= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Roman Gushchin To: Linus Torvalds Cc: Andrew Morton , Kent Overstreet , mm-commits@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Dave Chinner Subject: Re: [GIT PULL] MM updates for 5.20-rc1 Message-ID: References: <20220803133541.18b82ec9344ed0e8b975fe5b@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, 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, 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. Thanks!