* arch/arm/include/asm/irqflags.h:39:9: sparse: sparse: context imbalance in '__split_huge_page' - different lock contexts for basic block
@ 2021-05-21 1:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-21 1:05 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 3705 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Alex Shi <alex.shi@linux.alibaba.com>
CC: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Linux Memory Management List <linux-mm@kvack.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f01da525b3de8e59b2656b55d40c60462098651f
commit: b6769834aac1d467fa1c71277d15688efcbb4d76 mm/thp: narrow lru locking
date: 5 months ago
:::::: branch date: 8 hours ago
:::::: commit date: 5 months ago
config: arm-randconfig-s032-20210521 (attached as .config)
compiler: arm-linux-gnueabi-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=b6769834aac1d467fa1c71277d15688efcbb4d76
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout b6769834aac1d467fa1c71277d15688efcbb4d76
# 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=arm
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/huge_memory.c:1640:20: sparse: sparse: context imbalance in 'madvise_free_huge_pmd' - unexpected unlock
mm/huge_memory.c:1677:28: sparse: sparse: context imbalance in 'zap_huge_pmd' - unexpected unlock
mm/huge_memory.c:1787:28: sparse: sparse: context imbalance in 'move_huge_pmd' - unexpected unlock
mm/huge_memory.c:1891:20: sparse: sparse: context imbalance in 'change_huge_pmd' - unexpected unlock
mm/huge_memory.c:1901:12: sparse: sparse: context imbalance in '__pmd_trans_huge_lock' - wrong count at exit
mm/huge_memory.c: note: in included file (through include/linux/irqflags.h, arch/arm/include/asm/bitops.h, include/linux/bitops.h, ...):
>> arch/arm/include/asm/irqflags.h:39:9: sparse: sparse: context imbalance in '__split_huge_page' - different lock contexts for basic block
>> arch/arm/include/asm/irqflags.h:39:9: sparse: sparse: context imbalance in 'split_huge_page_to_list' - different lock contexts for basic block
vim +/__split_huge_page +39 arch/arm/include/asm/irqflags.h
df9ee29270c11d David Howells 2010-10-07 35
6fb18ac9366b74 Daniel Thompson 2015-06-10 36 #define arch_local_irq_enable arch_local_irq_enable
df9ee29270c11d David Howells 2010-10-07 37 static inline void arch_local_irq_enable(void)
df9ee29270c11d David Howells 2010-10-07 38 {
df9ee29270c11d David Howells 2010-10-07 @39 asm volatile(
df9ee29270c11d David Howells 2010-10-07 40 " cpsie i @ arch_local_irq_enable"
df9ee29270c11d David Howells 2010-10-07 41 :
df9ee29270c11d David Howells 2010-10-07 42 :
df9ee29270c11d David Howells 2010-10-07 43 : "memory", "cc");
df9ee29270c11d David Howells 2010-10-07 44 }
df9ee29270c11d David Howells 2010-10-07 45
:::::: The code at line 39 was first introduced by commit
:::::: df9ee29270c11dba7d0fe0b83ce47a4d8e8d2101 Fix IRQ flag handling naming
:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>
---
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: 31231 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-21 1:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21 1:05 arch/arm/include/asm/irqflags.h:39:9: sparse: sparse: context imbalance in '__split_huge_page' - different lock contexts for basic block 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.