Hi Waiman, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on hnaz-linux-mm/master] [also build test WARNING on linus/master v5.9-rc1 next-20200817] [cannot apply to tip/sched/core] [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/Waiman-Long/memcg-Enable-fine-grained-per-process-memory-control/20200817-221201 base: https://github.com/hnaz/linux-mm master config: x86_64-randconfig-s022-20200817 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-180-g49f7e13a-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) fs/proc/base.c:2231:25: sparse: sparse: cast to restricted fmode_t fs/proc/base.c:2288:42: sparse: sparse: cast from restricted fmode_t fs/proc/base.c:2385:48: sparse: sparse: cast from restricted fmode_t >> fs/proc/base.c:3244:30: sparse: sparse: symbol 'proc_memctl_operations' was not declared. Should it be static? fs/proc/base.c: note: in included file (through include/linux/rcuwait.h, include/linux/percpu-rwsem.h, include/linux/fs.h, ...): include/linux/sched/signal.h:695:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@ include/linux/sched/signal.h:695:37: sparse: expected struct spinlock [usertype] *lock include/linux/sched/signal.h:695:37: sparse: got struct spinlock [noderef] __rcu * fs/proc/base.c:1104:36: sparse: sparse: context imbalance in '__set_oom_adj' - unexpected unlock Please review and possibly fold the followup patch. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org