* [linux-next:master] [mm/page_alloc] b4cfcc26f5: WARNING:at_mm/page_alloc.c:#set_pageblock_migratetype
@ 2025-03-04 5:08 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-04 5:08 UTC (permalink / raw)
To: Brendan Jackman
Cc: oe-lkp, lkp, Andrew Morton, David Hildenbrand, Johannes Weiner,
Oscar Salvador, Vlastimil Babka, linux-mm, oliver.sang
Hello,
kernel test robot noticed "WARNING:at_mm/page_alloc.c:#set_pageblock_migratetype" on:
commit: b4cfcc26f507ecef2861ccfb883698933083fce6 ("mm/page_alloc: add lockdep assertion for pageblock type change")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
[test failed on linux-next/master cd3215bbcb9d4321def93fea6cfad4d5b42b9d1d]
in testcase: boot
config: x86_64-rhel-9.4-kselftests
compiler: gcc-12
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+-------------------------------------------------------+------------+------------+
| | 9ddc3bc5d4 | b4cfcc26f5 |
+-------------------------------------------------------+------------+------------+
| WARNING:at_mm/page_alloc.c:#set_pageblock_migratetype | 0 | 12 |
| RIP:set_pageblock_migratetype | 0 | 12 |
+-------------------------------------------------------+------------+------------+
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202503041001.181427fb-lkp@intel.com
[ 1.719769][ T29] ------------[ cut here ]------------
[ 1.720287][ T29] WARNING: CPU: 1 PID: 29 at mm/page_alloc.c:420 set_pageblock_migratetype (mm/page_alloc.c:420)
[ 1.720287][ T29] Modules linked in:
[ 1.720287][ T29] CPU: 1 UID: 0 PID: 29 Comm: pgdatinit0 Not tainted 6.14.0-rc3-00328-gb4cfcc26f507 #1
[ 1.720287][ T29] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 1.720287][ T29] RIP: 0010:set_pageblock_migratetype (mm/page_alloc.c:420)
[ 1.720287][ T29] Code: 77 6a 4c 89 e0 be ff ff ff ff 48 c1 e0 04 4c 29 e0 48 c1 e0 07 49 8d bc 05 28 06 00 00 e8 8b f4 3c 02 85 c0 0f 85 17 ff ff ff <0f> 0b e9 10 ff ff ff 48 c7 c7 d4 1c 28 87 e8 b0 18 0c 00 e9 bd fe
All code
========
0: 77 6a ja 0x6c
2: 4c 89 e0 mov %r12,%rax
5: be ff ff ff ff mov $0xffffffff,%esi
a: 48 c1 e0 04 shl $0x4,%rax
e: 4c 29 e0 sub %r12,%rax
11: 48 c1 e0 07 shl $0x7,%rax
15: 49 8d bc 05 28 06 00 lea 0x628(%r13,%rax,1),%rdi
1c: 00
1d: e8 8b f4 3c 02 call 0x23cf4ad
22: 85 c0 test %eax,%eax
24: 0f 85 17 ff ff ff jne 0xffffffffffffff41
2a:* 0f 0b ud2 <-- trapping instruction
2c: e9 10 ff ff ff jmp 0xffffffffffffff41
31: 48 c7 c7 d4 1c 28 87 mov $0xffffffff87281cd4,%rdi
38: e8 b0 18 0c 00 call 0xc18ed
3d: e9 .byte 0xe9
3e: bd .byte 0xbd
3f: fe .byte 0xfe
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: e9 10 ff ff ff jmp 0xffffffffffffff17
7: 48 c7 c7 d4 1c 28 87 mov $0xffffffff87281cd4,%rdi
e: e8 b0 18 0c 00 call 0xc18c3
13: e9 .byte 0xe9
14: bd .byte 0xbd
15: fe .byte 0xfe
[ 1.720287][ T29] RSP: 0000:ffffc900001f7818 EFLAGS: 00010246
[ 1.720287][ T29] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
[ 1.720287][ T29] RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff88843ffca128
[ 1.720287][ T29] RBP: ffffea0004200000 R08: 0000000000000001 R09: fffffbfff0d0a3f5
[ 1.732783][ T29] R10: ffffffff86851fab R11: 0000000250a00000 R12: 0000000000000002
[ 1.733766][ T29] R13: ffff88843ffc8c00 R14: 0000000000108400 R15: 0000000000108400
[ 1.735764][ T29] FS: 0000000000000000(0000) GS:ffff8883aef00000(0000) knlGS:0000000000000000
[ 1.736802][ T29] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1.737630][ T29] CR2: 0000000000000000 CR3: 0000000254c86000 CR4: 00000000000406f0
[ 1.739766][ T29] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1.740742][ T29] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1.741750][ T29] Call Trace:
[ 1.742299][ T29] <TASK>
[ 1.742880][ T29] ? __warn (kernel/panic.c:748)
[ 1.743568][ T29] ? set_pageblock_migratetype (mm/page_alloc.c:420)
[ 1.745303][ T29] ? report_bug (lib/bug.c:180 lib/bug.c:219)
[ 1.746115][ T29] ? handle_bug (arch/x86/kernel/traps.c:285)
[ 1.746574][ T29] ? exc_invalid_op (arch/x86/kernel/traps.c:309 (discriminator 1))
[ 1.747300][ T29] ? asm_exc_invalid_op (arch/x86/include/asm/idtentry.h:574)
[ 1.748222][ T29] ? set_pageblock_migratetype (mm/page_alloc.c:420)
[ 1.749624][ T29] ? set_pageblock_migratetype (mm/page_alloc.c:420)
[ 1.750302][ T29] deferred_init_maxorder (mm/mm_init.c:1949 mm/mm_init.c:2072)
[ 1.751310][ T29] ? __pfx_deferred_init_maxorder (mm/mm_init.c:2040)
[ 1.752300][ T29] ? __pfx___next_mem_pfn_range_in_zone (mm/memblock.c:1364)
[ 1.753301][ T29] ? find_held_lock (kernel/locking/lockdep.c:5341)
[ 1.754190][ T29] ? find_held_lock (kernel/locking/lockdep.c:5341)
[ 1.755598][ T29] deferred_init_memmap_chunk (mm/mm_init.c:2097)
[ 1.760658][ T29] ? __pfx_deferred_init_memmap_chunk (mm/mm_init.c:2084)
[ 1.761657][ T29] ? do_raw_spin_lock (arch/x86/include/asm/atomic.h:107 include/linux/atomic/atomic-arch-fallback.h:2170 include/linux/atomic/atomic-instrumented.h:1302 include/asm-generic/qspinlock.h:111 kernel/locking/spinlock_debug.c:116)
[ 1.762299][ T29] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 1.763299][ T29] ? padata_mt_helper (kernel/padata.c:487)
[ 1.764181][ T29] ? do_raw_spin_unlock (arch/x86/include/asm/atomic.h:23 include/linux/atomic/atomic-arch-fallback.h:457 include/linux/atomic/atomic-instrumented.h:33 include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141)
[ 1.764602][ T29] padata_mt_helper (include/linux/spinlock.h:351 kernel/padata.c:488)
[ 1.765307][ T29] ? padata_work_init (include/linux/list.h:37 kernel/padata.c:114)
[ 1.766175][ T29] padata_do_multithreaded (kernel/padata.c:564)
[ 1.767609][ T29] ? __pfx_padata_do_multithreaded (kernel/padata.c:506)
[ 1.768305][ T29] ? __pfx_padata_mt_helper (kernel/padata.c:466)
[ 1.769248][ T29] ? __pfx___next_mem_pfn_range_in_zone (mm/memblock.c:1364)
[ 1.770666][ T29] ? __pfx_deferred_init_mem_pfn_range_in_zone (mm/mm_init.c:2004)
[ 1.771688][ T29] deferred_init_memmap (mm/mm_init.c:2148)
[ 1.772310][ T29] ? __pfx_deferred_init_memmap (mm/mm_init.c:2109)
[ 1.773256][ T29] ? do_raw_spin_lock (arch/x86/include/asm/atomic.h:107 include/linux/atomic/atomic-arch-fallback.h:2170 include/linux/atomic/atomic-instrumented.h:1302 include/asm-generic/qspinlock.h:111 kernel/locking/spinlock_debug.c:116)
[ 1.774592][ T29] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 1.775296][ T29] ? __pfx_try_to_wake_up (kernel/sched/core.c:4177)
[ 1.776188][ T29] ? __pfx_deferred_init_memmap_chunk (mm/mm_init.c:2084)
[ 1.777635][ T29] ? __kthread_parkme (arch/x86/include/asm/bitops.h:206 arch/x86/include/asm/bitops.h:238 include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/kthread.c:291)
[ 1.778302][ T29] ? __pfx_deferred_init_memmap (mm/mm_init.c:2109)
[ 1.779277][ T29] kthread (kernel/kthread.c:464)
[ 1.780556][ T29] ? __pfx_kthread (kernel/kthread.c:413)
[ 1.781304][ T29] ? __pfx_kthread (kernel/kthread.c:413)
[ 1.782093][ T29] ret_from_fork (arch/x86/kernel/process.c:154)
[ 1.782726][ T29] ? __pfx_kthread (kernel/kthread.c:413)
[ 1.783300][ T29] ret_from_fork_asm (arch/x86/entry/entry_64.S:257)
[ 1.784206][ T29] </TASK>
[ 1.784520][ T29] irq event stamp: 755
[ 1.785224][ T29] hardirqs last enabled at (765): __up_console_sem (arch/x86/include/asm/irqflags.h:42 (discriminator 1) arch/x86/include/asm/irqflags.h:97 (discriminator 1) arch/x86/include/asm/irqflags.h:155 (discriminator 1) kernel/printk/printk.c:344 (discriminator 1))
[ 1.786827][ T29] hardirqs last disabled at (776): __up_console_sem (kernel/printk/printk.c:342 (discriminator 1))
[ 1.788797][ T29] softirqs last enabled at (360): handle_softirqs (arch/x86/include/asm/preempt.h:26 kernel/softirq.c:408 kernel/softirq.c:589)
[ 1.790803][ T29] softirqs last disabled at (355): __irq_exit_rcu (kernel/softirq.c:596 kernel/softirq.c:435 kernel/softirq.c:662)
[ 1.791785][ T29] ---[ end trace 0000000000000000 ]---
[ 1.889842][ T29] node 0 deferred pages initialised in 170ms
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250304/202503041001.181427fb-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-03-04 5:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-04 5:08 [linux-next:master] [mm/page_alloc] b4cfcc26f5: WARNING:at_mm/page_alloc.c:#set_pageblock_migratetype kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox