Re: [PATCH 4/6] mm/page_owner: introduce split_page_owner and replace manual handling

From: Vlastimil Babka
Date: Tue May 10 2016 - 11:14:10 EST


On 05/03/2016 07:23 AM, js1304@xxxxxxxxx wrote:
From: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>

split_page() calls set_page_owner() to set up page_owner to each pages.
But, it has a drawback that head page and the others have different
stacktrace because callsite of set_page_owner() is slightly differnt.
To avoid this problem, this patch copies head page's page_owner to
the others. It needs to introduce new function, split_page_owner() but
it also remove the other function, get_page_owner_gfp() so looks good
to do.

OK.

Acked-by: Vlastimil Babka <vbabka@xxxxxxx>