Re: [External] Re: Print map for total physical and virtual memory

From: Matthew Wilcox
Date: Tue Mar 26 2019 - 08:43:08 EST


On Tue, Mar 26, 2019 at 12:35:25PM +0000, Pankaj Suryawanshi wrote:
> From: Matthew Wilcox <willy@xxxxxxxxxxxxx>
> Sent: 26 March 2019 17:06
> To: Pankaj Suryawanshi
> Cc: linux-kernel@xxxxxxxxxxxxxxx; linux-mm@xxxxxxxxx
> 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.