The patch titled Subject: tools-modifying-page-types-to-include-shared-map-counts-fix has been removed from the -mm tree. Its filename was tools-modifying-page-types-to-include-shared-map-counts-fix.patch This patch was dropped because it was folded into tools-modifying-page-types-to-include-shared-map-counts.patch ------------------------------------------------------ From: Christian Hansen <chansen3@xxxxxxxxx> Subject: tools-modifying-page-types-to-include-shared-map-counts-fix ad documentation, tweak whitespace Link: http://lkml.kernel.org/r/20180705181204.5529-1-chansen3@xxxxxxxxx Signed-off-by: Christian Hansen <chansen3@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/admin-guide/mm/pagemap.rst | 3 +++ tools/vm/page-types.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) --- a/Documentation/admin-guide/mm/pagemap.rst~tools-modifying-page-types-to-include-shared-map-counts-fix +++ a/Documentation/admin-guide/mm/pagemap.rst @@ -44,6 +44,9 @@ There are four components to pagemap: * ``/proc/kpagecount``. This file contains a 64-bit count of the number of times each page is mapped, indexed by PFN. +The page-types tool in the tools/vm directory can be used to query the +number of times a page is mapped. + * ``/proc/kpageflags``. This file contains a 64-bit set of flags for each page, indexed by PFN. --- a/tools/vm/page-types.c~tools-modifying-page-types-to-include-shared-map-counts-fix +++ a/tools/vm/page-types.c @@ -305,7 +305,7 @@ static unsigned long kpagecount_read(uin unsigned long index, unsigned long pages) { - return kpagecount_fd < 0 ? pages : + return kpagecount_fd < 0 ? pages: do_u64_read(kpagecount_fd, PROC_KPAGECOUNT, buf, index, pages); } _ Patches currently in -mm which might be from chansen3@xxxxxxxxx are tools-modifying-page-types-to-include-shared-map-counts.patch tools-adding-support-for-idle-page-tracking-to-tool.patch tools-adding-support-for-idle-page-tracking-to-tool-fix-2.patch