Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux/commits/rao-shoaib-oracle-com/Move-kfree...
commit 06e196378c8692d9197c5fc23c677b037d53ef7e
Author: Rao Shoaib <rao.shoaib(a)oracle.com>
AuthorDate: Tue Jan 2 12:11:38 2018 -0800
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Fri Jan 5 14:30:25 2018 +0800
kfree_rcu() should use the new kfree_bulk() interface for freeing rcu structures
Signed-off-by: Rao Shoaib <rao.shoaib(a)oracle.com>
bb48d720e2 Move kfree_call_rcu() to slab_common.c
06e196378c kfree_rcu() should use the new kfree_bulk() interface for freeing rcu
structures
+--------------------------------------------+------------+------------+
| | bb48d720e2 | 06e196378c |
+--------------------------------------------+------------+------------+
| boot_successes | 45 | 5 |
| boot_failures | 0 | 16 |
| BUG:using_smp_processor_id()in_preemptible | 0 | 16 |
+--------------------------------------------+------------+------------+
[ 9.735070] ### dt-test ### end of unittest - 188 passed, 1 failed
[ 9.736167] debug: unmapping init [mem 0x41844000-0x41a18fff]
[ 9.738170] Write protecting the kernel text: 5300k
[ 9.738767] Write protecting the kernel read-only data: 2556k
[ 9.739365] rodata_test: all tests were successful
[ 9.753882] BUG: using smp_processor_id() in preemptible [00000000] code: init/1
[ 9.755095] caller is debug_smp_processor_id+0x12/0x20
[ 9.755881] CPU: 1 PID: 1 Comm: init Not tainted 4.15.0-rc1-00097-g06e1963 #67
[ 9.756645] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 9.757504] Call Trace:
[ 9.757837] ? dump_stack+0x58/0x79
[ 9.758340] ? check_preemption_disabled+0xcf/0xe0
[ 9.758818] ? debug_smp_processor_id+0x12/0x20
[ 9.759225] ? kfree_call_rcu+0x18/0x180
[ 9.759581] ? sock_destroy_inode+0x16/0x30
[ 9.759994] ? destroy_inode+0x2c/0x50
[ 9.760350] ? evict+0x107/0x160
[ 9.760720] ? iput+0x104/0x150
[ 9.761012] ? dentry_unlink_inode+0xd7/0x110
[ 9.761404] ? __dentry_kill+0xab/0x160
[ 9.761800] ? dput+0x260/0x270
[ 9.762147] ? __fput+0x139/0x1c0
[ 9.762451] ? ____fput+0x8/0x10
[ 9.762753] ? task_work_run+0x77/0xa0
[ 9.763113] ? exit_to_usermode_loop+0x78/0x90
[ 9.763532] ? do_int80_syscall_32+0xcf/0xf0
[ 9.763972] ? entry_INT80_32+0x2e/0x2e
[ 9.764390] BUG: using smp_processor_id() in preemptible [00000000] code: init/1
[ 9.765052] caller is debug_smp_processor_id+0x12/0x20
[ 9.765554] CPU: 1 PID: 1 Comm: init Not tainted 4.15.0-rc1-00097-g06e1963 #67
[ 9.766432] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 9.767342] Call Trace:
[ 9.767584] ? dump_stack+0x58/0x79
[ 9.767917] ? check_preemption_disabled+0xcf/0xe0
[ 9.768406] ? debug_smp_processor_id+0x12/0x20
[ 9.768823] ? kfree_call_rcu+0xe6/0x180
[ 9.769190] ? sock_destroy_inode+0x16/0x30
[ 9.769648] ? destroy_inode+0x2c/0x50
[ 9.770054] ? evict+0x107/0x160
[ 9.770358] ? iput+0x104/0x150
[ 9.770689] ? dentry_unlink_inode+0xd7/0x110
[ 9.771088] ? __dentry_kill+0xab/0x160
[ 9.771430] ? dput+0x260/0x270
[ 9.771719] ? __fput+0x139/0x1c0
[ 9.772068] ? ____fput+0x8/0x10
[ 9.772371] ? task_work_run+0x77/0xa0
[ 9.772721] ? exit_to_usermode_loop+0x78/0x90
[ 9.773155] ? do_int80_syscall_32+0xcf/0xf0
[ 9.773537] ? entry_INT80_32+0x2e/0x2e
[ 9.778260] BUG: using smp_processor_id() in preemptible [00000000] code: rc.local/115
[ 9.779179] caller is debug_smp_processor_id+0x12/0x20
[ 9.779692] CPU: 0 PID: 115 Comm: rc.local Not tainted 4.15.0-rc1-00097-g06e1963 #67
[ 9.780470] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 9.781345] Call Trace:
[ 9.781617] ? dump_stack+0x58/0x79
[ 9.782012] ? check_preemption_disabled+0xcf/0xe0
[ 9.782518] ? debug_smp_processor_id+0x12/0x20
[ 9.782993] ? kfree_call_rcu+0x18/0x180
[ 9.783397] ? sock_destroy_inode+0x16/0x30
[ 9.783819] ? destroy_inode+0x2c/0x50
[ 9.784234] ? evict+0x107/0x160
[ 9.784549] ? iput+0x104/0x150
[ 9.784905] ? dentry_unlink_inode+0xd7/0x110
[ 9.785331] ? __dentry_kill+0xab/0x160
[ 9.785745] ? dput+0x260/0x270
[ 9.786083] ? __fput+0x139/0x1c0
[ 9.786452] ? ____fput+0x8/0x10
[ 9.786806] ? task_work_run+0x77/0xa0
[ 9.787199] ? exit_to_usermode_loop+0x78/0x90
[ 9.787690] ? do_int80_syscall_32+0xcf/0xf0
[ 9.788114] ? entry_INT80_32+0x2e/0x2e
[ 9.790350] BUG: using smp_processor_id() in preemptible [00000000] code: rc.local/115
[ 9.791224] caller is debug_smp_processor_id+0x12/0x20
[ 9.791737] CPU: 0 PID: 115 Comm: rc.local Not tainted 4.15.0-rc1-00097-g06e1963 #67
[ 9.792505] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 9.793328] Call Trace:
[ 9.793590] ? dump_stack+0x58/0x79
[ 9.793993] ? check_preemption_disabled+0xcf/0xe0
[ 9.794497] ? debug_smp_processor_id+0x12/0x20
[ 9.794968] ? kfree_call_rcu+0x18/0x180
[ 9.795363] ? sock_destroy_inode+0x16/0x30
[ 9.795819] ? destroy_inode+0x2c/0x50
[ 9.796219] ? evict+0x107/0x160
[ 9.796544] ? iput+0x104/0x150
[ 9.796878] ? dentry_unlink_inode+0xd7/0x110
[ 9.797344] ? __dentry_kill+0xab/0x160
[ 9.797739] ? dput+0x260/0x270
[ 9.798069] ? __fput+0x139/0x1c0
[ 9.798404] ? ____fput+0x8/0x10
[ 9.798747] ? task_work_run+0x77/0xa0
[ 9.799152] ? exit_to_usermode_loop+0x78/0x90
[ 9.799606] ? do_int80_syscall_32+0xcf/0xf0
[ 9.800051] ? entry_INT80_32+0x2e/0x2e
[ 9.805590] BUG: using smp_processor_id() in preemptible [00000000] code: sh/117
[ 9.806825] caller is debug_smp_processor_id+0x12/0x20
[ 9.807665] CPU: 1 PID: 117 Comm: sh Not tainted 4.15.0-rc1-00097-g06e1963 #67
[ 9.808792] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 9.810042] Call Trace:
[ 9.810457] ? dump_stack+0x58/0x79
[ 9.811047] ? check_preemption_disabled+0xcf/0xe0
[ 9.811820] ? debug_smp_processor_id+0x12/0x20
[ 9.812573] ? kfree_call_rcu+0x18/0x180
[ 9.813234] ? sock_destroy_inode+0x16/0x30
[ 9.813928] ? destroy_inode+0x2c/0x50
[ 9.814549] ? evict+0x107/0x160
[ 9.815100] ? iput+0x104/0x150
[ 9.815612] ? dentry_unlink_inode+0xd7/0x110
[ 9.816337] ? __dentry_kill+0xab/0x160
[ 9.816983] ? dput+0x260/0x270
[ 9.817510] ? __fput+0x139/0x1c0
[ 9.817754] BUG: using smp_processor_id() in preemptible [00000000] code: sh/118
[ 9.817761] caller is debug_smp_processor_id+0x12/0x20
[ 9.820036] ? ____fput+0x8/0x10
[ 9.820585] ? task_work_run+0x77/0xa0
[ 9.821264] ? exit_to_usermode_loop+0x78/0x90
[ 9.822042] ? do_int80_syscall_32+0xcf/0xf0
[ 9.822773] ? entry_INT80_32+0x2e/0x2e
[ 9.823424] CPU: 0 PID: 118 Comm: sh Not tainted 4.15.0-rc1-00097-g06e1963 #67
[ 9.824243] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 9.825082] Call Trace:
[ 9.825341] ? dump_stack+0x58/0x79
[ 9.825714] ? check_preemption_disabled+0xcf/0xe0
[ 9.826210] ? debug_smp_processor_id+0x12/0x20
[ 9.826722] ? kfree_call_rcu+0x18/0x180
[ 9.827246] BUG: using smp_processor_id() in preemptible [00000000] code: sh/117
[ 9.827252] caller is debug_smp_processor_id+0x12/0x20
[ 9.829599] ? sock_destroy_inode+0x16/0x30
[ 9.830407] ? destroy_inode+0x2c/0x50
[ 9.830948] ? evict+0x107/0x160
[ 9.831316] ? iput+0x104/0x150
[ 9.831670] ? dentry_unlink_inode+0xd7/0x110
[ 9.832135] ? __dentry_kill+0xab/0x160
[ 9.832544] ? dput+0x260/0x270
[ 9.832891] ? __fput+0x139/0x1c0
[ 9.833226] ? ____fput+0x8/0x10
[ 9.833577] ? task_work_run+0x77/0xa0
[ 9.833999] ? exit_to_usermode_loop+0x78/0x90
[ 9.834528] ? do_int80_syscall_32+0xcf/0xf0
[ 9.835014] ? entry_INT80_32+0x2e/0x2e
[ 9.835458] CPU: 1 PID: 117 Comm: sh Not tainted 4.15.0-rc1-00097-g06e1963 #67
[ 9.835773] BUG: using smp_processor_id() in preemptible [00000000] code: sh/118
[ 9.835778] caller is debug_smp_processor_id+0x12/0x20
[ 9.838586] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 9.840088] Call Trace:
[ 9.840517] ? dump_stack+0x58/0x79
[ 9.841124] ? check_preemption_disabled+0xcf/0xe0
[ 9.841922] ? debug_smp_processor_id+0x12/0x20
[ 9.842700] ? kfree_call_rcu+0x18/0x180
[ 9.843365] ? sock_destroy_inode+0x16/0x30
[ 9.844089] ? destroy_inode+0x2c/0x50
[ 9.844751] ? evict+0x107/0x160
[ 9.845367] ? iput+0x104/0x150
[ 9.845947] ? dentry_unlink_inode+0xd7/0x110
[ 9.846716] ? __dentry_kill+0xab/0x160
[ 9.847322] ? dput+0x260/0x270
[ 9.847648] ? __fput+0x139/0x1c0
[ 9.847957] ? ____fput+0x8/0x10
[ 9.848249] ? task_work_run+0x77/0xa0
[ 9.848589] ? exit_to_usermode_loop+0x78/0x90
[ 9.848990] ? do_int80_syscall_32+0xcf/0xf0
[ 9.849373] ? entry_INT80_32+0x2e/0x2e
[ 9.849810] CPU: 0 PID: 118 Comm: sh Not tainted 4.15.0-rc1-00097-g06e1963 #67
[ 9.850718] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 9.851629] Call Trace:
[ 9.851927] ? dump_stack+0x58/0x79
[ 9.852305] ? check_preemption_disabled+0xcf/0xe0
[ 9.852872] ? debug_smp_processor_id+0x12/0x20
[ 9.853368] ? kfree_call_rcu+0x18/0x180
[ 9.853817] ? sock_destroy_inode+0x16/0x30
[ 9.854294] ? destroy_inode+0x2c/0x50
[ 9.854701] ? evict+0x107/0x160
[ 9.855050] ? iput+0x104/0x150
[ 9.855366] ? dentry_unlink_inode+0xd7/0x110
[ 9.855817] ? __dentry_kill+0xab/0x160
[ 9.856220] ? dput+0x260/0x270
[ 9.856535] ? __fput+0x139/0x1c0
[ 9.856884] ? ____fput+0x8/0x10
[ 9.857219] ? task_work_run+0x77/0xa0
[ 9.857624] ? exit_to_usermode_loop+0x78/0x90
[ 9.858074] ? do_int80_syscall_32+0xcf/0xf0
[ 9.858513] ? entry_INT80_32+0x2e/0x2e
[ 9.859103] BUG: using smp_processor_id() in preemptible [00000000] code:
99-trinity/120
[ 9.860447] caller is debug_smp_processor_id+0x12/0x20
[ 9.861248] CPU: 1 PID: 120 Comm: 99-trinity Not tainted 4.15.0-rc1-00097-g06e1963 #67
[ 9.862390] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 9.863618] Call Trace:
[ 9.864004] ? dump_stack+0x58/0x79
[ 9.864501] ? check_preemption_disabled+0xcf/0xe0
[ 9.865175] ? debug_smp_processor_id+0x12/0x20
[ 9.865803] ? kfree_call_rcu+0x18/0x180
[ 9.866453] ? sock_destroy_inode+0x16/0x30
[ 9.867175] ? destroy_inode+0x2c/0x50
[ 9.867802] ? evict+0x107/0x160
[ 9.868339] ? iput+0x104/0x150
[ 9.868875] ? dentry_unlink_inode+0xd7/0x110
[ 9.869588] ? __dentry_kill+0xab/0x160
[ 9.870232] ? dput+0x260/0x270
[ 9.870778] ? __fput+0x139/0x1c0
[ 9.871354] ? ____fput+0x8/0x10
[ 9.871897] ? task_work_run+0x77/0xa0
[ 9.872525] ? exit_to_usermode_loop+0x78/0x90
# HH:MM RESULT GOOD BAD
GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 06e196378c8692d9197c5fc23c677b037d53ef7e
2781e186b35ef340f543672d1557d9f265fa6811 --
git bisect good bb48d720e20ee1cf723d75fa62a0c32e96064917 # 16:05 G 11 0 0 0
Move kfree_call_rcu() to slab_common.c
# first bad commit: [06e196378c8692d9197c5fc23c677b037d53ef7e] kfree_rcu() should use the
new kfree_bulk() interface for freeing rcu structures
git bisect good bb48d720e20ee1cf723d75fa62a0c32e96064917 # 16:09 G 31 0 0 1
Move kfree_call_rcu() to slab_common.c
# extra tests on HEAD of
linux-review/rao-shoaib-oracle-com/Move-kfree_call_rcu-to-slab_common-c/20180105-143022
git bisect bad 06e196378c8692d9197c5fc23c677b037d53ef7e # 16:09 B 0 16 33 0
kfree_rcu() should use the new kfree_bulk() interface for freeing rcu structures
# extra tests on tree/branch
linux-review/rao-shoaib-oracle-com/Move-kfree_call_rcu-to-slab_common-c/20180105-143022
git bisect bad 06e196378c8692d9197c5fc23c677b037d53ef7e # 16:09 B 0 16 33 0
kfree_rcu() should use the new kfree_bulk() interface for freeing rcu structures
# extra tests with first bad commit reverted
git bisect good 969a076c1bc372cfe03949dd03f99976c1192391 # 16:20 G 11 0 0 0
Revert "kfree_rcu() should use the new kfree_bulk() interface for freeing rcu
structures"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation