Re: [PATCH v2] mm: page_reporting: allow driver to set batch capacity
From: David Hildenbrand (Arm)
Date: Wed Jun 10 2026 - 11:17:41 EST
> --- a/include/linux/page_reporting.h
> +++ b/include/linux/page_reporting.h
> @@ -22,6 +22,9 @@ struct page_reporting_dev_info {
>
> /* Minimal order of page reporting */
> unsigned int order;
> +
> + /* Max pages per report batch; 0 (default) means PAGE_REPORTING_CAPACITY */
> + unsigned int capacity;
> };
I think PAGE_REPORTING_CAPACITY still documents
"This value should always be a power of 2, see page_reporting_cycle()"
With that:
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David