Re: [PATCH 2/3] mm, migrate: remove reason argument from new_page_t

From: Anshuman Khandual
Date: Wed Jan 03 2018 - 09:20:03 EST


On 01/03/2018 07:39 PM, Michal Hocko wrote:
> On Wed 03-01-18 19:30:38, Anshuman Khandual wrote:
>> On 01/03/2018 01:55 PM, Michal Hocko wrote:
>>> From: Michal Hocko <mhocko@xxxxxxxx>
>>>
>>> No allocation callback is using this argument anymore. new_page_node
>>> used to use this parameter to convey node_id resp. migration error
>>> up to move_pages code (do_move_page_to_node_array). The error status
>>> never made it into the final status field and we have a better way
>>> to communicate node id to the status field now. All other allocation
>>> callbacks simply ignored the argument so we can drop it finally.
>>
>> There is a migrate_pages() call in powerpc which needs to be changed
>> as well. It was failing the build on powerpc.
>
> Yes, see http://lkml.kernel.org/r/20180103091134.GB11319@xxxxxxxxxxxxxx

Oops, my bad. I am sorry, missed this.