Hi Muchun, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20210813] [also build test ERROR on v5.14-rc5] [cannot apply to hnaz-linux-mm/master cgroup/for-next linus/master v5.14-rc5 v5.14-rc4 v5.14-rc3] [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/Muchun-Song/Use-obj_cgroup-APIs-to-charge-the-LRU-pages/20210814-132844 base: 4b358aabb93a2c654cd1dcab1a25a589f6e2b153 config: x86_64-randconfig-a004-20210815 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1f7b25ea76a925aca690da28de9d78db7ca99d0c) 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/8a7c5ff0c21bed8ed69322118d0a01388ee8a6fd git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Muchun-Song/Use-obj_cgroup-APIs-to-charge-the-LRU-pages/20210814-132844 git checkout 8a7c5ff0c21bed8ed69322118d0a01388ee8a6fd # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> mm/memcontrol.c:266:6: error: redefinition of 'mem_cgroup_kmem_disabled' bool mem_cgroup_kmem_disabled(void) ^ include/linux/memcontrol.h:1728:20: note: previous definition is here static inline bool mem_cgroup_kmem_disabled(void) ^ 1 error generated. vim +/mem_cgroup_kmem_disabled +266 mm/memcontrol.c bf4f059954dcb2 Roman Gushchin 2020-08-06 265 4d5c8aedc8aa6a Roman Gushchin 2021-06-02 @266 bool mem_cgroup_kmem_disabled(void) 4d5c8aedc8aa6a Roman Gushchin 2021-06-02 267 { 4d5c8aedc8aa6a Roman Gushchin 2021-06-02 268 return cgroup_memory_nokmem; 4d5c8aedc8aa6a Roman Gushchin 2021-06-02 269 } 4d5c8aedc8aa6a Roman Gushchin 2021-06-02 270 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org