Re: [PATCH v2 2/2] mm, thp: avoid unnecessary swapin in khugepaged

kbuild test robot
2016-03-13T09:46:19Z

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

Hi Ebru,

[auto build test ERROR on next-20160311]
[cannot apply to v4.5-rc7 v4.5-rc6 v4.5-rc5 v4.5-rc7]
[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/Ebru-Akagunduz/mm-vmstat-calculate-particular-vm-event/20160313-173055
config: i386-randconfig-x009-201611 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

mm/huge_memory.c: In function 'collapse_huge_page':
>> mm/huge_memory.c:2498:20: error: implicit declaration of function 'sum_vm_event' [-Werror=implicit-function-declaration]
curr_allocstall = sum_vm_event(ALLOCSTALL);
^
cc1: some warnings being treated as errors

vim +/sum_vm_event +2498 mm/huge_memory.c

2492 if (!pmd) {
2493 result = SCAN_PMD_NULL;
2494 goto out;
2495 }
2496
2497 swap = get_mm_counter(mm, MM_SWAPENTS);
> 2498 curr_allocstall = sum_vm_event(ALLOCSTALL);
2499 /*
2500 * When system under pressure, don't swapin readahead.
2501 * So that avoid unnecessary resource consuming.

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 26673 bytes --]