Re: [PATCH] mm/madvise: Dont poison entire HugeTLB page for single page errors

From: kbuild test robot
Date: Thu Apr 20 2017 - 09:48:12 EST


Hi Anshuman,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.11-rc7 next-20170420]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Anshuman-Khandual/mm-madvise-Dont-poison-entire-HugeTLB-page-for-single-page-errors/20170420-204009
config: x86_64-randconfig-x012-201716 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# 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_huge_page':
>> mm/memory-failure.c:1605:4: error: implicit declaration of function 'dissolve_free_huge_page' [-Werror=implicit-function-declaration]
dissolve_free_huge_page(hpage);
^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

vim +/dissolve_free_huge_page +1605 mm/memory-failure.c

1599 /* overcommit hugetlb page will be freed to buddy */
1600 SetPageHWPoison(page);
1601 num_poisoned_pages_inc();
1602
1603 if (PageHuge(page)) {
1604 dequeue_hwpoisoned_huge_page(hpage);
> 1605 dissolve_free_huge_page(hpage);
1606 }
1607 }
1608 return ret;

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip