Re: [PATCH] tools/vm/page-types.c: fix "kpagecount returned fewer pages than expected" failures

2018-12-10 Thread Naoya Horiguchi
On Tue, Dec 04, 2018 at 02:24:29PM -0800, Anthony Yznaga wrote: > Because kpagecount_read() fakes success if map counts are not being > collected, clamp the page count passed to it by walk_pfn() to the pages > value returned by the preceding call to kpageflags_read(). > > Fixes: 7f1d23e60718

[PATCH] tools/vm/page-types.c: fix "kpagecount returned fewer pages than expected" failures

2018-12-04 Thread Anthony Yznaga
Because kpagecount_read() fakes success if map counts are not being collected, clamp the page count passed to it by walk_pfn() to the pages value returned by the preceding call to kpageflags_read(). Fixes: 7f1d23e60718 ("tools/vm/page-types.c: include shared map counts") Signed-off-by: Anthony

[PATCH] tools/vm/page-types.c: fix "kpagecount returned fewer pages than expected" failures

2018-12-04 Thread Anthony Yznaga
Because kpagecount_read() fakes success if map counts are not being collected, clamp the page count passed to it by walk_pfn() to the pages value returned by the preceding call to kpageflags_read(). Fixes: 7f1d23e60718 ("tools/vm/page-types.c: include shared map counts") Signed-off-by: Anthony