Re: [PATCH v8] mm/page_owner.c: add llseek for page_owner

From: Kassey Li
Date: Thu Aug 18 2022 - 00:17:31 EST




On 8/18/2022 12:13 AM, Andrew Morton wrote:
On Tue, 16 Aug 2022 10:07:48 +0800 Kassey Li <quic_yingangl@xxxxxxxxxxx> wrote:

There is usage to dump a given cma region page_owner
instead of all page's.

So... dump all the pages and then parse out the ones you're interested in?

Presumably this is too slow and presumably you have a use case in which
this operation needs speeding up? If so, please fully describe all of
this in the changelog. If not then please fully still describe the
reasons for making this change.

that is correct, I will update the change log for detail make it easy to know why we need this change.