From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030241AbbCLPyb (ORCPT ); Thu, 12 Mar 2015 11:54:31 -0400 Received: from mail-we0-f172.google.com ([74.125.82.172]:46679 "EHLO mail-we0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932236AbbCLPy2 (ORCPT ); Thu, 12 Mar 2015 11:54:28 -0400 Date: Thu, 12 Mar 2015 16:54:22 +0100 From: Ingo Molnar To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Jiri Olsa , LKML , David Ahern , Minchan Kim , Joonsoo Kim Subject: Re: [RFC/PATCHSET 0/6] perf kmem: Implement page allocation analysis (v1) Message-ID: <20150312155422.GA9779@gmail.com> References: <1426145571-3065-1-git-send-email-namhyung@kernel.org> <20150312104119.GA5978@gmail.com> <20150312145837.GA1398@danjae> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150312145837.GA1398@danjae> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Namhyung Kim wrote: > > I.e. something like this (mockup) output: > > > > SUMMARY (page allocator) > > ======================== > > > > Pages allocated+freed: 12,593 [ 51,630,080 bytes ] > > > > Pages allocated-only: 2,342 [ 1,235,010 bytes ] > > Pages freed-only: 67 [ 135,311 bytes ] > > > > Page allocation failures : 0 > > Looks a lot better! > > One thing I need to tell you is that the numbers are not pages but > requests. Yes, but in the MM code we tend to call larger order allocations 'pages' as well: higher order pages, such as a 2MB hugepage, or a 8K order-1 page. So at least in MM-speak it should be OK to call them 'pages'. But your call! Thanks, Ingo