linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm:master 214/330] mm/memory-failure.c:1656: error: implicit declaration of function 'isolate_movable_page'
@ 2017-01-25  8:05 kbuild test robot
  2017-01-25  8:46 ` Yisheng Xie
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-01-25  8:05 UTC (permalink / raw)
  To: Yisheng Xie
  Cc: kbuild-all, Johannes Weiner, Minchan Kim, Andrew Morton,
	Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 1284 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 25023 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [mmotm:master 214/330] mm/memory-failure.c:1656: error: implicit declaration of function 'isolate_movable_page'
  2017-01-25  8:05 [mmotm:master 214/330] mm/memory-failure.c:1656: error: implicit declaration of function 'isolate_movable_page' kbuild test robot
@ 2017-01-25  8:46 ` Yisheng Xie
  0 siblings, 0 replies; 2+ messages in thread
From: Yisheng Xie @ 2017-01-25  8:46 UTC (permalink / raw)
  To: kbuild test robot
  Cc: kbuild-all, Johannes Weiner, Minchan Kim, Andrew Morton,
	Linux Memory Management List, Hanjun Guo

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@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-25  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-25  8:05 [mmotm:master 214/330] mm/memory-failure.c:1656: error: implicit declaration of function 'isolate_movable_page' kbuild test robot
2017-01-25  8:46 ` Yisheng Xie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox