Received: by 10.192.165.156 with SMTP id m28csp430100imm; Wed, 11 Apr 2018 01:14:00 -0700 (PDT) X-Google-Smtp-Source: AIpwx49yfE3QV/xxfjZWzVE2tvB9yG36dv9V0gLKUmghAMHl5BIoIn4yrcUWIqHrsSx0lFKa8xz6 X-Received: by 10.98.21.209 with SMTP id 200mr3120206pfv.232.1523434440145; Wed, 11 Apr 2018 01:14:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523434440; cv=none; d=google.com; s=arc-20160816; b=i4dJL5/MM+HhwCme6N4EPvDfwMwjfJeYNwR7/lu6Ks0ItNtb/VkdJ/7i978VyTTPbg bsugmpaLOm2W3qCIBblWFsKVR2A35FcqjERo8NzvPfn+0TZ1iSLGY7MDStpMCAjUit02 QRSmdicKMad9Q1HFDEoScZT0RL1WUGl2On3ZmbBdiV2yTS10fT1inJv9GJCa1/khhs1R bRruog5QgQnEbVo3VnbSz6gdzACOvCD6bRvhYjRXhl6h5pGGlOWes3iqTipTFGOzj35s Eo9yy+0T2+WCpV9JT90g0j+Qjxj731rXH1E8+KPeNYQucTmV6LYGKpxdK9oxHqZHoyqN /i1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=TNE/V6wXw4i1KXjlkd0qENKGMKBs33RyQ9kcgGfA1+M=; b=kU+ssWsjfH1JLHptsBWUxeFRSyfy+v5KTv1xZUizm29q32DrQyJOxax5WTrz7q6GzS y7A7gp5MzoJbMqrh06zO2lV+wYr/2euZF4nJRQgXiWrpCqdEdFx372K5wB2VH3CTQUl/ SyVpGch0OohhJiHDiCl1XajdX8GIpq5JmezJM12VJ6LRzCoTfsZtWfup8+ALrMs6tZhG yuaMTjfAt3sBZXKjx/k8lg806R3U5EYz1KPBIrzcc+3b884YEVgIDZGm5YwMQVtgVGwR dpNqXE+sYxSPuQISoPaUZeRFi+xyOL+7xSUm+UjLUzilHMkDzWcZmnrHCtMGt22nHQEk LybQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=OQf1dO1j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f91-v6si668004plb.178.2018.04.11.01.13.23; Wed, 11 Apr 2018 01:14:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=OQf1dO1j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752646AbeDKIJp (ORCPT + 99 others); Wed, 11 Apr 2018 04:09:45 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:35706 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752498AbeDKIJj (ORCPT ); Wed, 11 Apr 2018 04:09:39 -0400 Received: by mail-pl0-f68.google.com with SMTP id 61-v6so819896plb.2 for ; Wed, 11 Apr 2018 01:09:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=TNE/V6wXw4i1KXjlkd0qENKGMKBs33RyQ9kcgGfA1+M=; b=OQf1dO1jAt0eKzhiPyFJC6rPHE/VgOm7fbItBfUkJFQ1Qk9nm6Acq9DH1Bpmki9ipo a18DCO6pMjBPC/uyUiMAA8B9FNK3k+Bhqzica22HX9FZMuanG7T6OrQp0UUUHGlLIenZ f+kKdHwWq6T2V0XJzVfbC44NLGUqcPX7mRr7xFbaHHoaM/KX5yci9PiITlyDEI9Pyndi 8QjcJB/c0t9FJYL/859MbFpMIwD+v+0q58k6eBoiGRBgzmGI7gY/FCh+yvs/KpvGxPQu jTV8JjqgoxUGcCQLe16Q4pU3thaC3IT6cx3D1CzUArlREWtXSzmTZEq8wop0wb12EQTY oBDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=TNE/V6wXw4i1KXjlkd0qENKGMKBs33RyQ9kcgGfA1+M=; b=fuyV0bB0FmJSTWmaenVjxBrAS6be6NAhnNlJnv4yuur0fI+gpbHExXkUEe/q+MyKfS D3vkcrMy8MiPaN7p0k4b2RBAvPkWVwnwHCFc/lHGS57h0w89KBgz1w863gDDOFgOvjUP bwaYMBaAUdI/FIcVboKtZavI76ZMjCB+r2KeDbYBrolUGVbJIn6Lx38LsaTYhra/IrgQ plVjOb4KQxsNy9FSBhHlq9Ou1KMlVE/at3tCUg2lYQl5FvTZVQKn4HvYJnZrOTZ947MR e49zHvo1K6UKDHWcWlyke1BTaNQmKYnmANy+5eiTWGVih9JBdaT63aKaneH525YSCGKo d+Lw== X-Gm-Message-State: ALQs6tD6SFb/F8i3GosiTb/ScpzPYytrKRX0XyWs/VeA458kpa1euhpY SKGGEg3tiMz8vCy9Y3mqqzwi X-Received: by 2002:a17:902:468:: with SMTP id 95-v6mr4013691ple.360.1523434178268; Wed, 11 Apr 2018 01:09:38 -0700 (PDT) Received: from www9186uo.sakura.ne.jp (www9186uo.sakura.ne.jp. [153.121.56.200]) by smtp.gmail.com with ESMTPSA id b13sm1568311pfi.169.2018.04.11.01.09.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 01:09:37 -0700 (PDT) From: Naoya Horiguchi To: linux-mm@kvack.org Cc: Michal Hocko , Zi Yan , "Kirill A. Shutemov" , Andrew Morton , Vlastimil Babka , linux-kernel@vger.kernel.org Subject: [PATCH v1 0/2] mm: migrate: vm event counter for hugepage migration Date: Wed, 11 Apr 2018 17:09:25 +0900 Message-Id: <1523434167-19995-1-git-send-email-n-horiguchi@ah.jp.nec.com> X-Mailer: git-send-email 2.7.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi everyone, I wrote patches introducing separate vm event counters for hugepage migration (both for hugetlb and thp.) Hugepage migration is different from normal page migration in event frequency and/or how likely it succeeds, so maintaining statistics for them in mixed counters might not be helpful both for develors and users. Thanks, Naoya Horiguchi --- Summary: Naoya Horiguchi (2): mm: migrate: add vm event counters thp_migrate_(success|fail) mm: migrate: add vm event counters hugetlb_migrate_(success|fail) include/linux/vm_event_item.h | 7 +++ mm/migrate.c | 103 +++++++++++++++++++++++++++++++++++------- mm/vmstat.c | 8 ++++ 3 files changed, 102 insertions(+), 16 deletions(-)