Re: [mmotm:master 214/330] mm/memory-failure.c:1656: error: implicit declaration of function 'isolate_movable_page'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,fengguang,
This is because function isolate_movable_page depend on CONFIG_MIGRATION which
is not enable.

I will submit a patchset to resolve it soon.
Sorry about that.

Thanks
Yisheng Xie.


On 2017/1/25 16:05, kbuild test robot wrote:
> tree:   git://git.cmpxchg.org/linux-mmotm.git master
> head:   f7bc4a69dcfb1f03014b95e88b6a468f8cbf2d43
> commit: 2cef0f79dcb7450917e324c8d26cdbe58097da31 [214/330] HWPOISON: soft offlining for non-lru movable pages
> config: x86_64-randconfig-b0-01251455 (attached as .config)
> compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
> reproduce:
>         git checkout 2cef0f79dcb7450917e324c8d26cdbe58097da31
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All errors (new ones prefixed by >>):
> 
>    mm/memory-failure.c: In function '__soft_offline_page':
>>> mm/memory-failure.c:1656: error: implicit declaration of function 'isolate_movable_page'
> 
> vim +/isolate_movable_page +1656 mm/memory-failure.c
> 
>   1650		 * Try to migrate to a new page instead. migrate.c
>   1651		 * handles a large number of cases for us.
>   1652		 */
>   1653		if (PageLRU(page))
>   1654			ret = isolate_lru_page(page);
>   1655		else
>> 1656			ret = !isolate_movable_page(page, ISOLATE_UNEVICTABLE);
>   1657		/*
>   1658		 * Drop page reference which is came from get_any_page()
>   1659		 * successful isolate_lru_page() already took another one.
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux