Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1363923ybg; Tue, 2 Jun 2020 08:04:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6hjPT6sv01d3c3VtFdjysw00R/1BCtWMOU2LC3ApvETqOLChM6hBG7A5U9/MI6UP1Y2ui X-Received: by 2002:a50:e444:: with SMTP id e4mr25737423edm.191.1591110254961; Tue, 02 Jun 2020 08:04:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591110254; cv=none; d=google.com; s=arc-20160816; b=Lt241igKyDMuh7FwdaKmWAzDNFz064q+m8PXfuk/hfhbPUNioDeV99jxKWtHBpWZUC fyaymIccvZtbNGF+Z63iFnGTdBY755pseRw2mxV2eXIMGB+Gm2Hx2OdLtH+dv595ItqT knu5nIA7dW7ek5tUfYKc5wGvAJHDKgVF2u4nV7yvENu3Tfj5x02sEVDWWRbGBstNcFuh i73VYDvgSbdkxU0Th8I21jm+T2GkYR9GVxji0HygovmvUiN5YdjVFptcU5y3CgtG55xv R+KFwcikBYijy5bfCjM+DSf8skQNGWCKA+M/VQ+oyioOLrDNbI6ZwmheKkCD8VcnQ91X gTgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=aqztiuYMqiGIh8TbQtZTWQvnokYpywsvJH4dIeVj5Lk=; b=cCo+2zGAnz5hvZbqGYcF1Vkx2X8q8u543rNqVdy9JIXlNfyo+AWAsRwnK4NLlUoB5m fkOsCPHQQeu0CULb9vm03ZOXGjDrh7TT1kwpAKB9RO/uRUs1mmudUi6kG1s3PjxcpJLs tcRYJjd/wU/eesl4kT1EC7xFcl/IKCsO2UxEDYW7L+ANE18fGL/Nv2L/h6cxXJt/Bg2C WMjqvp/SsF747QC7m2qdC6YJ/RcbSZVCNa4M9V85/sMJE3pHPfZ1xSqsCEky85MLLpk/ /wGAkNAM+LZCk//UkaMvWDRdH79shZvBz72jPPCOVC4yj3kOvMQJ13sO7/N2YhRZnTt3 lwnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=HZlUrwUU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si1546191ejm.633.2020.06.02.08.03.47; Tue, 02 Jun 2020 08:04:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=HZlUrwUU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728256AbgFBPBt (ORCPT + 99 others); Tue, 2 Jun 2020 11:01:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726311AbgFBPBt (ORCPT ); Tue, 2 Jun 2020 11:01:49 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E0C5C08C5C0 for ; Tue, 2 Jun 2020 08:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=aqztiuYMqiGIh8TbQtZTWQvnokYpywsvJH4dIeVj5Lk=; b=HZlUrwUUu18Htas/y2yfNP47VA Qfc3hOF/6Z+e3aTQzP9UuMLSIFh7JCanKaat5GpGpjPsjodslf5482hlaLBFSWutAO+P3Ganw0cif YrX8BKHtiGbLK1dbJSTHkekSv87WcpDBdH7WGlxE7DjaduToc/HYFHh/n2EyIXmZVOEnV8f1GPI1H 9GmLWrnC6ZrnoOUjikTYroBi3JZOcCIm178spSbN9t2N58XjKSWTTK9Xw7SH9H+0+VufkSxMDoQT1 H0aof9O61pMsoBTS2iREJc4CNRsgqP9lARzk6WDmuG7B4Ewb6eU3oudj6ssbxfnByoNe56KFQS8RO QDo1Y01w==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jg8QA-00008H-1K; Tue, 02 Jun 2020 15:01:42 +0000 Date: Tue, 2 Jun 2020 08:01:41 -0700 From: Matthew Wilcox To: Anshuman Khandual Cc: linux-mm@kvack.org, hughd@google.com, Naoya Horiguchi , Zi Yan , John Hubbard , Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/vmstat: Add events for PMD based THP migration without split Message-ID: <20200602150141.GN19604@bombadil.infradead.org> References: <1590118444-21601-1-git-send-email-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1590118444-21601-1-git-send-email-anshuman.khandual@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 22, 2020 at 09:04:04AM +0530, Anshuman Khandual wrote: > This adds the following two new VM events which will help in validating PMD > based THP migration without split. Statistics reported through these events > will help in performance debugging. > > 1. THP_PMD_MIGRATION_SUCCESS > 2. THP_PMD_MIGRATION_FAILURE There's nothing actually PMD specific about these events, is there? If we have a THP of a non-PMD size, you'd want that reported through the same statistic, wouldn't you?