Re: [PATCH] mm/page_alloc: Add a reason for reserved pages in has_unmovable_pages()

From: David Hildenbrand
Date: Fri Oct 04 2019 - 04:25:26 EST


On 03.10.19 14:14, Qian Cai wrote:
>
>
>> On Oct 3, 2019, at 8:01 AM, Anshuman Khandual <Anshuman.Khandual@xxxxxxx> wrote:
>>
>> Will something like this be better ?
>
> Not really. dump_page() will dump PageCompound information anyway, so it is trivial to figure out if went in that path.
>

I agree, I use the dump_page() output frequently to identify PG_reserved
pages. No need to duplicate that.


--

Thanks,

David / dhildenb