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

2018-01-03 Thread Anshuman Khandual
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 >>> >>> No allocation callback is using this argument anymore. new_page_node >>> used to use this parameter to convey node_id resp.

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

2018-01-03 Thread Michal Hocko
On Wed 03-01-18 19:30:38, Anshuman Khandual wrote: > On 01/03/2018 01:55 PM, Michal Hocko wrote: > > From: Michal Hocko > > > > 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

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

2018-01-03 Thread Anshuman Khandual
On 01/03/2018 01:55 PM, Michal Hocko wrote: > From: Michal Hocko > > 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 int

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

2018-01-03 Thread Michal Hocko
Ups, this one is missing so it should be foleded in. --- >From a6f412a700a20ffee3ff3839eae8a0f891332f8a Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Wed, 3 Jan 2018 10:00:16 +0100 Subject: [PATCH] fold me "mm, migrate: remove reason argument from new_page_t" - fix new_iommu_non_cma_page left

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

2018-01-03 Thread Michal Hocko
From: Michal Hocko 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 com

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

2017-12-29 Thread Michal Hocko
On Tue 26-12-17 21:12:38, Zi Yan wrote: > On 8 Dec 2017, at 11:15, Michal Hocko wrote: [...] > > @@ -1622,7 +1608,6 @@ static int do_pages_move(struct mm_struct *mm, > > nodemask_t task_nodes, > > } > > chunk_node = NUMA_NO_NODE; > > } > > - err = 0; > > This line ca

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

2017-12-26 Thread Zi Yan
On 8 Dec 2017, at 11:15, Michal Hocko wrote: > From: Michal Hocko > > 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 in

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

2017-12-08 Thread Michal Hocko
From: Michal Hocko 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 com