Re: [PATCH] tools: modifying page-types to include shared map counts

From: Andrew Morton
Date: Tue Jun 19 2018 - 18:27:03 EST


On Tue, 12 Jun 2018 11:32:05 -0400 Christian Hansen <chansen3@xxxxxxxxx> wrote:

> Adding a new flag that will read kpagecount for each PFN
> and print out the number of time the page is mapped along
> with the flags in the listing view.

tools/vm/page-types.c isn't particularly documented, although it might
be apprpriate to add some words to
Documentation/admin-guide/mm/pagemap.rst to describe this addition.

Also, it would be very helpful if the changelog was to include sample
output, so we can better understand the proposal.