[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181122090047.GF18977@shao2-debian>
Date: Thu, 22 Nov 2018 17:00:47 +0800
From: kernel test robot <rong.a.chen@...el.com>
To: Wengang Wang <wen.gang.wang@...cle.com>
Cc: cl@...ux.com, penberg@...nel.org, rientjes@...gle.com,
iamjoonsoo.kim@....com, akpm@...ux-foundation.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
wen.gang.wang@...cle.com, lkp@...org
Subject: [LKP] [mm] fb420465c9: kernel_BUG_at_mm/slub.c
FYI, we noticed the following commit (built with gcc-7):
commit: fb420465c9bcaf57aa6bff76ffe31add559ae1f9 ("[PATCH] mm: use this_cpu_cmpxchg_double in put_cpu_partial")
url: https://github.com/0day-ci/linux/commits/Wengang-Wang/mm-use-this_cpu_cmpxchg_double-in-put_cpu_partial/20181119-215159
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------------------+-----------+------------+
| | v4.20-rc3 | fb420465c9 |
+-------------------------------------------------------+-----------+------------+
| boot_successes | 185 | 0 |
| boot_failures | 19 | 29 |
| End_of_test:RCU_HOTPLUG | 15 | |
| BUG:kernel_reboot-without-warning_in_test_stage | 4 | |
| kernel_BUG_at_mm/slub.c | 0 | 29 |
| invalid_opcode:#[##] | 0 | 29 |
| RIP:put_cpu_partial | 0 | 29 |
| RIP:default_idle | 0 | 15 |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 19 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 10 |
| RIP:cma_init_reserved_areas | 0 | 1 |
| RIP:_raw_spin_unlock_irqrestore | 0 | 1 |
| RIP:console_unlock | 0 | 3 |
+-------------------------------------------------------+-----------+------------+
[ 17.997088] kernel BUG at mm/slub.c:2300!
[ 17.997617] invalid opcode: 0000 [#1] SMP PTI
[ 18.001088] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.20.0-rc3-00001-gfb42046 #3
[ 18.001088] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 18.001088] RIP: 0010:put_cpu_partial+0x8f/0x93
[ 18.001088] Code: 31 c9 66 8b 45 2a 0f b7 55 28 ff c1 89 4d 10 48 89 7d 08 25 ff 7f 00 00 29 d0 01 f0 89 45 14 48 8b 03 48 83 c0 18 a8 0f 74 02 <0f> 0b 0f 0b 0f 1f 44 00 00 4c 8d 54 24 08 48 83 e4 f0 41 ff 72 f8
[ 18.001088] RSP: 0000:ffff88823fc03ed8 EFLAGS: 00010202
[ 18.001088] RAX: 0000000000025a98 RBX: ffff88822b053200 RCX: 0000000000000001
[ 18.001088] RDX: 0000000000000014 RSI: 0000000000000000 RDI: 0000000000000000
[ 18.001088] RBP: ffffea0008a8a680 R08: 0000000000000001 R09: ffffffff810b8700
[ 18.001088] R10: ffffea0008a8a680 R11: 0000000000000020 R12: 000000000000000a
[ 18.001088] R13: 0000000000000202 R14: 0000000000000001 R15: 0000000000000000
[ 18.001088] FS: 0000000000000000(0000) GS:ffff88823fc00000(0000) knlGS:0000000000000000
[ 18.001088] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 18.001088] CR2: 00000000ffffffff CR3: 0000000002212001 CR4: 00000000001606f0
[ 18.001088] Call Trace:
[ 18.001088] <IRQ>
[ 18.001088] kmem_cache_free+0x132/0x191
[ 18.001088] rcu_process_callbacks+0x223/0x383
[ 18.001088] __do_softirq+0x120/0x297
[ 18.001088] ? clockevents_program_event+0xbc/0xde
[ 18.001088] irq_exit+0x5d/0x9c
[ 18.001088] smp_apic_timer_interrupt+0x127/0x13a
[ 18.001088] apic_timer_interrupt+0xf/0x20
[ 18.001088] </IRQ>
[ 18.001088] RIP: 0010:default_idle+0xa3/0x142
[ 18.001088] Code: 00 00 00 e8 b7 01 25 00 48 83 3b 00 eb e0 e8 f5 8d 70 ff 89 ee 48 c7 c7 00 02 26 82 e8 d4 4a 70 ff 65 ff 0d f7 39 66 7e fb f4 <65> 44 8b 25 ed de 65 7e 8b 05 7f a3 98 00 85 c0 0f 8e 82 00 00 00
[ 18.001088] RSP: 0000:ffffffff82203ea8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
[ 18.001088] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001
[ 18.001088] RDX: 0000000000000066 RSI: ffff88823fc1c280 RDI: 0000000000000000
[ 18.001088] RBP: 0000000000000000 R08: 0000000080000863 R09: 0000000000000006
[ 18.001088] R10: fffffffffffffff0 R11: 0000000000025900 R12: 0000000000000000
[ 18.001088] R13: ffffffff8270d2e0 R14: 0000000000000000 R15: 0000000000000000
[ 18.001088] do_idle+0xdd/0x1ea
[ 18.001088] cpu_startup_entry+0x1d/0x1f
[ 18.001088] start_kernel+0x48b/0x4ab
[ 18.001088] secondary_startup_64+0xa4/0xb0
[ 18.001088] Modules linked in:
[ 18.001488] ---[ end trace 71ecba4b74b83907 ]---
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
lkp
View attachment "config-4.20.0-rc3-00001-gfb42046" of type "text/plain" (107852 bytes)
View attachment "job-script" of type "text/plain" (4444 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (7532 bytes)
Powered by blists - more mailing lists