Re: [PATCH v5] fork: free vmapped stacks in cache when cpus are offline

From: kbuild test robot
Date: Sat Feb 11 2017 - 06:19:19 EST


Hi Hoeun,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.10-rc7 next-20170210]
[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/Hoeun-Ryu/fork-free-vmapped-stacks-in-cache-when-cpus-are-offline/20170211-183401
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
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=ia64

All errors (new ones prefixed by >>):

kernel/fork.c: In function 'fork_init':
>> kernel/fork.c:483:2: error: implicit declaration of function 'vm_stack_cache_init' [-Werror=implicit-function-declaration]
vm_stack_cache_init();
^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

vim +/vm_stack_cache_init +483 kernel/fork.c

477 init_task.signal->rlim[RLIMIT_NPROC];
478
479 for (i = 0; i < UCOUNT_COUNTS; i++) {
480 init_user_ns.ucount_max[i] = max_threads/2;
481 }
482
> 483 vm_stack_cache_init();
484 }
485
486 int __weak arch_dup_task_struct(struct task_struct *dst,

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

Attachment: .config.gz
Description: application/gzip