CC: [email protected] CC: [email protected] TO: Alex Shi <[email protected]> CC: Andrew Morton <[email protected]> CC: Linux Memory Management List <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8e2e0104ef78d49a51db9acfd24eaf6d52dc779e commit: 6168d0da2b479ce25a4647de194045de1bdd1f1d mm/lru: replace pgdat lru_lock with lruvec lock date: 4 months ago :::::: branch date: 4 hours ago :::::: commit date: 4 months ago config: sh-randconfig-s031-20210414 (attached as .config) compiler: sh4-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.3-280-g2cd6d34e-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6168d0da2b479ce25a4647de194045de1bdd1f1d git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 6168d0da2b479ce25a4647de194045de1bdd1f1d # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=sh If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> sparse warnings: (new ones prefixed by >>) mm/memcontrol.c:4234:21: sparse: sparse: incompatible types in comparison expression (different address spaces): mm/memcontrol.c:4234:21: sparse: struct mem_cgroup_threshold_ary [noderef] __rcu * mm/memcontrol.c:4234:21: sparse: struct mem_cgroup_threshold_ary * mm/memcontrol.c:4236:21: sparse: sparse: incompatible types in comparison expression (different address spaces): mm/memcontrol.c:4236:21: sparse: struct mem_cgroup_threshold_ary [noderef] __rcu * mm/memcontrol.c:4236:21: sparse: struct mem_cgroup_threshold_ary * mm/memcontrol.c:4392:9: sparse: sparse: incompatible types in comparison expression (different address spaces): mm/memcontrol.c:4392:9: sparse: struct mem_cgroup_threshold_ary [noderef] __rcu * mm/memcontrol.c:4392:9: sparse: struct mem_cgroup_threshold_ary * mm/memcontrol.c:4486:9: sparse: sparse: incompatible types in comparison expression (different address spaces): mm/memcontrol.c:4486:9: sparse: struct mem_cgroup_threshold_ary [noderef] __rcu * mm/memcontrol.c:4486:9: sparse: struct mem_cgroup_threshold_ary * mm/memcontrol.c:1402:15: sparse: sparse: context imbalance in 'lock_page_lruvec' - wrong count at exit mm/memcontrol.c: note: in included file (through include/linux/wait.h, include/linux/pid.h, include/linux/sched.h, include/linux/cgroup.h, ...): >> include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in >> 'lock_page_lruvec_irq' - wrong count at exit >> mm/memcontrol.c:1439:9: sparse: sparse: context imbalance in >> 'lock_page_lruvec_irqsave' - wrong count at exit mm/memcontrol.c:2201:19: sparse: sparse: context imbalance in 'lock_page_memcg' - wrong count at exit include/linux/spinlock.h:409:9: sparse: sparse: context imbalance in '__unlock_page_memcg' - unexpected unlock vim +/lock_page_lruvec_irqsave +1439 mm/memcontrol.c 6168d0da2b479c Alex Shi 2020-12-15 1431 6168d0da2b479c Alex Shi 2020-12-15 1432 struct lruvec *lock_page_lruvec_irqsave(struct page *page, unsigned long *flags) 6168d0da2b479c Alex Shi 2020-12-15 1433 { 6168d0da2b479c Alex Shi 2020-12-15 1434 struct lruvec *lruvec; 6168d0da2b479c Alex Shi 2020-12-15 1435 struct pglist_data *pgdat = page_pgdat(page); 6168d0da2b479c Alex Shi 2020-12-15 1436 6168d0da2b479c Alex Shi 2020-12-15 1437 rcu_read_lock(); 6168d0da2b479c Alex Shi 2020-12-15 1438 lruvec = mem_cgroup_page_lruvec(page, pgdat); 6168d0da2b479c Alex Shi 2020-12-15 @1439 spin_lock_irqsave(&lruvec->lru_lock, *flags); 6168d0da2b479c Alex Shi 2020-12-15 1440 rcu_read_unlock(); 6168d0da2b479c Alex Shi 2020-12-15 1441 6168d0da2b479c Alex Shi 2020-12-15 1442 lruvec_memcg_debug(lruvec, page); 6168d0da2b479c Alex Shi 2020-12-15 1443 6168d0da2b479c Alex Shi 2020-12-15 1444 return lruvec; 6168d0da2b479c Alex Shi 2020-12-15 1445 } 6168d0da2b479c Alex Shi 2020-12-15 1446 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
