All of lore.kernel.org
 help / color / mirror / Atom feed
* mm/memory.c:90:2: sparse: sparse: Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid.
@ 2021-07-05 13:36 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-05 13:36 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 4186 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Atish Patra <atish.patra@wdc.com>
CC: Palmer Dabbelt <palmerdabbelt@google.com>
CC: Greentime Hu <greentime.hu@sifive.com>
CC: Anup Patel <anup@brainfault.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a180bd1d7e16173d965b263c5a536aa40afa2a2a
commit: 4f0e8eef772ee4438f304b2178bc28c958b6c13d riscv: Add numa support for riscv64 platform
date:   6 months ago
:::::: branch date: 14 hours ago
:::::: commit date: 6 months ago
config: riscv-randconfig-s031-20210705 (attached as .config)
compiler: riscv32-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-341-g8af24329-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4f0e8eef772ee4438f304b2178bc28c958b6c13d
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4f0e8eef772ee4438f304b2178bc28c958b6c13d
        # 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__' O=build_dir ARCH=riscv SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> mm/memory.c:90:2: sparse: sparse: Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid.
   mm/memory.c:943:17: sparse: sparse: context imbalance in 'copy_pte_range' - different lock contexts for basic block
   mm/memory.c:1623:16: sparse: sparse: context imbalance in '__get_locked_pte' - different lock contexts for basic block
   mm/memory.c:1672:9: sparse: sparse: context imbalance in 'insert_page' - different lock contexts for basic block
   mm/memory.c:2174:17: sparse: sparse: context imbalance in 'remap_pte_range' - different lock contexts for basic block
   mm/memory.c: note: in included file (through arch/riscv/include/asm/mmiowb.h, include/linux/spinlock.h, include/linux/irq.h, ...):
   include/asm-generic/mmiowb.h:58:9: sparse: sparse: context imbalance in 'apply_to_pte_range' - unexpected unlock
   include/asm-generic/mmiowb.h:58:9: sparse: sparse: context imbalance in 'wp_page_copy' - unexpected unlock
   include/asm-generic/mmiowb.h:58:9: sparse: sparse: context imbalance in 'wp_pfn_shared' - unexpected unlock
   mm/memory.c:3085:19: sparse: sparse: context imbalance in 'do_wp_page' - different lock contexts for basic block
   mm/memory.c:3657:19: sparse: sparse: context imbalance in 'pte_alloc_one_map' - different lock contexts for basic block
   include/asm-generic/mmiowb.h:58:9: sparse: sparse: context imbalance in 'finish_fault' - unexpected unlock
   include/asm-generic/mmiowb.h:58:9: sparse: sparse: context imbalance in 'do_fault_around' - unexpected unlock
   mm/memory.c:4712:5: sparse: sparse: context imbalance in 'follow_pte' - different lock contexts for basic block
   include/asm-generic/mmiowb.h:58:9: sparse: sparse: context imbalance in 'follow_pfn' - unexpected unlock

vim +90 mm/memory.c

42b7772812d15b Jan Beulich    2008-07-23  88  
af27d9403f5b80 Arnd Bergmann  2018-02-16  89  #if defined(LAST_CPUPID_NOT_IN_PAGE_FLAGS) && !defined(CONFIG_COMPILE_TEST)
90572890d20252 Peter Zijlstra 2013-10-07 @90  #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid.
75980e97daccfc Peter Zijlstra 2013-02-22  91  #endif
75980e97daccfc Peter Zijlstra 2013-02-22  92  

:::::: The code at line 90 was first introduced by commit
:::::: 90572890d202527c366aa9489b32404e88a7c020 mm: numa: Change page last {nid,pid} into {cpu,pid}

:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Ingo Molnar <mingo@kernel.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 27488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* mm/memory.c:90:2: sparse: sparse: Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid.
@ 2021-07-06  0:22 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-06  0:22 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 4185 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Atish Patra <atish.patra@wdc.com>
CC: Palmer Dabbelt <palmerdabbelt@google.com>
CC: Greentime Hu <greentime.hu@sifive.com>
CC: Anup Patel <anup@brainfault.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   79160a603bdb51916226caf4a6616cc4e1c58a58
commit: 4f0e8eef772ee4438f304b2178bc28c958b6c13d riscv: Add numa support for riscv64 platform
date:   6 months ago
:::::: branch date: 3 hours ago
:::::: commit date: 6 months ago
config: riscv-randconfig-s031-20210705 (attached as .config)
compiler: riscv32-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-341-g8af24329-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4f0e8eef772ee4438f304b2178bc28c958b6c13d
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4f0e8eef772ee4438f304b2178bc28c958b6c13d
        # 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__' O=build_dir ARCH=riscv SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> mm/memory.c:90:2: sparse: sparse: Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid.
   mm/memory.c:943:17: sparse: sparse: context imbalance in 'copy_pte_range' - different lock contexts for basic block
   mm/memory.c:1623:16: sparse: sparse: context imbalance in '__get_locked_pte' - different lock contexts for basic block
   mm/memory.c:1672:9: sparse: sparse: context imbalance in 'insert_page' - different lock contexts for basic block
   mm/memory.c:2174:17: sparse: sparse: context imbalance in 'remap_pte_range' - different lock contexts for basic block
   mm/memory.c: note: in included file (through arch/riscv/include/asm/mmiowb.h, include/linux/spinlock.h, include/linux/irq.h, ...):
   include/asm-generic/mmiowb.h:58:9: sparse: sparse: context imbalance in 'apply_to_pte_range' - unexpected unlock
   include/asm-generic/mmiowb.h:58:9: sparse: sparse: context imbalance in 'wp_page_copy' - unexpected unlock
   include/asm-generic/mmiowb.h:58:9: sparse: sparse: context imbalance in 'wp_pfn_shared' - unexpected unlock
   mm/memory.c:3085:19: sparse: sparse: context imbalance in 'do_wp_page' - different lock contexts for basic block
   mm/memory.c:3657:19: sparse: sparse: context imbalance in 'pte_alloc_one_map' - different lock contexts for basic block
   include/asm-generic/mmiowb.h:58:9: sparse: sparse: context imbalance in 'finish_fault' - unexpected unlock
   include/asm-generic/mmiowb.h:58:9: sparse: sparse: context imbalance in 'do_fault_around' - unexpected unlock
   mm/memory.c:4712:5: sparse: sparse: context imbalance in 'follow_pte' - different lock contexts for basic block
   include/asm-generic/mmiowb.h:58:9: sparse: sparse: context imbalance in 'follow_pfn' - unexpected unlock

vim +90 mm/memory.c

42b7772812d15b Jan Beulich    2008-07-23  88  
af27d9403f5b80 Arnd Bergmann  2018-02-16  89  #if defined(LAST_CPUPID_NOT_IN_PAGE_FLAGS) && !defined(CONFIG_COMPILE_TEST)
90572890d20252 Peter Zijlstra 2013-10-07 @90  #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid.
75980e97daccfc Peter Zijlstra 2013-02-22  91  #endif
75980e97daccfc Peter Zijlstra 2013-02-22  92  

:::::: The code at line 90 was first introduced by commit
:::::: 90572890d202527c366aa9489b32404e88a7c020 mm: numa: Change page last {nid,pid} into {cpu,pid}

:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Ingo Molnar <mingo@kernel.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 27488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-06  0:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-05 13:36 mm/memory.c:90:2: sparse: sparse: Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid kernel test robot
2021-07-06  0:22 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.