Re: [PATCH] mm: Free per cpu pages async to shorten program exit time
From: kernel test robot <hidden>
Date: 2021-10-08 12:29:58
Also in:
linux-mm, lkml, oe-kbuild-all
Hi, Thank you for the patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on linus/master v5.15-rc4] [cannot apply to hnaz-mm/master next-20211008] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/ultrachin-163-com/mm-Free-per-cpu-pages-async-to-shorten-program-exit-time/20211008-145835 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 5816b3e6577eaa676ceb00a848f0fd65fe2adc29 config: i386-randconfig-a001-20211008 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b1a45c62f03ecbeb4544b0c65a01ee4586235a61) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/3e55b36596eb3a798c6f649e5e1c0f5eac8522b3 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review ultrachin-163-com/mm-Free-per-cpu-pages-async-to-shorten-program-exit-time/20211008-145835 git checkout 3e55b36596eb3a798c6f649e5e1c0f5eac8522b3 # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All errors (new ones prefixed by >>):
quoted
kernel/exit.c:170:26: error: no member named 'cpu' in 'struct task_struct'
unsigned int cpu = tsk->cpu;
~~~ ^
kernel/exit.c:1812:13: warning: no previous prototype for function 'abort' [-Wmissing-prototypes]
__weak void abort(void)
^
kernel/exit.c:1812:8: note: declare 'static' if the function is not intended to be used outside of this translation unit
__weak void abort(void)
^
static
1 warning and 1 error generated.
vim +170 kernel/exit.c
166
167 static void delayed_put_task_struct(struct rcu_head *rhp)
168 {
169 struct task_struct *tsk = container_of(rhp, struct task_struct, rcu);
> 170 unsigned int cpu = tsk->cpu;
171
172 perf_event_delayed_put(tsk);
173 trace_sched_process_free(tsk);
174 put_task_struct(tsk);
175 kfreepcp_set_run(cpu);
176 }
177
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Attachments
- .config.gz [application/gzip] 40897 bytes