Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2363700rwr; Fri, 28 Apr 2023 09:19:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6qBmwItJBwtKHbFxGyJskARF38ElCObCBUv6kfoJLpwWU+zsavsojmMlwVW4de1r8NcBdN X-Received: by 2002:a05:6a00:13aa:b0:636:f899:4696 with SMTP id t42-20020a056a0013aa00b00636f8994696mr8072482pfg.24.1682698793266; Fri, 28 Apr 2023 09:19:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682698793; cv=none; d=google.com; s=arc-20160816; b=EQ+uNMq+TPzYb3xDL7Hy9CcM1hsKJeXvgIJK3R34PeVWl13YkwA+PRjmyz0hCPzMSo xpWYOnIo0NqbSD1nhvaJE9NwzhRrbJIhbt/LRgJnFJEEcGCtJ/rKrqZT0xb2XUL+qzmY LIL6eaWuB0FImdGaHSppQYRykp7KmKtjCxcy7cOgj0C3thehm9JW4uEf1HH3Kqn+olHK +7QUchF6VhNcBvac3UHTggjSiWk9joXOU6A3uNTyfOfc34mekpigiReKTvprFNC3yxS9 sdWsOWYRs3H6Lz2sQg/WB1i40UqsMY2/KlGFOAsj99Vrt0ZT5XiVlq4/HzcYKUSUhhYA 1heQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=axDcQNZMvJsKHBiCAAzhuv582JF3voCqRrx5KkPxnoQ=; b=BZgaQyJzIjCbYH9lcZrh7phDV2MxQm9CQypbtlWMRr/ZBK791ihGlOn8nAqSLOkaJG FrbyKX21XjV+FjqfYbmqYFLYno+a6j8TYTrUglS1oQnhXaArFTFfLTAmxcT/FNWViTZ6 mjn+wL/qfMICqfZLbN2Ddd3p6yaDG/A9lzsLMdKotNMCBqM706dOUdwqXflACpXKw6WU YwGki06TrcL+/EV8ZaHOkawhSDlLKxn4W0rKfHf7JJxuIvaelM2KT6wl0ut8D3F1nl27 32ZB2CBleWoTbcpIqJ/tE2u9qY17IRYJBYX276lGa2pi8a8YG/VUmo7mT/7HkFy3ecHd 6/fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=1qDtZ9jf; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 16-20020a631450000000b0050b508f68d8si21098682pgu.206.2023.04.28.09.19.34; Fri, 28 Apr 2023 09:19: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=@google.com header.s=20221208 header.b=1qDtZ9jf; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345888AbjD1QOp (ORCPT + 99 others); Fri, 28 Apr 2023 12:14:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345781AbjD1QOn (ORCPT ); Fri, 28 Apr 2023 12:14:43 -0400 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC7C65BBF for ; Fri, 28 Apr 2023 09:14:25 -0700 (PDT) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-555d2810415so1124217b3.0 for ; Fri, 28 Apr 2023 09:14:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1682698465; x=1685290465; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=axDcQNZMvJsKHBiCAAzhuv582JF3voCqRrx5KkPxnoQ=; b=1qDtZ9jfsjlLRCkDplTL5k3lJjnHCf8Y/QvahkgPTrs9Dpn9f6eNSf/92sQW8S38Vg /WsulBhqIlAIYCnXG6fbQEFScQxLrMRvxGSIw7jyZIBWcHFxyaCve/nFQHIsAkptr+mK bfKcmSiUcl91blNx7C0+we0365FN3agRjFBAN3xIjwlD9yItC5Ya3IP20qSN1yVUN3Cy Xou+VCM29XuR/rzgVNa+pOpEDuDj4ZWtfgQkDSHLF5ItmMpdLBmUYre1El+T75OqosIu 98zjbgNgftVVrZFRPtIN+i0E0SOy4BeDy3tmifAbo2OQBOOXo89KNpAXWm9/O9YHNszn qLEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682698465; x=1685290465; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=axDcQNZMvJsKHBiCAAzhuv582JF3voCqRrx5KkPxnoQ=; b=MOPDjhbhMJfsd6IPg2MwIREB9/HouhOYkeqjm6yWgNM8Dpfqtwe8sz5Txmw+5jydVD hzrgk0wSHjPA7eURcnXzBG1mZm5I/Mm5D3AdrcLrboBhWfdiKP0eFruRtux6xzfLnyHm Jx9N63QXLK+RW46c5inwrDmQaBEunGhjuLVGAM11zYVb6kD05Sq3w7ilxJ4F/Ozk/8x6 HMM4tovy+27HLKTIdAOcz/EuiSnbE9lLFD/TEgPgdCoh0VjMPfsYkLFJMbnLdLgbrAU+ GlgaPtv1HzGuSd9pR0utIM+8PSUDl2G1CgleLWJBOcFeXV1LVWf+8cml/AS+wIDKuUZK xbGw== X-Gm-Message-State: AC+VfDyNEByR80bh81z6+zFg1Sw+RYOpesHpawxY6E9N6bS3RIRbE0mE Q7rTk0ucdS97K0LFAt9o/qInL91uripxnvdGvwo3LprbzbUvH1audOM= X-Received: by 2002:a81:87c4:0:b0:556:e3eb:de38 with SMTP id x187-20020a8187c4000000b00556e3ebde38mr4406863ywf.0.1682698464703; Fri, 28 Apr 2023 09:14:24 -0700 (PDT) MIME-Version: 1.0 References: <20230427153345.451d86681f9c6775ea579e5a@linux-foundation.org> In-Reply-To: From: Suren Baghdasaryan Date: Fri, 28 Apr 2023 09:14:12 -0700 Message-ID: Subject: Re: [GIT PULL] MM updates for 6.4-rc1 To: Linus Torvalds Cc: Andrew Morton , mm-commits@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Lorenzo Stoakes , Vlastimil Babka Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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, Apr 28, 2023 at 9:08=E2=80=AFAM Linus Torvalds wrote: > > On Fri, Apr 28, 2023 at 9:03=E2=80=AFAM Suren Baghdasaryan wrote: > > > > I wanted these stats enabled by default to be able to identify > > possible pathological cases and to also let users disable them if they > > can't tolerate even a small overhead in the pagefault path. Should I > > document this reasoning for the config option? > > You should document what the stats actually count (at a high enough > level for a user to understand), and why anybody would want to keep > them on. > > Honestly, 99% of the time, these are things that *developers* think > they might want, but that nobody else will ever ever use. > > Really, ask yourself if a normal user would ever look at them? > > Now, ask yourself whether this might be something that a cloud > provider would want to look at to gather statistics. > > And if it's the latter case, then it should be "default n", because > the default should be for the people who DO NOT KNOW, AND DO NOT CARE. > > The cloud provider will be using a custom config anyway. The default > is irrelevant for that use. The use that *matters* is literally the > clueless end user who I bet will never look at these numbers, and will > never be asked for them. Ok, sounds like this should be 'default n'. I'll prepare a patch. Thanks! > > Linus