[<prev] [next>] [day] [month] [year] [list]
Date: Wed, 10 Oct 2018 08:50:02 +0800
From: kernel test robot <rong.a.chen@...el.com>
To: Pingfan Liu <kernelfans@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>,
linux-kernel@...r.kernel.org, LKP <lkp@...org>
Subject: [LKP] fde06e0775 [ 9.203072] kernel BUG at lib/list_debug.c:31!
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit fde06e07750477f049f12d7d471ffa505338a3e7
Author: Pingfan Liu <kernelfans@...il.com>
AuthorDate: Thu Oct 4 07:43:01 2018 +1000
Commit: Stephen Rothwell <sfr@...b.auug.org.au>
CommitDate: Sat Oct 6 12:17:09 2018 +1000
mm/slub: remove useless condition in deactivate_slab
The var l should be used to reflect the original list, on which the page
should be. But c->page is not on any list. Furthermore, the current code
does not update the value of l. Hence remove the related logic
Link: http://lkml.kernel.org/r/1537941430-16217-1-git-send-email-kernelfans@gmail.com
Signed-off-by: Pingfan Liu <kernelfans@...il.com>
Acked-by: Christoph Lameter <cl@...ux.com>
Cc: Pekka Enberg <penberg@...nel.org>
Cc: David Rientjes <rientjes@...gle.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@....com>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
8a497b6945 mm/slub.c: switch to bitmap_zalloc()
fde06e0775 mm/slub: remove useless condition in deactivate_slab
570b7bdeaf Add linux-next specific files for 20181009
+------------------------------------------+------------+------------+---------------+
| | 8a497b6945 | fde06e0775 | next-20181009 |
+------------------------------------------+------------+------------+---------------+
| boot_successes | 104 | 31 | 290 |
| boot_failures | 0 | 4 | 67 |
| kernel_BUG_at_lib/list_debug.c | 0 | 4 | 64 |
| invalid_opcode:#[##] | 0 | 4 | 64 |
| RIP:__list_add_valid | 0 | 4 | 64 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 4 | 67 |
| BUG:unable_to_handle_kernel | 0 | 0 | 3 |
| Oops:#[##] | 0 | 0 | 3 |
| RIP:known_siginfo_layout | 0 | 0 | 3 |
+------------------------------------------+------------+------------+---------------+
[ 9.022206] NILFS version 2 loaded
[ 9.023347] befs: version: 0.9.3
[ 9.024958] pstore: using lz4 compression
[ 9.199222] list_add double add: new=ffffea00007ea088, prev=ffff88000fc01a50, next=ffffea00007ea088.
[ 9.201763] ------------[ cut here ]------------
[ 9.203072] kernel BUG at lib/list_debug.c:31!
[ 9.203154] invalid opcode: 0000 [#1] PREEMPT SMP PTI
[ 9.203154] CPU: 0 PID: 96 Comm: kthreadd Not tainted 4.19.0-rc6-00291-gfde06e0 #1
[ 9.203154] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 9.203154] RIP: 0010:__list_add_valid+0x63/0x70
[ 9.203154] Code: 0b 48 89 d1 48 c7 c7 50 aa 62 a4 48 89 f2 48 89 c6 e8 83 12 a9 ff 0f 0b 48 89 fe 48 89 c1 48 c7 c7 a8 aa 62 a4 e8 6f 12 a9 ff <0f> 0b 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 8b 07 48 ba 00 01 00
[ 9.203154] RSP: 0000:ffff88001faa7cb0 EFLAGS: 00010082
[ 9.203154] RAX: 0000000000000058 RBX: 0000000080120008 RCX: 0000000000000000
[ 9.203154] RDX: 0000000000000000 RSI: 0000000000000046 RDI: 0000000000000001
[ 9.203154] RBP: ffff88001faa7cb0 R08: 0000000080000002 R09: 00000000000001a5
[ 9.203154] R10: ffff88001faa7db0 R11: 072007200720075b R12: ffff88000fc027c0
[ 9.203154] R13: ffffea00007ea080 R14: ffff88001fa83b08 R15: ffff88001fa82d88
[ 9.203154] FS: 0000000000000000(0000) GS:ffff88001dc00000(0000) knlGS:0000000000000000
[ 9.203154] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 9.203154] CR2: 0000000000000000 CR3: 000000000a00a000 CR4: 00000000000006b0
[ 9.203154] Call Trace:
[ 9.203154] deactivate_slab+0x327/0x690
[ 9.235616] ? debug_smp_processor_id+0x17/0x20
[ 9.235616] ? set_track+0xd9/0x130
[ 9.235616] ___slab_alloc+0x5b9/0x5e0
[ 9.235616] ? deactivate_slab+0x5/0x690
[ 9.235616] ? ___slab_alloc+0x5b9/0x5e0
[ 9.235616] ? kthread+0x46/0x140
[ 9.235616] __slab_alloc+0x61/0xa0
[ 9.235616] ? ___slab_alloc+0x5/0x5e0
[ 9.235616] ? __slab_alloc+0x61/0xa0
[ 9.235616] ? kthread+0x46/0x140
[ 9.235616] kmem_cache_alloc_trace+0x176/0x1d0
[ 9.235616] ? __kthread_create_on_node+0x1b0/0x1b0
[ 9.235616] kthread+0x46/0x140
[ 9.235616] ? cryptomgr_probe+0xd0/0xd0
[ 9.235616] ? __kthread_create_on_node+0x1b0/0x1b0
[ 9.235616] ret_from_fork+0x24/0x30
[ 9.235616] ---[ end trace 6ee70473c984de0d ]---
[ 9.235616] RIP: 0010:__list_add_valid+0x63/0x70
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 570b7bdeaf18a5d66dc76d79d7f1e36cb10b5da0 0238df646e6224016a45505d2c111a24669ebe21 --
git bisect good 073ceed8e5a6c9835a915549d248569067e11268 # 23:12 G 35 0 0 0 Merge remote-tracking branch 'opp/opp/linux-next'
git bisect good fc708c9582d94983c6c908271390c9720ca3ec4c # 23:35 G 35 0 0 1 Merge remote-tracking branch 'mailbox/mailbox-for-next'
git bisect good 8c55f3646e42de506c5832d4ac8bf116ff3cb246 # 23:49 G 35 0 0 1 Merge remote-tracking branch 'char-misc/char-misc-next'
git bisect good 616b28683e7f382c5dc8fa8ab7837fbd64ed261f # 00:04 G 35 0 1 1 Merge remote-tracking branch 'userns/for-next'
git bisect good d0bfafb783db44a054a0da8a0f1b7d1a2f6c34d0 # 00:18 G 35 0 0 0 Merge remote-tracking branch 'ntb/ntb-next'
git bisect good eb6344dd3a30f72f5c3fb0bf8bfdf97441d6c144 # 00:40 G 35 0 0 0 Merge remote-tracking branch 'xarray/xarray'
git bisect bad 4a2e5a52949d121123d6007458282f656111c83a # 00:51 B 0 8 22 0 Merge branch 'akpm-current/current'
git bisect bad 336249c5e024fb703b515923b7400cdd487ebe1a # 01:04 B 14 4 0 0 vfree: add debug might_sleep()
git bisect bad 0b3ed3d164cf4c0ed19ca569e6810ae8358df5d1 # 01:17 B 0 3 17 0 cramfs: convert to use vmf_insert_mixed
git bisect good 2f2c2066cadb689acf79cc9c2d78d68622920b46 # 01:29 G 35 0 0 1 fix-clusters-leak-in-ocfs2_defrag_extent-fix
git bisect bad 1dffa8423854bf7a8774f1e8afbdee6cd5da32bd # 01:43 B 0 4 18 0 mm: don't miss the last page because of round-off error
git bisect good 8a497b69450f8e47d767b9991ca36b5b0bf4ec16 # 01:57 G 35 0 0 0 mm/slub.c: switch to bitmap_zalloc()
git bisect bad a4a51682f4842fadb8a4c4f576a3c5dba71ace6d # 02:06 B 0 6 20 0 slub: extend slub debug to handle multiple slabs
git bisect bad c619e75cffb49438ef7701445f47393d7cd9890a # 02:18 B 0 1 16 1 mm: don't warn about large allocations for slab
git bisect bad fde06e07750477f049f12d7d471ffa505338a3e7 # 02:30 B 0 3 17 0 mm/slub: remove useless condition in deactivate_slab
# first bad commit: [fde06e07750477f049f12d7d471ffa505338a3e7] mm/slub: remove useless condition in deactivate_slab
git bisect good 8a497b69450f8e47d767b9991ca36b5b0bf4ec16 # 02:35 G 102 0 0 0 mm/slub.c: switch to bitmap_zalloc()
# extra tests with debug options
git bisect bad fde06e07750477f049f12d7d471ffa505338a3e7 # 02:53 B 1 4 0 0 mm/slub: remove useless condition in deactivate_slab
# extra tests on HEAD of linux-next/master
git bisect bad 570b7bdeaf18a5d66dc76d79d7f1e36cb10b5da0 # 02:53 B 281 64 0 3 Add linux-next specific files for 20181009
# extra tests on tree/branch linux-next/master
git bisect bad 570b7bdeaf18a5d66dc76d79d7f1e36cb10b5da0 # 02:53 B 281 64 0 3 Add linux-next specific files for 20181009
# extra tests with first bad commit reverted
git bisect good c0bd19ec25ea01aaeb8ec45e6af71e24460cb995 # 03:38 G 36 0 0 0 Revert "mm/slub: remove useless condition in deactivate_slab"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
Download attachment "dmesg-quantal-ivb41-91:20181010023021:x86_64-randconfig-u0-10092051:4.19.0-rc6-00291-gfde06e0:1.gz" of type "application/gzip" (10693 bytes)
View attachment "reproduce-quantal-ivb41-91:20181010023021:x86_64-randconfig-u0-10092051:4.19.0-rc6-00291-gfde06e0:1" of type "text/plain" (909 bytes)
View attachment "config-4.19.0-rc6-00291-gfde06e0" of type "text/plain" (126407 bytes)
Powered by blists - more mailing lists