Re: [LKP] [rcu] kernel BUG at include/linux/pagemap.h:149!
by Frederic Weisbecker
On Fri, Sep 11, 2015 at 10:19:47AM +0800, Boqun Feng wrote:
> Subject: [PATCH 01/27] rcu: Don't disable preemption for Tiny and Tree RCU
> readers
>
> Because preempt_disable() maps to barrier() for non-debug builds,
> it forces the compiler to spill and reload registers. Because Tree
> RCU and Tiny RCU now only appear in CONFIG_PREEMPT=n builds, these
> barrier() instances generate needless extra code for each instance of
> rcu_read_lock() and rcu_read_unlock(). This extra code slows down Tree
> RCU and bloats Tiny RCU.
>
> This commit therefore removes the preempt_disable() and preempt_enable()
> from the non-preemptible implementations of __rcu_read_lock() and
> __rcu_read_unlock(), respectively.
>
> For debug purposes, preempt_disable() and preempt_enable() are still
> kept if CONFIG_PREEMPT_COUNT=y, which makes the detection of sleeping
> inside atomic sections still work in non-preemptible kernels.
>
> Signed-off-by: Boqun Feng <boqun.feng(a)gmail.com>
> Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com>
> ---
> include/linux/rcupdate.h | 6 ++++--
> include/linux/rcutiny.h | 1 +
> kernel/rcu/tree.c | 9 +++++++++
> 3 files changed, 14 insertions(+), 2 deletions(-)
>
> diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
> index d63bb77..6c3cece 100644
> --- a/include/linux/rcupdate.h
> +++ b/include/linux/rcupdate.h
> @@ -297,12 +297,14 @@ void synchronize_rcu(void);
>
> static inline void __rcu_read_lock(void)
> {
> - preempt_disable();
> + if (IS_ENABLED(CONFIG_PREEMPT_COUNT))
> + preempt_disable();
preempt_disable() is a no-op when !CONFIG_PREEMPT_COUNT, right?
Or rather it's a barrier(), which is anyway implied by rcu_read_lock().
So perhaps we can get rid of the IS_ENABLED() check?
3 years, 1 month
[lkp-robot] [sched/cfs] 625ed2bf04: unixbench.score -7.4% regression
by kernel test robot
Greeting,
FYI, we noticed a -7.4% regression of unixbench.score due to commit:
commit: 625ed2bf049d5a352c1bcca962d6e133454eaaff ("sched/cfs: Make util/load_avg more stable")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: unixbench
on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 64G memory
with following parameters:
runtime: 300s
nr_task: 100%
test: spawn
cpufreq_governor: performance
test-description: UnixBench is the original BYTE UNIX benchmark suite aims to test performance of Unix-like system.
test-url: https://github.com/kdlucas/byte-unixbench
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
testcase/path_params/tbox_group/run: unixbench/300s-100%-spawn-performance/lkp-bdw-ep3b
8663effb24f94303 625ed2bf049d5a352c1bcca962
---------------- --------------------------
%stddev change %stddev
\ | \
8888 -7% 8234 unixbench.score
11626 31% 15267 unixbench.time.system_time
5084 23% 6259 unixbench.time.percent_of_cpu_this_job_got
5203 5% 5455 unixbench.time.user_time
66039778 -7% 61588314 unixbench.time.voluntary_context_switches
7.932e+08 -7% 7.34e+08 unixbench.time.minor_page_faults
24502668 -52% 11794316 unixbench.time.involuntary_context_switches
628084 -17% 518637 interrupts.CAL:Function_call_interrupts
6000 ± 57% 1e+04 19033 ± 58% latency_stats.sum.call_rwsem_down_read_failed.__percpu_down_read.exit_signals.do_exit.do_group_exit.SyS_exit_group.entry_SYSCALL_64_fastpath
715117 ± 58% -4e+05 300172 ± 12% latency_stats.sum.io_schedule.__lock_page_or_retry.filemap_fault.__do_fault.__handle_mm_fault.handle_mm_fault.__do_page_fault.do_page_fault.page_fault
94622 96223 vmstat.system.in
500325 -16% 420024 vmstat.system.cs
1692 21% 2045 turbostat.Avg_MHz
60.71 21% 73.38 turbostat.%Busy
208 212 turbostat.PkgWatt
54.56 -8% 50.47 turbostat.RAMWatt
4.911e+13 21% 5.944e+13 perf-stat.cpu-cycles
6010 19% 7153 perf-stat.instructions-per-iTLB-miss
3.508e+12 14% 3.988e+12 perf-stat.branch-instructions
1.627e+13 10% 1.797e+13 perf-stat.instructions
4.504e+12 8% 4.886e+12 perf-stat.dTLB-loads
58.34 59.21 perf-stat.node-store-miss-rate%
42.85 42.00 perf-stat.iTLB-load-miss-rate%
3.609e+09 -4% 3.469e+09 perf-stat.iTLB-loads
2.125e+10 -5% 2.016e+10 perf-stat.branch-misses
2.707e+09 -7% 2.512e+09 perf-stat.iTLB-load-misses
7.939e+08 -7% 7.348e+08 perf-stat.page-faults
7.939e+08 -7% 7.348e+08 perf-stat.minor-faults
0.33 -9% 0.30 perf-stat.ipc
9.788e+09 -9% 8.927e+09 ± 3% perf-stat.dTLB-load-misses
14.74 -9% 13.43 perf-stat.cache-miss-rate%
3.426e+11 -9% 3.117e+11 perf-stat.cache-references
1.26e+09 -9% 1.141e+09 perf-stat.dTLB-store-misses
1.579e+12 -10% 1.421e+12 perf-stat.dTLB-stores
1.773e+10 -14% 1.523e+10 perf-stat.node-load-misses
5.685e+09 -15% 4.805e+09 perf-stat.node-store-misses
0.22 -16% 0.18 ± 3% perf-stat.dTLB-load-miss-rate%
1.666e+08 -16% 1.4e+08 perf-stat.context-switches
0.61 -17% 0.51 perf-stat.branch-miss-rate%
5.051e+10 -17% 4.187e+10 perf-stat.cache-misses
32471209 -18% 26608318 perf-stat.cpu-migrations
4.059e+09 -18% 3.311e+09 perf-stat.node-stores
8.13e+08 -24% 6.207e+08 perf-stat.node-loads
unixbench.time.involuntary_context_switches
2.6e+07 ++----------------------------------------------------------------+
*.*.*.. .*.*.*. .*.*.*. .*..*.*.*. .*..*.*.*.* |
2.4e+07 ++ * *..*.*. .*.*. * * |
2.2e+07 ++ * |
| |
2e+07 ++ |
O O O O |
1.8e+07 ++O |
| |
1.6e+07 ++ |
1.4e+07 ++ |
| |
1.2e+07 ++ O O O O O O O O O O O O |
| O O O O O O O O O O O O O O
1e+07 ++----------------------------------------------------------------+
perf-stat.cpu-cycles
6e+13 ++----------------------------------------------------------------+
| O O O O O O O O O O O O O O O O O O O O O O O O O O
5.8e+13 ++ |
| |
| |
5.6e+13 O+O O O |
| O |
5.4e+13 ++ |
| |
5.2e+13 ++ |
| |
| |
5e+13 ++ .*. .*.*.*..*.*.*.*. .*. .*. .*. |
*.*.*. * *..*.*.* *..*.*.* *..*.* * |
4.8e+13 ++----------------------------------------------------------------+
perf-stat.node-load-misses
1.8e+10 ++---------------------------------------------------------------+
*.*.*..*.*.*.* .*.*..*.*.*.*.*.*..*.*.*.*.*.* |
1.75e+10 ++ : * |
1.7e+10 ++ : .*. + |
| *.*. *.* |
1.65e+10 ++ |
| |
1.6e+10 ++ |
| |
1.55e+10 O+ O O O O O O O
1.5e+10 ++ O O O O O O O O |
| |
1.45e+10 ++O O O O O O O O O O O O O |
| O |
1.4e+10 ++---------------O-----------------------------------------------+
perf-stat.context-switches
1.7e+08 ++---------------------------------------------------------------+
*.*.*.. .*.*.* .*.*..*. .*.*.*.*.. .*.*.*.*.* |
1.65e+08 ++ * + * * * |
1.6e+08 ++ *. .*. + |
| *. *.* |
1.55e+08 ++ |
| |
1.5e+08 ++ |
| |
1.45e+08 O+O O O O |
1.4e+08 ++ O O O O O O O O |
| O O O O O O
1.35e+08 ++ O O O O O O O O O O |
| O O |
1.3e+08 ++---------------------------------------------------------------+
perf-stat.cpu-migrations
3.3e+07 ++-----------------------------------------------------*-*--------+
| .*..*. .*. * .*.*. .*.*. + |
3.2e+07 *+* * *. + + .*..*.* *..*.* *..*.* |
3.1e+07 ++ *..*.* * |
| |
3e+07 ++ |
| |
2.9e+07 ++ |
| |
2.8e+07 ++ |
2.7e+07 ++ |
O O O O O O O O O O O O O
2.6e+07 ++ O O O O O O |
| O O O O O O O O O O O O |
2.5e+07 ++----------------------------------------------------------------+
perf-stat.branch-miss-rate_
0.62 ++-------------------------------------------------------------------+
*. .*. .*..*.*. *..*.*. .*. .*.*.. .*. .*.*.*.. .* |
0.6 ++*. * *.*.. + *. * * *. * |
| *.* |
0.58 ++ |
| |
0.56 ++ |
| |
0.54 ++ |
| |
0.52 ++ O O |
O O O O O O |
0.5 ++ O O O O O O O O
| O O O O O O O O O O |
0.48 ++O--O---O------O------O---------------------------------------------+
perf-stat.ipc
0.335 ++------------------------------------------------------------------+
*.*..*.*.*.*..* .*..*.*.*..*.*.*.*..*.*.*.*..*.* |
0.33 ++ : *.. * |
0.325 ++ : + + |
| *.* *.* |
0.32 ++ |
| |
0.315 ++ |
| |
0.31 ++ |
0.305 ++ |
O O O O O O O O O O O O O O
0.3 ++ O O O O O |
| O O O O O O O O O O O O |
0.295 ++------------------------------------------------------------------+
perf-stat.instructions-per-iTLB-miss
7400 ++-------------------------------------------------------------------+
| O O O O O |
7200 ++O O O O O O O O O O O O O O O
7000 O+ O O O O O O O O O O |
| |
6800 ++ |
| |
6600 ++ |
| |
6400 ++ |
6200 ++ *. .*. |
*. + *..* *..*.*. .*.. |
6000 ++*..*. .*..*.* *..*. .* *.*. .*. .*..*.* |
| * * *. * |
5800 ++-------------------------------------------------------------------+
[*] bisect-good sample
[O] bisect-bad sample
Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.
Thanks,
Xiaolong
4 years, 10 months
[lkp-robot] [mdio_bus] 95b80bf3db: WARNING:at_include/linux/gpio/consumer.h:#mdiobus_unregister
by kernel test robot
FYI, we noticed the following commit:
commit: 95b80bf3db03c2bf572a357cf74b9a6aefef0a4a ("mdio_bus: Remove unneeded gpiod NULL check")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------------------------------+------------+------------+
| | 24251c2647 | 95b80bf3db |
+------------------------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 8 | 10 |
| invoked_oom-killer:gfp_mask=0x | 8 | 10 |
| Mem-Info | 8 | 10 |
| Out_of_memory:Kill_process | 8 | 8 |
| WARNING:at_include/linux/gpio/consumer.h:#mdiobus_unregister | 0 | 8 |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 0 | 2 |
+------------------------------------------------------------------+------------+------------+
[ 317.289160] WARNING: CPU: 0 PID: 21 at include/linux/gpio/consumer.h:348 mdiobus_unregister+0x244/0x280
[ 317.305743] CPU: 0 PID: 21 Comm: kworker/0:1 Not tainted 4.12.0-11054-g95b80bf #1
[ 317.308080] Workqueue: events deferred_probe_work_func
[ 317.309665] task: ffff880017c98580 task.stack: ffff880017ca0000
[ 317.311429] RIP: 0010:mdiobus_unregister+0x244/0x280
[ 317.312936] RSP: 0000:ffff880017ca7908 EFLAGS: 00010202
[ 317.314565] RAX: dffffc0000000000 RBX: ffffffff879e9df8 RCX: 0000000000000001
[ 317.316707] RDX: 1ffffffff0e92932 RSI: 0000000000000001 RDI: ffffffff87494990
[ 317.331758] RBP: ffff880017ca7940 R08: 0000000000000000 R09: 0000000000000001
[ 317.333903] R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000
[ 317.336043] R13: 0000000000000001 R14: ffff88000f2694b0 R15: 0000000000000000
[ 317.338147] FS: 0000000000000000(0000) GS:ffff880018400000(0000) knlGS:0000000000000000
[ 317.340546] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 317.342311] CR2: 0000000000000000 CR3: 0000000006828000 CR4: 00000000000006b0
[ 317.344458] Call Trace:
[ 317.358732] dsa_dst_unapply+0x9aa/0xa30
[ 317.359921] ? mdio_device_free+0x10/0x10
[ 317.361117] dsa_unregister_switch+0x48/0x150
[ 317.362551] dsa_loop_drv_remove+0x60/0xc0
[ 317.363861] ? dsa_loop_port_vlan_filtering+0x10/0x10
[ 317.365446] mdio_remove+0xe6/0xf0
[ 317.366664] driver_probe_device+0xb24/0x1590
[ 317.368055] __device_attach_driver+0x55b/0x5e0
[ 317.369452] ? __driver_attach+0x550/0x550
[ 317.370719] bus_for_each_drv+0x18c/0x2b0
[ 317.384682] ? subsys_find_device_by_id+0x600/0x600
[ 317.386189] __device_attach+0x2fd/0x610
[ 317.387363] ? device_bind_driver+0x1a0/0x1a0
[ 317.388700] ? wait_for_completion_killable_timeout+0x800/0x800
[ 317.390463] device_initial_probe+0xe/0x10
[ 317.391725] bus_probe_device+0x1b8/0x3b0
[ 317.392954] deferred_probe_work_func+0x1f9/0x230
[ 317.394391] process_one_work+0x1250/0x2120
[ 317.395710] ? pwq_dec_nr_in_flight+0x5f0/0x5f0
[ 317.397106] ? __list_del_entry_valid+0x2fe/0x3d0
[ 317.398870] worker_thread+0xe26/0x1500
[ 317.400079] ? do_raw_spin_unlock+0x2f7/0x420
[ 317.401414] kthread+0x4fe/0x510
[ 317.402685] ? process_one_work+0x2120/0x2120
[ 317.404084] ? __kthread_bind_mask+0x160/0x160
[ 317.405489] ret_from_fork+0x2a/0x40
[ 317.419707] Code: 08 4c 3b 75 d0 0f 85 13 ff ff ff b9 01 00 00 00 31 d2 be 01 00 00 00 48 c7 c7 78 49 49 87 e8 44 2b a9 fd 48 83 05 ac 34 ef 03 01 <0f> ff b9 01 00 00 00 31 d2 be 01 00 00 00 48 c7 c7 48 49 49 87
[ 317.425841] ---[ end trace a8c7919368a78a6e ]---
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
4 years, 11 months
5478980806 ("mm: uninline some functions to see profile change"): kernel BUG at mm/page_alloc.c:899!
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
aaron/buddy_profile
commit 5478980806c442fb0afe65de4beb692ee4223313
Author: Aaron Lu <aaron.lu(a)intel.com>
AuthorDate: Fri Jul 28 16:29:37 2017 +0800
Commit: Aaron Lu <aaron.lu(a)intel.com>
CommitDate: Mon Jul 31 16:24:01 2017 +0800
mm: uninline some functions to see profile change
5503ff1375 list: rename to get uninlined version
5478980806 mm: uninline some functions to see profile change
5478980806 mm: uninline some functions to see profile change
+------------------------------------------+------------+------------+------------+
| | 5503ff1375 | 5478980806 | 5478980806 |
+------------------------------------------+------------+------------+------------+
| boot_successes | 35 | 0 | 0 |
| boot_failures | 0 | 15 | 15 |
| kernel_BUG_at_mm/page_alloc.c | 0 | 15 | 15 |
| invalid_opcode:#[##] | 0 | 15 | 15 |
| EIP:__free_one_page | 0 | 15 | 15 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 15 | 15 |
+------------------------------------------+------------+------------+------------+
[ 4.283326] rc (120) used greatest stack depth: 6852 bytes left
Starting udev
[ 4.289209] awk (124) used greatest stack depth: 6828 bytes left
[ 4.444046] page:9245d07c count:0 mapcount:0 mapping: (null) index:0x0
[ 4.445101] flags: 0x0()
[ 4.445396] raw: 00000000 00000000 00000000 ffffffff 00000000 00000100 00000200 00000000
[ 4.446256] raw: 00000000
[ 4.446518] page dumped because: VM_BUG_ON_PAGE(pfn & ((1 << order) - 1))
[ 4.447259] ------------[ cut here ]------------
[ 4.447742] kernel BUG at mm/page_alloc.c:899!
[ 4.448559] invalid opcode: 0000 [#1]
[ 4.449227] Modules linked in:
[ 4.449602] CPU: 0 PID: 7 Comm: ksoftirqd/0 Not tainted 4.12.0-00003-g54789808 #2
[ 4.450426] task: 800781c0 task.stack: 8007a000
[ 4.450865] EIP: __free_one_page+0x80/0x140
[ 4.451317] EFLAGS: 00010046 CPU: 0
[ 4.451710] EAX: 00000000 EBX: 9245d07c ECX: 00000002 EDX: 00000058
[ 4.452383] ESI: 81bf7240 EDI: 81bf7240 EBP: 8007bea4 ESP: 8007be90
[ 4.453120] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[ 4.453670] CR0: 80050033 CR2: 47e93c50 CR3: 10438000 CR4: 00000690
[ 4.454337] Call Trace:
[ 4.454636] free_one_page+0x73/0x85
[ 4.455031] __free_pages_ok+0x2a6/0x2d5
[ 4.455484] __free_pages+0x2d/0x2f
[ 4.455862] free_thread_stack+0x21/0x23
[ 4.456428] put_task_stack+0x38/0x42
[ 4.456823] finish_task_switch+0x13b/0x15a
[ 4.457294] __schedule+0x450/0x622
[ 4.457633] schedule+0x20/0x2f
[ 4.458090] smpboot_thread_fn+0x12c/0x160
[ 4.458588] kthread+0xe2/0xe4
[ 4.458944] ? sort_range+0x1d/0x1d
[ 4.459486] ? init_completion+0x1e/0x1e
[ 4.459865] ret_from_fork+0x19/0x24
[ 4.460267] Code: 83 7d 0c 04 75 0c 01 86 00 03 00 00 01 05 d4 b8 46 82 b8 01 00 00 00 d3 e0 48 85 45 ec 74 0e ba 3b 56 90 81 89 d8 e8 ea 6d 01 00 <0f> 0b 89 da 89 f0 e8 57 fd ff ff 85 c0 74 0e ba 64 56 90 81 89
[ 4.462327] EIP: __free_one_page+0x80/0x140 SS:ESP: 0068:8007be90
[ 4.462973] ---[ end trace 4d47cf07ab941f6a ]---
[ 4.463486] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start f21140e7847463f657e494aa5c1105aafcdfd223 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 --
git bisect bad 14997ea29e7f71bae2e435bb9e01335b26ff5856 # 05:36 B 0 3 16 0 Merge 'tj-libata/for-next' into devel-catchup-201708010330
git bisect good 96c0573525a951503368262c11cbc91eb39cf731 # 05:53 G 11 0 0 0 Merge 'peterz-queue/x86/asm' into devel-catchup-201708010330
git bisect good 79eebe77ec63a063753e26d2e450eb2df45b67b6 # 06:18 G 11 0 0 0 Merge 'cryptodev/master' into devel-catchup-201708010330
git bisect bad ce8ed316ad86c58b786648165fe2e5f1d928b46c # 06:32 B 0 11 24 0 Merge 'aaron/buddy_profile' into devel-catchup-201708010330
git bisect good 5503ff1375f87f4a516b5665bff5bea2e1fc6bd6 # 06:48 G 11 0 0 0 list: rename to get uninlined version
git bisect bad 5478980806c442fb0afe65de4beb692ee4223313 # 06:58 B 0 1 14 0 mm: uninline some functions to see profile change
# first bad commit: [5478980806c442fb0afe65de4beb692ee4223313] mm: uninline some functions to see profile change
git bisect good 5503ff1375f87f4a516b5665bff5bea2e1fc6bd6 # 07:08 G 31 0 0 0 list: rename to get uninlined version
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 5478980806c442fb0afe65de4beb692ee4223313 # 07:27 B 0 11 24 0 mm: uninline some functions to see profile change
# extra tests on HEAD of linux-devel/devel-catchup-201708010330
git bisect bad f21140e7847463f657e494aa5c1105aafcdfd223 # 07:27 B 0 26 45 2 0day head guard for 'devel-catchup-201708010330'
# extra tests on tree/branch aaron/buddy_profile
git bisect bad 5478980806c442fb0afe65de4beb692ee4223313 # 07:29 B 0 15 28 0 mm: uninline some functions to see profile change
# extra tests with first bad commit reverted
git bisect good fc815c4cfeec52f49a56d96d4538c4cd7e64ba79 # 07:39 G 10 0 0 0 Revert "mm: uninline some functions to see profile change"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 11 months
[net ipv6] ee57005022: WARNING:at_kernel/softirq.c:#__local_bh_enable_ip
by kernel test robot
FYI, we noticed the following commit:
commit: ee57005022f52f0c3788ec69196deaecd0ebf9e5 ("net ipv6: convert fib6_table rwlock to a percpu lock")
url: https://github.com/0day-ci/linux/commits/Shaohua-Li/net-ipv6-convert-fib6...
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -m 420M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------------------+------------+------------+
| | fb5e7606b1 | ee57005022 |
+----------------------------------------------------------------+------------+------------+
| boot_successes | 12 | 6 |
| boot_failures | 0 | 32 |
| WARNING:at_kernel/softirq.c:#__local_bh_enable_ip | 0 | 32 |
| BUG:sleeping_function_called_from_invalid_context_at_mm/slab.h | 0 | 10 |
| WARNING:at_fs/read_write.c:#vfs_read | 0 | 10 |
| BUG:scheduling_while_atomic | 0 | 23 |
| Kernel_panic-not_syncing:Aiee,killing_interrupt_handler | 0 | 9 |
+----------------------------------------------------------------+------------+------------+
[ 7.312970] WARNING: CPU: 0 PID: 374 at kernel/softirq.c:161 __local_bh_enable_ip+0x46/0x60
[ 7.315122] Modules linked in:
[ 7.316021] CPU: 0 PID: 374 Comm: sysctl Not tainted 4.13.0-rc1-00472-gee570050 #19
[ 7.317879] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 7.320049] task: ffff880002768000 task.stack: ffffc90000330000
[ 7.321309] RIP: 0010:__local_bh_enable_ip+0x46/0x60
[ 7.322431] RSP: 0000:ffffc90000333d00 EFLAGS: 00010206
[ 7.323611] RAX: 000000007ffffdff RBX: ffff880019d7b600 RCX: ffff880019d7b680
[ 7.324978] RDX: 0000000000000002 RSI: 0000000000000201 RDI: ffffffff819413d2
[ 7.326383] RBP: ffffc90000333d00 R08: 0000000000000000 R09: ffffffff81858eb9
[ 7.327813] R10: ffffea0000676e00 R11: 0000000000000000 R12: ffff880019c5e500
[ 7.329234] R13: 00000000000007f0 R14: ffffffff82009600 R15: ffff88000ab37d00
[ 7.330643] FS: 0000000000000000(0000) GS:ffff88000be00000(0063) knlGS:00000000f7f95690
[ 7.332571] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
[ 7.333835] CR2: 00000000f7f63474 CR3: 0000000019e07000 CR4: 00000000000006f0
[ 7.335229] Call Trace:
[ 7.336056] _raw_spin_unlock_bh+0x1e/0x20
[ 7.337073] rt6_purge_dflt_routers+0x112/0x140
[ 7.338157] addrconf_sysctl_forward+0xfe/0x230
[ 7.339222] ? dev_forward_change+0x140/0x140
[ 7.340256] proc_sys_call_handler+0xcc/0xe0
[ 7.341291] proc_sys_write+0x14/0x20
[ 7.342271] __vfs_write+0x28/0x150
[ 7.343229] ? __might_sleep+0x4a/0x80
[ 7.344188] vfs_write+0xc7/0x1b0
[ 7.345118] SyS_write+0x46/0xa0
[ 7.346063] do_int80_syscall_32+0x65/0x140
[ 7.347127] entry_INT80_compat+0x33/0x40
[ 7.348121] RIP: 0023:0xf7f10e1e
[ 7.349056] RSP: 002b:00000000ffbf66dc EFLAGS: 00000246 ORIG_RAX: 0000000000000004
[ 7.350969] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000009fd20f5
[ 7.352345] RDX: 0000000000000001 RSI: 0000000009fd20f5 RDI: 0000000000000001
[ 7.353739] RBP: 00000000ffbf66fc R08: 0000000000000000 R09: 0000000000000000
[ 7.355112] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 7.356488] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 7.357906] Code: 44 00 00 f6 c4 02 74 23 83 ee 01 f7 de 65 01 35 01 7d f8 7e 65 8b 05 fa 7c f8 7e a9 00 ff 1f 00 74 0d 65 ff 0d ec 7c f8 7e 5d c3 <0f> ff eb d9 65 8b 05 4f 42 f9 7e 85 c0 74 e8 e8 56 ff ff ff eb
[ 7.361624] ---[ end trace 277724d96c352564 ]---
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Kernel Test Robot
4 years, 11 months
5bb786c83c ("TESTING-ONLY: enable X86_5LEVEL by default"): BUG: kernel hang in early-boot stage, last printk: early console in setup code
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git la57/boot-switching/v2
commit 5bb786c83ce0cbc7351f1e6e58071e174b3a483f
Author: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
AuthorDate: Tue Jul 18 22:19:30 2017 +0300
Commit: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
CommitDate: Tue Jul 18 22:19:30 2017 +0300
TESTING-ONLY: enable X86_5LEVEL by default
24d628d2be x86/mm: Offset boot-time paging mode switching cost
5bb786c83c TESTING-ONLY: enable X86_5LEVEL by default
3358a4cb75 Allow XEN_PV and XEN_PVH to be enabled with X86_5LEVEL
+-----------------------------------------------------------------------------+------------+------------+------------+
| | 24d628d2be | 5bb786c83c | 3358a4cb75 |
+-----------------------------------------------------------------------------+------------+------------+------------+
| boot_successes | 33 | 0 | 0 |
| boot_failures | 4 | 15 | 19 |
| BUG:using_smp_processor_id()in_preemptible | 4 | | |
| BUG:kernel_hang_in_early-boot_stage,last_printk:early_console_in_setup_code | 0 | 15 | 19 |
+-----------------------------------------------------------------------------+------------+------------+------------+
early console in setup code
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 67fd6192bc605fc8c2e222f22af880c72162be04 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 --
git bisect bad 9a2612077d206c55d4934956176e38e9d44affcd # 13:27 B 0 11 27 4 Merge 'kas/la57/boot-switching/v2' into devel-catchup-201707291052
git bisect good a0ad297e86fd98a6cbe89a6badf1353f2d1302f2 # 13:51 G 11 0 0 0 Merge 'jpirko-mlxsw/net_next_queue' into devel-catchup-201707291052
git bisect good d5e3387180f179b960565757b77c862b00c9fddb # 14:20 G 11 0 0 2 Merge 'kas/pmdp_establish/v3' into devel-catchup-201707291052
git bisect good f584ea2811edcb65ffb84a33a06283b8c986f78a # 14:50 G 10 0 0 4 x86/boot/compressed/64: Detect and handle 5-level paging at boot-time
git bisect good 2a38e10565b9d9e9ac29aa5f559dad28aa8cb3f9 # 15:18 G 11 0 0 2 x86/mm: Replace compile-time checks for 5-level with runtime-time
git bisect bad 5bb786c83ce0cbc7351f1e6e58071e174b3a483f # 15:51 B 0 11 23 0 TESTING-ONLY: enable X86_5LEVEL by default
git bisect good 24d628d2be508b7ff7168b0f28654ab479557016 # 16:20 G 10 0 0 2 x86/mm: Offset boot-time paging mode switching cost
# first bad commit: [5bb786c83ce0cbc7351f1e6e58071e174b3a483f] TESTING-ONLY: enable X86_5LEVEL by default
git bisect good 24d628d2be508b7ff7168b0f28654ab479557016 # 16:28 G 32 0 0 2 x86/mm: Offset boot-time paging mode switching cost
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 5bb786c83ce0cbc7351f1e6e58071e174b3a483f # 16:59 B 0 2 14 0 TESTING-ONLY: enable X86_5LEVEL by default
# extra tests on HEAD of linux-devel/devel-catchup-201707291052
git bisect bad 67fd6192bc605fc8c2e222f22af880c72162be04 # 17:05 B 0 29 58 4 0day head guard for 'devel-catchup-201707291052'
# extra tests on tree/branch kas/la57/boot-switching/v2
git bisect bad 3358a4cb75238dc1872bd2c8a21f80f3a70e24a4 # 17:30 B 0 11 23 0 Allow XEN_PV and XEN_PVH to be enabled with X86_5LEVEL
# extra tests with first bad commit reverted
git bisect good 65e831e317f790ea676733b2682cf4ef6a9f1aac # 18:08 G 11 0 0 0 Revert "TESTING-ONLY: enable X86_5LEVEL by default"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 11 months
[lkp-robot] [bisect done] cca5328fff [ 45.905493] BUG: unable to handle kernel paging request at c1ed113d
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux/commits/Masami-Hiramatsu/kprobes-x86-Do-...
commit cca5328fff71092ac073c929dcc659f5c24fcb57
Author: Masami Hiramatsu <mhiramat(a)kernel.org>
AuthorDate: Tue Jul 25 23:54:49 2017 +0900
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Thu Jul 27 04:20:04 2017 +0800
kprobes/x86: Do not jump-optimize kprobes on irq entry code
Since the kernel segment registers are not prepared at the
entry of irq-entry code, if a kprobe on such code is
jump-optimized, accessing per-cpu variables may cause
kernel panic.
However, if the kprobe is not optimized, it kicks int3
exception and set segment registers correctly.
This checks probe-address and if it is in irq-entry code,
it prohibits optimizing such kprobes. This means we can
continuously probing such interrupt handlers by kprobes
but it is not optimized anymore.
Signed-off-by: Masami Hiramatsu <mhiramat(a)kernel.org>
Reported-by: Francis Deslauriers <francis.deslauriers(a)efficios.com>
Tested-by: Francis Deslauriers <francis.deslauriers(a)efficios.com>
6602ec8ef2 Merge branch 'x86/syscall'
cca5328fff kprobes/x86: Do not jump-optimize kprobes on irq entry code
cca5328fff kprobes/x86: Do not jump-optimize kprobes on irq entry code
+------------------------------------------+------------+------------+------------+
| | 6602ec8ef2 | cca5328fff | cca5328fff |
+------------------------------------------+------------+------------+------------+
| boot_successes | 37 | 4 | 4 |
| boot_failures | 0 | 11 | 11 |
| BUG:unable_to_handle_kernel | 0 | 11 | 11 |
| Oops:#[##] | 0 | 11 | 11 |
| EIP:__do_softirq | 0 | 11 | 11 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 11 | 11 |
+------------------------------------------+------------+------------+------------+
[ 45.891147] Freeing unused kernel memory: 1208K
[ 45.894442] Write protecting the kernel text: 15172k
[ 45.897757] Write protecting the kernel read-only data: 6568k
[ 45.899314] NX-protecting the kernel data: 13500k
[ 45.903478] kernel tried to execute NX-protected page - exploit attempt? (uid: 0)
[ 45.905493] BUG: unable to handle kernel paging request at c1ed113d
[ 45.907011] IP: __do_softirq+0x0/0x937
[ 45.908056] *pdpt = 0000000002aa5001 *pde = 000000000e352063
[ 45.908064] *pte = 8000000001ed1161
[ 45.909446]
[ 45.911096] Oops: 0011 [#1] PREEMPT
[ 45.912104] Modules linked in:
[ 45.912990] CPU: 0 PID: 1 Comm: swapper Not tainted 4.13.0-rc1-00476-gcca5328f #1
[ 45.914919] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 45.917378] task: cf48c040 task.stack: cf48e000
[ 45.918606] EIP: __do_softirq+0x0/0x937
[ 45.919624] EFLAGS: 00210086 CPU: 0
[ 45.920594] EAX: cf48fdec EBX: cf48fdec ECX: 00000001 EDX: 00000001
[ 45.922105] ESI: cf48fe20 EDI: c1ed113d EBP: cf48fdf4 ESP: cf423ffc
[ 45.923602] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[ 45.924967] CR0: 80050033 CR2: c1ed113d CR3: 02aa8000 CR4: 001406f0
[ 45.926433] Call Trace:
[ 45.927254] <SOFTIRQ>
[ 45.928028] ? do_softirq_own_stack+0x52/0x74
[ 45.929189] </SOFTIRQ>
[ 45.929989] ? irq_exit+0xd1/0x1c8
[ 45.930952] ? common_interrupt+0x36/0x3c
[ 45.950944] ? lock_acquire+0x2b0/0x37a
[ 45.952008] ? __change_page_attr_set_clr+0x65/0x372
[ 45.953259] ? _raw_spin_lock+0x60/0x100
[ 45.954311] ? __change_page_attr_set_clr+0x65/0x372
[ 45.955585] ? __change_page_attr_set_clr+0x65/0x372
[ 45.956878] ? mutex_unlock+0x27/0x37
[ 45.957867] ? vm_unmap_aliases+0x333/0x349
[ 45.959028] ? change_page_attr_set_clr+0x2c0/0x7cd
[ 45.960231] ? set_memory_nx+0x47/0x5a
[ 45.961271] ? setup_arch+0x292/0x164e
[ 45.962309] ? set_pages_nx+0x30/0x40
[ 45.963339] ? mark_rodata_ro+0x16c/0x190
[ 45.964439] ? rest_init+0x453/0x453
[ 45.965435] ? kernel_init+0x66/0x235
[ 45.966475] ? ret_from_fork+0x19/0x24
[ 45.967465] Code: ff 13 83 05 10 15 ac c2 01 83 15 14 15 ac c2 00 83 c3 0c 83 3b 00 75 e0 83 05 18 15 ac c2 01 83 15 1c 15 ac c2 00 e9 41 fd ff ff <55> 89 e5 57 56 53 83 ec 20 a1 40 f3 6d c2 83 05 80 40 af c2 01
[ 45.972047] EIP: __do_softirq+0x0/0x937 SS:ESP: 0068:cf423ffc
[ 45.973423] CR2: 00000000c1ed113d
[ 45.974376] ---[ end trace 5676b89fab0f2fbb ]---
[ 45.975563] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 51e09adedfe4b7452dd284ab6b058a234be9649d 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 --
git bisect bad 7db2e4ee44df8b814356674309a0545e513888c3 # 06:26 B 0 11 24 0 Merge 'linux-review/Matt-Brown/powerpc-lib-sstep-Add-cmpb-instruction-emulation/20170726-040048' into devel-spot-201707280347
git bisect good 2f788d78b871ae4d64e20f0303d5e099d12a1b2d # 06:40 G 11 0 0 0 Merge 'linux-review/Jan-Glauber/Cavium-ARM64-uncore-PMU-support/20170727-053306' into devel-spot-201707280347
git bisect bad 43b5d3ce3bfb8cea1c1ef8a6f00f5108ef1e93d1 # 06:54 B 0 11 24 0 Merge 'linux-review/Tonghao-Zhang/drivers-net-Fix-ptr_ret-cocci-warnings/20170726-173642' into devel-spot-201707280347
git bisect bad f11df8a9142aaab75c9ed6dde1834a4219ce5bfe # 07:13 B 0 7 20 0 Merge 'linux-review/Jeff-Layton/ceph-make-kcephfs-use-errseq_t-for-writeback-error-reporting/20170727-031817' into devel-spot-201707280347
git bisect good d9b282859fb6b3166ef9098b0278bb3cd31547d5 # 07:26 G 11 0 0 0 Merge 'linux-review/Shaokun-Zhang/Add-HiSilicon-SoC-uncore-Performance-Monitoring-Unit-driver/20170727-042522' into devel-spot-201707280347
git bisect bad 54d6fb643519ac3f9b690acb74f4dda49d95881f # 07:37 B 0 4 17 0 Merge 'linux-review/Thierry-Escande/v4l2-Add-support-for-go2001-PCI-codec-driver/20170727-033126' into devel-spot-201707280347
git bisect bad 8c2ccb03a4a4bdbabd6bad07df11ad3a88b177b5 # 07:54 B 0 2 15 0 Merge 'linux-review/Masami-Hiramatsu/kprobes-x86-Do-not-jump-optimize-kprobes-on-irq-entry-code/20170727-041957' into devel-spot-201707280347
git bisect bad cca5328fff71092ac073c929dcc659f5c24fcb57 # 08:13 B 0 2 15 0 kprobes/x86: Do not jump-optimize kprobes on irq entry code
# first bad commit: [cca5328fff71092ac073c929dcc659f5c24fcb57] kprobes/x86: Do not jump-optimize kprobes on irq entry code
git bisect good 6602ec8ef2244e2d75d2a3b2e10f09469b9e319f # 08:34 G 33 0 0 0 Merge branch 'x86/syscall'
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad cca5328fff71092ac073c929dcc659f5c24fcb57 # 08:52 B 0 11 24 0 kprobes/x86: Do not jump-optimize kprobes on irq entry code
# extra tests on HEAD of linux-devel/devel-spot-201707280347
git bisect bad 51e09adedfe4b7452dd284ab6b058a234be9649d # 08:52 B 0 25 50 8 0day head guard for 'devel-spot-201707280347'
# extra tests on tree/branch linux-review/Masami-Hiramatsu/kprobes-x86-Do-not-jump-optimize-kprobes-on-irq-entry-code/20170727-041957
git bisect bad cca5328fff71092ac073c929dcc659f5c24fcb57 # 08:52 B 0 11 25 0 kprobes/x86: Do not jump-optimize kprobes on irq entry code
# extra tests with first bad commit reverted
git bisect good c5f19e45449e6de96a66e2ba11e393276cd0cc0e # 09:11 G 11 0 0 0 Revert "kprobes/x86: Do not jump-optimize kprobes on irq entry code"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 11 months
[lkp-robot] [bisect done] f779947864 [ 1.265078] BUG: KASAN: stack-out-of-bounds in legacy_monolithic_mount_data
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git mount-context
commit f7799478647445b3d902d0476b282a14f10c1fd3
Author: David Howells <dhowells(a)redhat.com>
AuthorDate: Mon Jul 17 08:51:45 2017 +0100
Commit: David Howells <dhowells(a)redhat.com>
CommitDate: Fri Jul 21 16:06:58 2017 +0100
VFS: Implement a filesystem superblock creation/configuration context
Implement a filesystem context concept to be used during superblock
creation for mount and superblock reconfiguration for remount.
The mounting procedure then becomes:
(1) Allocate new fs_context context.
(2) Configure the context.
(3) Create superblock.
(4) Mount the superblock any number of times.
(5) Destroy the context.
Rather than calling fs_type->mount(), an fs_context struct is created and
fs_type->init_fs_context() is called to set it up.
fs_type->fs_context_size says how much space should be allocated for the
config context. The fs_context struct is placed at the beginning and any
extra space is for the filesystem's use.
A set of operations has to be set by ->init_fs_context() to provide
freeing, duplication, option parsing, binary data parsing, validation,
mounting and superblock filling.
Legacy filesystems are supported by the provision of a set of legacy
fs_context operations that build up a list of mount options and then invoke
fs_type->mount() from within the fs_context ->get_tree() operation. This
allows all filesystems to be accessed using fs_context.
It should be noted that, whilst this patch adds a lot of lines of code,
there is quite a bit of duplication with existing code that can be
eliminated should all filesystems be converted over.
Signed-off-by: David Howells <dhowells(a)redhat.com>
09d303223d VFS: Add LSM hooks for filesystem context
f779947864 VFS: Implement a filesystem superblock creation/configuration context
+-------------------------------+------------+------------+
| | 09d303223d | f779947864 |
+-------------------------------+------------+------------+
| boot_successes | 33 | 0 |
| boot_failures | 0 | 13 |
| BUG:KASAN:stack-out-of-bounds | 0 | 13 |
+-------------------------------+------------+------------+
[ 1.162398] clocksource: Switched to clocksource kvm-clock
[ 1.171558] Warning: could not register annotated branches stats
[ 1.261727] VFS: Disk quotas dquot_6.6.0
[ 1.262549] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.263923] ==================================================================
[ 1.265078] BUG: KASAN: stack-out-of-bounds in legacy_monolithic_mount_data+0xf7/0x120
[ 1.266342] Read of size 4096 at addr ffff88001a09fd98 by task swapper/0/1
[ 1.267449]
[ 1.267726] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.0-rc1-00011-gf779947 #1
[ 1.268940] Call Trace:
[ 1.269359] dump_stack+0x86/0xc3
[ 1.269920] print_address_description+0x7d/0x2d0
[ 1.270030] ? legacy_monolithic_mount_data+0xf7/0x120
[ 1.270030] kasan_report+0x226/0x3a0
[ 1.270030] check_memory_region+0x183/0x190
[ 1.270030] memcpy+0x23/0x50
[ 1.270030] legacy_monolithic_mount_data+0xf7/0x120
[ 1.270030] ? kstrdup+0x47/0x60
[ 1.270030] vfs_kern_mount+0xc7/0x180
[ 1.270030] ? _raw_write_unlock+0x69/0x80
[ 1.270030] kern_mount_data+0x48/0x50
[ 1.270030] init_hugetlbfs_fs+0x1e9/0x3be
[ 1.270030] ? init_ramfs_fs+0x27/0x27
[ 1.270030] ? proc_create_data+0x13b/0x160
[ 1.270030] ? init_ramfs_fs+0x27/0x27
[ 1.270030] do_one_initcall+0x117/0x22d
[ 1.270030] ? start_kernel+0x5e2/0x5e2
[ 1.270030] ? preempt_count_sub+0x225/0x250
[ 1.270030] ? _raw_spin_unlock_irqrestore+0x91/0xa0
[ 1.270030] kernel_init_freeable+0x2b1/0x35a
[ 1.270030] ? rest_init+0x260/0x260
[ 1.270030] kernel_init+0x13/0x120
[ 1.270030] ? rest_init+0x260/0x260
[ 1.270030] ret_from_fork+0x2a/0x40
[ 1.270030]
[ 1.270030] The buggy address belongs to the page:
[ 1.270030] page:ffffea00006827c0 count:0 mapcount:0 mapping: (null) index:0x0
[ 1.270030] flags: 0x0()
[ 1.270030] raw: 0000000000000000 0000000000000000 0000000000000000 00000000ffffffff
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 63897d0a68483a4d1e8658e0302592b0051b61cc 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 --
git bisect bad 28f0ec69b89219b1446f5db1391575c58346b662 # 00:58 B 0 11 23 0 Merge 'asoc/fix/sh' into devel-spot-201707282357
git bisect bad 23210f2c3679dd72fb18dc55b30f7694471cdba9 # 01:10 B 0 7 19 0 Merge 'djwong-xfs/djwong-wtf' into devel-spot-201707282357
git bisect bad b27d71a5148dd96df973a61863ffedb7c9504568 # 01:19 B 0 8 20 0 Merge 'wq/for-next' into devel-spot-201707282357
git bisect bad b71ef7bb5dcab3f05ca69eb74fb9a83985c5c32e # 01:35 B 0 11 24 1 Merge 'gfs2/for-next' into devel-spot-201707282357
git bisect good 84c5650d287f764b8e98d526c93ad5a26265e2d2 # 01:46 G 11 0 0 0 0day base guard for 'devel-spot-201707282357'
git bisect bad 2f4ef6b81a73c6c65f1d8f1ee2f3dd89685ceba8 # 01:55 B 0 11 23 0 Merge 'dhowells-fs/mount-context' into devel-spot-201707282357
git bisect bad c63bd789b3d6cdbbc9bea26e4903ac0fc2885ac7 # 02:04 B 0 11 23 0 VFS: Add a sample program for fsopen/fsmount
git bisect good c9193f84c3731206304fe07bc840269ebbb3f23b # 02:17 G 11 0 0 0 VFS: Introduce the structs and doc for a filesystem context
git bisect bad 26d3efc34a54b7e5b4a2e9b8cd7c25a6159c5c12 # 02:27 B 0 11 23 0 VFS: Remove unused code after filesystem context changes
git bisect bad f7799478647445b3d902d0476b282a14f10c1fd3 # 02:39 B 0 11 23 0 VFS: Implement a filesystem superblock creation/configuration context
git bisect good 09d303223d13143545fca35b48aa47cd9fc20989 # 02:58 G 11 0 0 0 VFS: Add LSM hooks for filesystem context
# first bad commit: [f7799478647445b3d902d0476b282a14f10c1fd3] VFS: Implement a filesystem superblock creation/configuration context
git bisect good 09d303223d13143545fca35b48aa47cd9fc20989 # 03:01 G 31 0 0 0 VFS: Add LSM hooks for filesystem context
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad f7799478647445b3d902d0476b282a14f10c1fd3 # 03:11 B 0 11 23 0 VFS: Implement a filesystem superblock creation/configuration context
# extra tests on HEAD of linux-devel/devel-spot-201707282357
git bisect bad 63897d0a68483a4d1e8658e0302592b0051b61cc # 03:11 B 0 23 38 0 0day head guard for 'devel-spot-201707282357'
# extra tests on tree/branch dhowells-fs/mount-context
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 11 months
[lkp-robot] [mm/vmalloc] 44a57ac601: WARNING:at_mm/vmalloc.c:#__vunmap
by kernel test robot
FYI, we noticed the following commit:
commit: 44a57ac6014a80d89fc5b31150ae18a2725b07f6 ("mm/vmalloc: add a node corresponding to cached_hole_size")
url: https://github.com/0day-ci/linux/commits/Zhaoyang-Huang/mm-vmalloc-add-a-...
in testcase: boot
on test machine: qemu-system-i386 -enable-kvm -m 256M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------------+-----------+------------+
| | v4.13-rc2 | 44a57ac601 |
+-------------------------------------------------+-----------+------------+
| boot_successes | 67 | 0 |
| boot_failures | 71 | 8 |
| IP-Config:Auto-configuration_of_network_failed | 69 | 8 |
| BUG:kernel_reboot-without-warning_in_test_stage | 1 | |
| BUG:workqueue_lockup-pool | 1 | |
| WARNING:at_mm/vmalloc.c:#__vunmap | 0 | 8 |
| EIP:__vunmap | 0 | 8 |
+-------------------------------------------------+-----------+------------+
[ 64.469673] WARNING: CPU: 0 PID: 1 at mm/vmalloc.c:1549 __vunmap+0x156/0x170
[ 64.472621] CPU: 0 PID: 1 Comm: swapper Not tainted 4.13.0-rc2-00001-g44a57ac #1
[ 64.474437] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 64.476944] task: cf678000 task.stack: cf680000
[ 64.478515] EIP: __vunmap+0x156/0x170
[ 64.479797] EFLAGS: 00210286 CPU: 0
[ 64.480885] EAX: 00000030 EBX: d0943000 ECX: 00000000 EDX: 00000001
[ 64.482731] ESI: 00000001 EDI: 00000000 EBP: cf681e6c ESP: cf681e50
[ 64.484893] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 64.486779] CR0: 80050033 CR2: 00000000 CR3: 026b1000 CR4: 00000690
[ 64.488772] Call Trace:
[ 64.489980] vfree+0x6c/0xb0
[ 64.491309] igt_align+0x16d/0x1a0
[ 64.492519] ? next_prime_number+0xfb/0x1a0
[ 64.493516] ? igt_insert_range+0x187/0x1b0
[ 64.494457] ? drm_kms_helper_init+0xf/0xf
[ 64.495340] test_drm_mm_init+0x85/0xf7
[ 64.496307] ? drm_kms_helper_init+0xf/0xf
[ 64.497466] do_one_initcall+0x8e/0x168
[ 64.498998] ? parse_args+0x182/0x2b0
[ 64.500516] kernel_init_freeable+0xdd/0x155
[ 64.502152] ? rest_init+0x120/0x120
[ 64.503398] kernel_init+0xd/0xf0
[ 64.504433] ret_from_fork+0x19/0x30
[ 64.505339] Code: 32 f8 ff 83 c4 0c eb c0 90 8d 74 26 00 31 c9 ba 01 00 00 00 b8 b0 6d 52 c2 6a 01 e8 65 32 f8 ff 53 68 d0 59 26 c2 e8 b7 ac f2 ff <0f> ff 31 c9 6a 01 ba 01 00 00 00 b8 98 6d 52 c2 e8 45 32 f8 ff
[ 64.509098] ---[ end trace fd86afe5cee8151d ]---
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
4 years, 11 months
[lkp-robot] [sched, rcu] c79fc8b482: unixbench.score -2.9% regression
by kernel test robot
Greeting,
FYI, we noticed a -2.9% regression of unixbench.score due to commit:
commit: c79fc8b482c2043b312f63f68c57e311daac4a23 ("sched,rcu: Make cond_resched() provide RCU quiescent state")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: unixbench
on test machine: 4 threads Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz with 4G memory
with following parameters:
runtime: 300s
nr_task: 1
test: pipe
cpufreq_governor: performance
test-description: UnixBench is the original BYTE UNIX benchmark suite aims to test performance of Unix-like system.
test-url: https://github.com/kdlucas/byte-unixbench
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
testcase/path_params/tbox_group/run: unixbench/300s-1-pipe-performance/lkp-ivb-d04
8be6e1b15c544021 c79fc8b482c2043b312f63f68c
---------------- --------------------------
%stddev change %stddev
\ | \
1725 -2.9% 1674 unixbench.score
9169032 9041678 perf-stat.context-switches
23440 23172 vmstat.system.cs
unixbench.score
1800 *+**-*-**-*----**-*-**-*-**-*-**-*-**-**-*-**-*-**-*-**-*-**-**------+
O OO OO O *O OO O OO O OO O OO O OO OO O OO O OO O O *.**.*
1600 ++ |
1400 ++ |
| |
1200 ++ |
1000 ++ |
| |
800 ++ |
600 ++ |
| |
400 ++ |
200 ++ |
| |
0 ++---O------O--------------------------------------------------------+
[*] bisect-good sample
[O] bisect-bad sample
Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.
Thanks,
Xiaolong
4 years, 11 months