Re: [PATCH] mm/madvise: Enable (soft|hard) offline of HugeTLB pages at PGD level

From: kbuild test robot
Date: Tue Apr 25 2017 - 21:38:38 EST


Hi Anshuman,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.11-rc8 next-20170424]
[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-Enable-soft-hard-offline-of-HugeTLB-pages-at-PGD-level/20170425-224016
config: x86_64-kexec (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 'new_page':
>> mm/memory-failure.c:1485:7: error: implicit declaration of function 'hstate_is_gigantic' [-Werror=implicit-function-declaration]
if (hstate_is_gigantic(page_hstate(compound_head(p))))
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

vim +/hstate_is_gigantic +1485 mm/memory-failure.c

1479 EXPORT_SYMBOL(unpoison_memory);
1480
1481 static struct page *new_page(struct page *p, unsigned long private, int **x)
1482 {
1483 int nid = page_to_nid(p);
1484 if (PageHuge(p)) {
> 1485 if (hstate_is_gigantic(page_hstate(compound_head(p))))
1486 return alloc_huge_page_nonid(page_hstate(compound_head(p)));
1487
1488 return alloc_huge_page_node(page_hstate(compound_head(p)),

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

Attachment: .config.gz
Description: application/gzip