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

From: kbuild test robot
Date: Sun Mar 13 2016 - 05:51:35 EST

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]

config: i386-randconfig-x009-201611 (attached as .config)
# 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 }
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 Intel Corporation

Attachment: .config.gz
Description: Binary data