Re: [PATCH] numa: fix /proc/<pid>/numa_maps for THP

From: kbuild test robot
Date: Mon Apr 04 2016 - 11:57:53 EST


Hi Gerald,

[auto build test ERROR on v4.6-rc2]
[also build test ERROR on next-20160404]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Gerald-Schaefer/numa-fix-proc-pid-numa_maps-for-THP/20160404-233625
config: tile-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=tile

All errors (new ones prefixed by >>):

fs/proc/task_mmu.c: In function 'gather_pte_stats':
>> fs/proc/task_mmu.c:1560:4: error: implicit declaration of function 'pmd_dirty'
cc1: some warnings being treated as errors

vim +/pmd_dirty +1560 fs/proc/task_mmu.c

1554 ptl = pmd_trans_huge_lock(pmd, vma);
1555 if (ptl) {
1556 struct page *page;
1557
1558 page = can_gather_numa_stats_pmd(*pmd, vma, addr);
1559 if (page)
> 1560 gather_stats(page, md, pmd_dirty(*pmd),
1561 HPAGE_PMD_SIZE/PAGE_SIZE);
1562 spin_unlock(ptl);
1563 return 0;

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

Attachment: .config.gz
Description: Binary data