Re: [PATCH] mm/migration: make isolate_movable_page always defined
From: Minchan Kim
Date: Wed Jan 25 2017 - 18:48:52 EST
On Wed, Jan 25, 2017 at 06:36:03PM +0800, Yisheng Xie wrote:
> Define isolate_movable_page as a static inline function when
> CONFIG_MIGRATION is not enable. It should return false
> here which means failed to isolate movable pages.
>
> This patch do not have any functional change but to resolve compile
> error caused by former commit "HWPOISON: soft offlining for non-lru
> movable page" with CONFIG_MIGRATION disabled.
>
> Signed-off-by: Yisheng Xie <xieyisheng1@xxxxxxxxxx>
Acked-by: Minchan Kim <minchan@xxxxxxxxxx>