Re: [PATCH 4] mm: fix possible incorrect return value of move_pages() syscall

2012-07-16 Thread Christoph Lameter
On Tue, 17 Jul 2012, Joonsoo Kim wrote: > move_pages() syscall may return success in case that > do_move_page_to_node_array return positive value which means migration failed. > This patch changes return value of do_move_page_to_node_array > for not returning positive value. It can fix the problem

[PATCH 4] mm: fix possible incorrect return value of move_pages() syscall

2012-07-16 Thread Joonsoo Kim
move_pages() syscall may return success in case that do_move_page_to_node_array return positive value which means migration failed. This patch changes return value of do_move_page_to_node_array for not returning positive value. It can fix the problem. Signed-off-by: Joonsoo Kim Cc: Brice Goglin