Thread (2 messages) 2 messages, 2 authors, 2017-01-25

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

From: Yisheng Xie <hidden>
Date: 2017-01-25 08:53:23

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':
quoted
quoted
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
quoted
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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help