Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2328501rwr; Fri, 21 Apr 2023 07:30:17 -0700 (PDT) X-Google-Smtp-Source: AKy350Y2/yEosP6uTGhkU/lF773OvlSA9QNoATz+RL/PmWk7580bJzNesXZap+ssbvyidjhJKd/L X-Received: by 2002:a05:6a20:54a6:b0:f1:1ab5:5076 with SMTP id i38-20020a056a2054a600b000f11ab55076mr7951715pzk.2.1682087417245; Fri, 21 Apr 2023 07:30:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682087417; cv=none; d=google.com; s=arc-20160816; b=fTGAZjjlpF2VgN/lvRirDYMYFfHcYDsGAMELZrlaitfzLoZ7kmrDV3Fv6BS3ZUSLdh WexM4eR2XA9Q3ci9q81yQ8/OFAc9waQzUyZsZIp8KaiajPBge/Q9MTo5pn/sDAIO9NKE Lf30dZ+8hKsap50r+UFy4H+bw2+DTZM338cI/SD3G9+qWR3pP6Tb7JqKeNSLTFVGsxHH IQrJn8wLQYygbuVE7KO0nONpd74xHzJ4romIuQKmPrYw2/pytJknjEDJ3yF0cjwDQjWq gAbex4UD2skSKZ4MfvjTe1+0z2qRqI23EYhnxqiDNnjBkGAWnbhepUyuD484HTmcVWck uT/w== 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:date; bh=WYe3SKvYsTovWoJ8BYb1COBE70zsfG2mRwHpRD/B0t8=; b=qPjR+FT6tJB3yPclde2KecK7NKjiUbtIUMcswTWmuP5NCa07hRi74dfxI1uyvu/oW5 G3vRVobv1X8DPOjbwIYkPS8ZstLsD8w0PsDaotZ7qYt622hHBbShBR2NAhbOMGApKjn7 i6WcnCFjeEzWyRUW9s7J5p1BhYGgC2PkUneAdX01nwwEhQs6d7ueA2YCZ4uHfKXottun AMBcMz7uBL1mHlEM99sE2KLwFF+HHAj+lQ4Vj3cFSQDLg+eR/icOr43O8WN95Cne+wXR 7djn3rxSod8Tfelg6CBz8qybciUo2y+f2Yf/+xlx92YqcHjXGC3Yste6qM8/hclAvuZS T8jw== ARC-Authentication-Results: i=1; mx.google.com; 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 d9-20020a631d09000000b0051b7d4ff03csi4613157pgd.874.2023.04.21.07.30.02; Fri, 21 Apr 2023 07:30:17 -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; 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 S232446AbjDUO2s (ORCPT + 99 others); Fri, 21 Apr 2023 10:28:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbjDUO2r (ORCPT ); Fri, 21 Apr 2023 10:28:47 -0400 Received: from outbound-smtp28.blacknight.com (outbound-smtp28.blacknight.com [81.17.249.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F52776A7 for ; Fri, 21 Apr 2023 07:28:45 -0700 (PDT) Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp28.blacknight.com (Postfix) with ESMTPS id AAC08CCCDC for ; Fri, 21 Apr 2023 15:28:43 +0100 (IST) Received: (qmail 30212 invoked from network); 21 Apr 2023 14:28:43 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.21.103]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 21 Apr 2023 14:28:43 -0000 Date: Fri, 21 Apr 2023 15:28:41 +0100 From: Mel Gorman To: Johannes Weiner Cc: linux-mm@kvack.org, Kaiyang Zhao , Vlastimil Babka , David Rientjes , linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [RFC PATCH 12/26] mm: page_alloc: per-migratetype free counts Message-ID: <20230421142841.parju3gmqmpefigq@techsingularity.net> References: <20230418191313.268131-1-hannes@cmpxchg.org> <20230418191313.268131-13-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20230418191313.268131-13-hannes@cmpxchg.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 Tue, Apr 18, 2023 at 03:12:59PM -0400, Johannes Weiner wrote: > Increase visibility into the defragmentation behavior by tracking and > reporting per-migratetype free counters. > > Subsequent patches will also use those counters to make more targeted > reclaim/compaction decisions. > > Signed-off-by: Johannes Weiner Visibility into fragmentation behaviour is information that is almost certainly only useful to a developer and even then, there is /proc/pagetypeinfo. At minimum, move this patch to later in the series but I'm skeptical about its benefit. -- Mel Gorman SUSE Labs