Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4231098img; Tue, 26 Mar 2019 05:44:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgBhdsi0XzC1/a/OcoDiXM5t/DJbSeNGrnjN/QOzadAzhtX4ODVBm7xPBA11mao4TQtZE+ X-Received: by 2002:a17:902:7b93:: with SMTP id w19mr30867712pll.141.1553604258365; Tue, 26 Mar 2019 05:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553604258; cv=none; d=google.com; s=arc-20160816; b=XxVkHbaNciAqIu/MRrSsXuUfmhMBVyQJIVUeM8yqKZ/43+3Ng0M/XAZc6Cz8tCVDxr mp6uyhaxPYGszQfLQOcHQmZaANmfedi8IHDeCRgmFpvZ5Ua7/pEpUm5lCB0WimBFqdmC iSjjN3J93PiNiYa0WLYGcbVbzGmoRe3pevCa3Y4PrqhPIZuLXm6pNdydrypj9u1qixTv tRk7sHAcofzZ6imrFPQArzrc3I4MQAINopl0zTSH4IuskAtTcE3d3T5bbV4pvj7GaSd3 z9wPudw2SMcJV1Gbx/uEjcdc3mfW+CUj+T7mVA3d2J8CQCpd/Oo8+L3vfIefRf/D1LPo HObQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DScYzQ4byzmAtySvZIm/BnXHpyQAg6A5PGezuWKmYN0=; b=0GC2o0N2ipnBLd67WBZX25atPEUbpVC0Rfkoy1RkXeHfGJrbaPMV4tqaHLGwvGT85C sIgxy+gbQdxRPMhWqLBg3GL/ClsWruFxU23UXVKAxk99gjbybevRSmUDoAciwsUt0yrr w+wZKOB0202Qvoh1fT9/NqalLbjFmuX1OLt/KtZu7lLAGeaGMzl42tU8Dz/rI/xSgTY0 AxUG7aCGwNaGfMSa/YT9SGkVjsFYwdlkMayztB3LZxvs5KCU6gXcZNAJAmJYWzeaVQtu tb/tJN6utlRyYB8OT9ASyQ4F2z7Tb1OGxOpe+U+M2tptKwo/lSLN414x7TUWxvj4pB9W a0Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=bombadil.20170209 header.b=LATDvmGn; 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 e14si5323138pgv.210.2019.03.26.05.44.02; Tue, 26 Mar 2019 05:44:18 -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=neutral (body hash did not verify) header.i=@infradead.org header.s=bombadil.20170209 header.b=LATDvmGn; 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 S1731571AbfCZMnG (ORCPT + 99 others); Tue, 26 Mar 2019 08:43:06 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:33184 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726278AbfCZMnG (ORCPT ); Tue, 26 Mar 2019 08:43:06 -0400 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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gL3df5L1HoTWFH8unFKryxhSs/juRPBxhxE3ZuJLMGg=; b=LATDvmGnuyPrgONBtmPBf77AC KAiQiUDmtULDnYX27Ef1yBNmlwBlt+pHRtChYWDMGbWanqgcoGh/xVZNDCDstxxer3u2iP6mqTBtm RNcKy7CPSfbiXTaQOUqTOiqZmiuRJJAXyMVekY4PUjabohT6Vzfcz9IzH0nxzbJN3iHiD08Fw20Sn xIbHT0RH4qyt348aOHjFbhMIpXHLa2BlXxYibvoM5V1X5w8w3S3mL6gtCxNqv5/QamV7yBQxOmdCS VeicIeNCfHDvzSgGyYMEGvpdqe2fJPqdKW/PsK/3bSJ4nomuK3GDfmZQ2YXVlrysJj6ebLZyMDjz5 zaCyTcHXw==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8lQ0-0001ki-Us; Tue, 26 Mar 2019 12:43:04 +0000 Date: Tue, 26 Mar 2019 05:43:04 -0700 From: Matthew Wilcox To: Pankaj Suryawanshi Cc: "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" Subject: Re: [External] Re: Print map for total physical and virtual memory Message-ID: <20190326124304.GN10344@bombadil.infradead.org> References: <20190326113657.GL10344@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 26, 2019 at 12:35:25PM +0000, Pankaj Suryawanshi wrote: > From: Matthew Wilcox > Sent: 26 March 2019 17:06 > To: Pankaj Suryawanshi > Cc: linux-kernel@vger.kernel.org; linux-mm@kvack.org > Subject: [External] Re: Print map for total physical and virtual memory > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. ... you should probably use gmail or something. Whatever broken email system your employer provides makes it really hard for you to participate in any meaningful way. > Can you please elaborate about tools/vm/page-types.c ? cd tools/vm/ make sudo ./page-types If that doesn't do exactly what you need, you can use the source code to make a program which does.