Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754417AbcCPPyV (ORCPT ); Wed, 16 Mar 2016 11:54:21 -0400 Received: from mx2.suse.de ([195.135.220.15]:57152 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751617AbcCPPyR (ORCPT ); Wed, 16 Mar 2016 11:54:17 -0400 Subject: Re: [PATCH v3 1/2] mm, vmstat: calculate particular vm event To: Ebru Akagunduz , linux-mm@kvack.org References: <1457991611-6211-1-git-send-email-ebru.akagunduz@gmail.com> <1457991611-6211-2-git-send-email-ebru.akagunduz@gmail.com> Cc: hughd@google.com, riel@redhat.com, akpm@linux-foundation.org, kirill.shutemov@linux.intel.com, n-horiguchi@ah.jp.nec.com, aarcange@redhat.com, iamjoonsoo.kim@lge.com, gorcunov@openvz.org, linux-kernel@vger.kernel.org, mgorman@suse.de, rientjes@google.com, aneesh.kumar@linux.vnet.ibm.com, hannes@cmpxchg.org, mhocko@suse.cz, boaz@plexistor.com From: Vlastimil Babka Message-ID: <56E981A5.30401@suse.cz> Date: Wed, 16 Mar 2016 16:54:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1457991611-6211-2-git-send-email-ebru.akagunduz@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 627 Lines: 18 On 03/14/2016 10:40 PM, Ebru Akagunduz wrote: > Currently, vmstat can calculate specific vm event with all_vm_events() > however it allocates all vm events to stack. This patch introduces > a helper to sum value of a specific vm event over all cpu, without > loading all the events. > > Signed-off-by: Ebru Akagunduz > Acked-by: Kirill A. Shutemov Kirill was modest enough to not point this out, but this should IMHO have at least: Suggested-by: Kirill A. Shutemov Otherwise: Acked-by: Vlastimil Babka Thanks.