Re: [PATCH] mm/page_owner.c: allow page_owner with given start_pfn/count

From: Matthew Wilcox
Date: Fri Jul 22 2022 - 11:38:28 EST


On Fri, Jul 22, 2022 at 11:08:10PM +0800, Kassey Li wrote:
> by default, page_owner iterates all page from min_low_pfn to
> max_pfn, this cost too much time if we want an alternative pfn range.
>
> with this patch it allows user to set pfn range to dump the page_onwer.

This is a really bad UI. If two users try to do different ranges at the
same time, it'll go wrong. What use cases are you actually trying to
solve?