Re: [PATCH] mm/page_owner: Use helper function zone_end_pfn() to get end_pfn

2021-01-26 Thread David Hildenbrand
On 23.01.21 08:05, Miaohe Lin wrote: Commit 108bcc96ef70 ("mm: add & use zone_end_pfn() and zone_spans_pfn()") introduced the helper zone_end_pfn() to calculate the zone end pfn. But pagetypeinfo_showmixedcount_print forgot to use it. And the initialization of local variable pfn is duplicated, re

[PATCH] mm/page_owner: Use helper function zone_end_pfn() to get end_pfn

2021-01-22 Thread Miaohe Lin
Commit 108bcc96ef70 ("mm: add & use zone_end_pfn() and zone_spans_pfn()") introduced the helper zone_end_pfn() to calculate the zone end pfn. But pagetypeinfo_showmixedcount_print forgot to use it. And the initialization of local variable pfn is duplicated, remove one. Signed-off-by: Miaohe Lin -