Hi Marcelo,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on tip/sched/core]
[also build test ERROR on v5.13]
[cannot apply to hnaz-linux-mm/master tip/master linus/master tip/core/entry
next-20210709]
[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/Marcelo-Tosatti/optionally-perfo...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
031e3bd8986fffe31e1ddbf5264cccfe30c9abd7
config: arm64-randconfig-r012-20210709 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
8d69635ed9ecf36fd0ca85906bfde17949671cbe)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
#
https://github.com/0day-ci/linux/commit/91934f6f1fd6271ef8af8ec3848685580...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Marcelo-Tosatti/optionally-perform-deferred-actions-on-return-to-userspace/20210710-021217
git checkout 91934f6f1fd6271ef8af8ec384868558014e371b
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=arm64
SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> mm/vmstat.c:1909:11: error: no member named 'expire' in
'struct per_cpu_pageset'
if (!p->expire)
~ ^
1 error generated.
vim +1909 mm/vmstat.c
1896
1897 #ifdef CONFIG_PROC_FS
1898 static bool need_drain_remote_zones(int cpu)
1899 {
1900 struct zone *zone;
1901
1902 for_each_populated_zone(zone) {
1903 struct per_cpu_pageset *p;
1904
1905 p = per_cpu_ptr(zone->pageset, cpu);
1906
1907 if (!p->pcp.count)
1908 continue;
1909 if (!p->expire)
1910 continue;
1911 if (zone_to_nid(zone) == cpu_to_node(cpu))
1912 continue;
1913
1914 return true;
1915 }
1916
1917 return false;
1918 }
1919
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org