Re: [PATCH v6 1/4] mm/migration: make isolate_movable_page() return int type
From: Minchan Kim
Date: Mon Feb 06 2017 - 19:36:10 EST
On Fri, Feb 03, 2017 at 03:59:27PM +0800, Yisheng Xie wrote:
> Change the return type of isolate_movable_page() from bool to int. It
> will return 0 when isolate movable page successfully, and return -EBUSY
> when it isolates failed.
>
> There is no functional change within this patch but prepare for later
> patch.
>
> Signed-off-by: Yisheng Xie <xieyisheng1@xxxxxxxxxx>
> Suggested-by: Michal Hocko <mhocko@xxxxxxxxxx>
> Suggested-by: Minchan Kim <minchan@xxxxxxxxxx>
Acked-by: Minchan Kim <minchan@xxxxxxxxxx>
Thanks.