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?
1 year, 7 months
[lkp-developer] [sched/fair] 4e5160766f: +149% ftq.noise.50% regression
by kernel test robot
Greeting,
FYI, we noticed a 149% regression of ftq.noise.50% due to commit:
commit: 4e5160766fcc9f41bbd38bac11f92dce993644aa ("sched/fair: Propagate asynchrous detach")
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
in testcase: ftq
on test machine: 8 threads Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz with 8G memory
with following parameters:
nr_task: 100%
samples: 6000ss
test: cache
freq: 20
cpufreq_governor: powersave
test-description: The FTQ benchmarks measure hardware and software interference or 'noise' on a node from the applications perspective.
test-url: https://github.com/rminnich/ftq
In addition to that, the commit also has significant impact on the following tests:
+------------------+--------------------------------------------------------------------------------+
| testcase: change | unixbench: unixbench.score 2.7% improvement |
| test machine | 4 threads Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz with 4G memory |
| test parameters | cpufreq_governor=performance |
| | nr_task=100% |
| | runtime=300s |
| | test=execl |
+------------------+--------------------------------------------------------------------------------+
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/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: ftq/100%-6000ss-cache-20-powersave/lkp-hsw-d01
09a43ace1f986b00 4e5160766fcc9f41bbd38bac11
---------------- --------------------------
%stddev change %stddev
\ | \
305 ± 30% 260% 1100 ± 14% ftq.noise.75%
1386 ± 19% 149% 3457 ± 7% ftq.noise.50%
2148 ± 11% 98% 4257 ± 4% ftq.noise.25%
3963589 3898578 ftq.time.involuntary_context_switches
ftq.noise.50_
4000 ++------------O------------------------------------------------------+
| O O |
3500 ++ 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 |
3000 ++ O |
| O |
2500 ++ |
| |
2000 ++ |
| * .* |
| + : * * * + |
1500 ++ + : + + + + : + .* |
|.* *. + * *.. : * + |
1000 *+-------*-----------*----------*------------------------------------+
[*] 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,
Ying Huang
3 years, 11 months
[lkp] [x86/acpi] dc6db24d24: BUG: unable to handle kernel paging request at 0000116007090008
by kernel test robot
FYI, we noticed the following commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit dc6db24d2476cd09c0ecf2b8d80313539f737a89 ("x86/acpi: Set persistent cpuid <-> nodeid mapping when booting")
in testcase: vm-scalability
with following parameters:
runtime: 300
thp_enabled: never
thp_defrag: never
nr_task: 1
nr_pmem: 1
test: swap-w-rand
cpufreq_governor: performance
The motivation behind this suite is to exercise functions and regions of the mm/ of the Linux kernel which are of interest to us.
on test machine: 72 threads Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz with 128G memory
caused below changes:
+------------------------------------------------------------------+------------+------------+
| | 8ad893faf2 | dc6db24d24 |
+------------------------------------------------------------------+------------+------------+
| boot_successes | 7 | 0 |
| boot_failures | 9 | 16 |
| invoked_oom-killer:gfp_mask=0x | 6 | 2 |
| Mem-Info | 6 | 2 |
| Out_of_memory:Kill_process | 6 | |
| page_allocation_failure:order:#,mode:#(GFP_KERNEL|__GFP_NORETRY) | 2 | |
| warn_alloc_failed+0x | 2 | |
| BUG:kernel_hang_in_test_stage | 2 | 2 |
| BUG:kernel_reboot-without-warning_in_test_stage | 1 | |
| BUG:unable_to_handle_kernel | 0 | 12 |
| Oops | 0 | 12 |
| RIP:get_partial_node | 0 | 12 |
| calltrace:devtmpfsd | 0 | 12 |
| RIP:_raw_spin_lock_irqsave | 0 | 9 |
| general_protection_fault:#[##]SMP | 0 | 3 |
| RIP:native_queued_spin_lock_slowpath | 0 | 3 |
| Kernel_panic-not_syncing:Hard_LOCKUP | 0 | 3 |
| RIP:load_balance | 0 | 2 |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 2 |
| WARNING:at_lib/list_debug.c:#__list_add | 0 | 1 |
| calltrace:_do_fork | 0 | 1 |
| RIP:resched_curr | 0 | 1 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 1 |
| WARNING:at_include/linux/uaccess.h:#__probe_kernel_read | 0 | 5 |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 0 | 2 |
+------------------------------------------------------------------+------------+------------+
[ 9.531507] pci 0000:80:02.2: bridge window [mem 0x387fffd00000-0x387fffefffff 64bit pref]
[ 9.541378] pci_bus 0000:80: on NUMA node 2
[ 9.546734] ACPI: Enabled 4 GPEs in block 00 to 3F
[ 9.586911] BUG: unable to handle kernel paging request at 0000116007090008
[ 9.595109] IP: [<ffffffff811e50fc>] get_partial_node+0x2c/0x1c0
[ 9.602933] PGD 0
[ 9.605503] Oops: 0000 [#1] SMP
[ 9.609264] Modules linked in:
[ 9.613005] CPU: 24 PID: 585 Comm: kdevtmpfs Not tainted 4.8.0-rc1-00300-gdc6db24d #1
[ 9.622193] Hardware name: Intel Corporation S2600WTT/S2600WTT, BIOS SE5C610.86B.01.01.0008.021120151325 02/11/2015
[ 9.634299] task: ffff880068040000 task.stack: ffff880068024000
[ 9.641168] RIP: 0010:[<ffffffff811e50fc>] [<ffffffff811e50fc>] get_partial_node+0x2c/0x1c0
[ 9.651890] RSP: 0000:ffff8800680279f0 EFLAGS: 00010006
[ 9.658079] RAX: 0000000000000002 RBX: 0000000000000246 RCX: 0000000002098020
[ 9.666308] RDX: ffff882053b9cfc0 RSI: 0000116007090000 RDI: ffff880076804dc0
[ 9.674535] RBP: ffff880068027a90 R08: ffff882053b9cfb0 R09: 0000000000000000
[ 9.682764] R10: ffff880068027c88 R11: 0000000b00000000 R12: ffff880076804dc0
[ 9.690994] R13: 0000000000000000 R14: ffff880076804dc0 R15: ffff882053b9cfb0
[ 9.699224] FS: 0000000000000000(0000) GS:ffff882053b80000(0000) knlGS:0000000000000000
[ 9.708701] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 9.715373] CR2: 0000116007090008 CR3: 0000000001e06000 CR4: 00000000001406e0
[ 9.723602] Stack:
[ 9.726094] ffff88207ffd4080 0000000200000000 0000000000000000 0000000002281220
[ 9.735086] 0000000000000000 0000000000000000 ffffffff82343f68 ffff880068040000
[ 9.744080] ffff880068027a88 ffffffff811d9de5 ffff880068040000 ffffffff82343f70
[ 9.753072] Call Trace:
[ 9.756056] [<ffffffff811d9de5>] ? alloc_pages_current+0x95/0x140
[ 9.763223] [<ffffffff811e551a>] ___slab_alloc+0x28a/0x4b0
[ 9.769696] [<ffffffff813dd477>] ? avc_alloc_node+0x27/0x140
[ 9.776379] [<ffffffff813e2356>] ? selinux_inode_permission+0xc6/0x180
[ 9.784032] [<ffffffff811e4342>] ? new_slab+0x2d2/0x5a0
[ 9.790208] [<ffffffff813dd477>] ? avc_alloc_node+0x27/0x140
[ 9.796881] [<ffffffff811e5760>] __slab_alloc+0x20/0x40
[ 9.803067] [<ffffffff811e6b7f>] kmem_cache_alloc+0x17f/0x1c0
[ 9.809837] [<ffffffff813dd477>] avc_alloc_node+0x27/0x140
[ 9.816317] [<ffffffff813dd87a>] avc_compute_av+0x8a/0x1e0
[ 9.822801] [<ffffffff8121000a>] ? sget_userns+0x4ca/0x4e0
[ 9.829289] [<ffffffff813de596>] avc_has_perm+0x136/0x190
[ 9.835673] [<ffffffff810a4a69>] ? __might_sleep+0x49/0x80
[ 9.842161] [<ffffffff813e0000>] ? inode_doinit_with_dentry+0x530/0x660
[ 9.849901] [<ffffffff813f4c5d>] ? security_transition_sid+0x2d/0x40
[ 9.857351] [<ffffffff813e1379>] may_create+0xb9/0xe0
[ 9.863334] [<ffffffff813e13e2>] selinux_inode_mknod+0x42/0x80
[ 9.870201] [<ffffffff813da552>] security_inode_mknod+0x52/0x80
[ 9.877165] [<ffffffff812197e1>] vfs_mknod+0x131/0x1e0
[ 9.883255] [<ffffffff815b2e65>] handle_create+0x75/0x1e0
[ 9.889639] [<ffffffff8192da66>] ? __schedule+0x2e6/0x790
[ 9.896027] [<ffffffff815b3104>] devtmpfsd+0x134/0x180
[ 9.902117] [<ffffffff815b2fd0>] ? handle_create+0x1e0/0x1e0
[ 9.908792] [<ffffffff8109ded4>] kthread+0xd4/0xf0
[ 9.914503] [<ffffffff81932cbf>] ret_from_fork+0x1f/0x40
[ 9.920788] [<ffffffff8109de00>] ? kthread_create_on_node+0x180/0x180
[ 9.928335] Code: 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 f0 48 83 ec 70 48 85 f6 48 c7 44 24 20 00 00 00 00 0f 84 54 01 00 00 <48> 83 7e 08 00 0f 84 49 01 00 00 48 89 f3 49 89 fd 48 89 f7 89
[ 9.954843] RIP [<ffffffff811e50fc>] get_partial_node+0x2c/0x1c0
[ 9.962756] RSP <ffff8800680279f0>
[ 9.966902] CR2: 0000116007090008
[ 9.970871] BUG: unable to handle kernel paging request at 0000000100000048
[ 9.979058] IP: [<ffffffff819329b9>] _raw_spin_lock_irqsave+0x29/0x50
[ 9.986582] PGD 0
[ 9.989147] Oops: 0002 [#2] SMP
[ 9.992891] Modules linked in:
[ 9.996623] CPU: 24 PID: 585 Comm: kdevtmpfs Tainted: G D 4.8.0-rc1-00300-gdc6db24d #1
[ 10.007173] Hardware name: Intel Corporation S2600WTT/S2600WTT, BIOS SE5C610.86B.01.01.0008.021120151325 02/11/2015
[ 10.019279] task: ffff880068040000 task.stack: ffff880068024000
[ 10.026147] RIP: 0010:[<ffffffff819329b9>] [<ffffffff819329b9>] _raw_spin_lock_irqsave+0x29/0x50
[ 10.036577] RSP: 0000:ffff8800680276e0 EFLAGS: 00010046
[ 10.042763] RAX: 0000000000000000 RBX: 0000000000000097 RCX: ffffffff81e5af08
[ 10.050991] RDX: 0000000000000001 RSI: ffff880068027738 RDI: 0000000100000048
[ 10.059221] RBP: ffff8800680276e8 R08: 0000000000000001 R09: 0000000000000001
[ 10.067450] R10: ffff880068027c88 R11: 000000000000048c R12: 0000000100000048
[ 10.075677] R13: 0000000000000008 R14: ffff880068027738 R15: 0000000000000046
[ 10.083906] FS: 0000000000000000(0000) GS:ffff882053b80000(0000) knlGS:0000000000000000
[ 10.093384] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 10.100059] CR2: 0000000100000048 CR3: 0000000001e06000 CR4: 00000000001406e0
[ 10.108288] Stack:
[ 10.110780] 0000000100000000 ffff880068027718 ffffffff81575da0 ffffffff82263b00
[ 10.119773] ffff880068027738 0000000000000008 ffffffff8107e58f ffff880068027728
[ 10.128764] ffffffff81575e4f ffff880068027798 ffffffff8157726f ffff880068027790
[ 10.137756] Call Trace:
[ 10.140741] [<ffffffff81575da0>] _extract_crng+0x40/0xb0
[ 10.151150] [<ffffffff8107e58f>] ? print_oops_end_marker+0x3f/0x60
[ 10.158405] [<ffffffff81575e4f>] extract_crng+0x3f/0x50
[ 10.164591] [<ffffffff8157726f>] get_random_bytes+0x6f/0x1a0
[ 10.171268] [<ffffffff810d811a>] ? console_unlock+0x33a/0x610
[ 10.178048] [<ffffffff8107e58f>] print_oops_end_marker+0x3f/0x60
[ 10.185106] [<ffffffff8107e5cd>] oops_exit+0x1d/0x30
[ 10.191009] [<ffffffff8103091e>] oops_end+0x7e/0xd0
[ 10.196815] [<ffffffff81066592>] no_context+0x112/0x380
[ 10.203002] [<ffffffff81066881>] __bad_area_nosemaphore+0x81/0x1c0
[ 10.210257] [<ffffffff810669d4>] bad_area_nosemaphore+0x14/0x20
[ 10.217219] [<ffffffff81066d6c>] __do_page_fault+0xbc/0x4d0
[ 10.223796] [<ffffffff8146b47d>] ? list_del+0xd/0x30
[ 10.229690] [<ffffffff810671b0>] do_page_fault+0x30/0x80
[ 10.235972] [<ffffffff81933f48>] page_fault+0x28/0x30
[ 10.241965] [<ffffffff811e50fc>] ? get_partial_node+0x2c/0x1c0
[ 10.249610] [<ffffffff811d9de5>] ? alloc_pages_current+0x95/0x140
[ 10.256771] [<ffffffff811e551a>] ___slab_alloc+0x28a/0x4b0
[ 10.263249] [<ffffffff813dd477>] ? avc_alloc_node+0x27/0x140
[ 10.269921] [<ffffffff813e2356>] ? selinux_inode_permission+0xc6/0x180
[ 10.277564] [<ffffffff811e4342>] ? new_slab+0x2d2/0x5a0
[ 10.283749] [<ffffffff813dd477>] ? avc_alloc_node+0x27/0x140
[ 10.290421] [<ffffffff811e5760>] __slab_alloc+0x20/0x40
[ 10.296607] [<ffffffff811e6b7f>] kmem_cache_alloc+0x17f/0x1c0
[ 10.303379] [<ffffffff813dd477>] avc_alloc_node+0x27/0x140
[ 10.309848] [<ffffffff813dd87a>] avc_compute_av+0x8a/0x1e0
[ 10.316326] [<ffffffff8121000a>] ? sget_userns+0x4ca/0x4e0
[ 10.322806] [<ffffffff813de596>] avc_has_perm+0x136/0x190
[ 10.329184] [<ffffffff810a4a69>] ? __might_sleep+0x49/0x80
[ 10.335660] [<ffffffff813e0000>] ? inode_doinit_with_dentry+0x530/0x660
[ 10.343403] [<ffffffff813f4c5d>] ? security_transition_sid+0x2d/0x40
[ 10.350855] [<ffffffff813e1379>] may_create+0xb9/0xe0
[ 10.356849] [<ffffffff813e13e2>] selinux_inode_mknod+0x42/0x80
[ 10.363716] [<ffffffff813da552>] security_inode_mknod+0x52/0x80
[ 10.370680] [<ffffffff812197e1>] vfs_mknod+0x131/0x1e0
[ 10.376770] [<ffffffff815b2e65>] handle_create+0x75/0x1e0
[ 10.383151] [<ffffffff8192da66>] ? __schedule+0x2e6/0x790
[ 10.389533] [<ffffffff815b3104>] devtmpfsd+0x134/0x180
[ 10.395622] [<ffffffff815b2fd0>] ? handle_create+0x1e0/0x1e0
[ 10.402299] [<ffffffff8109ded4>] kthread+0xd4/0xf0
[ 10.408001] [<ffffffff81932cbf>] ret_from_fork+0x1f/0x40
[ 10.414284] [<ffffffff8109de00>] ? kthread_create_on_node+0x180/0x180
[ 10.421829] Code: 00 00 0f 1f 44 00 00 55 48 89 e5 53 9c 58 0f 1f 44 00 00 48 89 c3 fa 66 0f 1f 44 00 00 65 ff 05 9e a8 6d 7e 31 c0 ba 01 00 00 00 <f0> 0f b1 17 85 c0 75 06 48 89 d8 5b 5d c3 89 c6 e8 22 74 79 ff
[ 10.448339] RIP [<ffffffff819329b9>] _raw_spin_lock_irqsave+0x29/0x50
[ 10.455959] RSP <ffff8800680276e0>
[ 10.460101] CR2: 0000000100000048
[ 10.464058] BUG: unable to handle kernel paging request at 0000000100000048
[ 10.472244] IP: [<ffffffff819329b9>] _raw_spin_lock_irqsave+0x29/0x50
[ 10.479768] PGD 0
[ 10.482332] Oops: 0002 [#3] SMP
[ 10.486089] Modules linked in:
[ 10.489822] CPU: 24 PID: 585 Comm: kdevtmpfs Tainted: G D 4.8.0-rc1-00300-gdc6db24d #1
[ 10.500366] Hardware name: Intel Corporation S2600WTT/S2600WTT, BIOS SE5C610.86B.01.01.0008.021120151325 02/11/2015
[ 10.512467] task: ffff880068040000 task.stack: ffff880068024000
[ 10.519334] RIP: 0010:[<ffffffff819329b9>] [<ffffffff819329b9>] _raw_spin_lock_irqsave+0x29/0x50
[ 10.529765] RSP: 0000:ffff8800680273d0 EFLAGS: 00010046
[ 10.535952] RAX: 0000000000000000 RBX: 0000000000000097 RCX: ffffffff81e5af08
[ 10.544183] RDX: 0000000000000001 RSI: ffff880068027428 RDI: 0000000100000048
[ 10.552410] RBP: ffff8800680273d8 R08: 0000000000000001 R09: 0000000000000001
[ 10.560641] R10: ffff880068027c88 R11: 00000000000004d1 R12: 0000000100000048
[ 10.568869] R13: 0000000000000008 R14: ffff880068027428 R15: 0000000000000046
[ 10.577097] FS: 0000000000000000(0000) GS:ffff882053b80000(0000) knlGS:0000000000000000
[ 10.586578] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 10.593250] CR2: 0000000100000048 CR3: 0000000001e06000 CR4: 00000000001406e0
[ 10.601479] Stack:
[ 10.603969] 0000000100000000 ffff880068027408 ffffffff81575da0 ffffffff82263b00
[ 10.612968] ffff880068027428 0000000000000008 ffffffff8107e58f ffff880068027418
[ 10.621966] ffffffff81575e4f ffff880068027488 ffffffff8157726f ffff880068027480
[ 10.630963] Call Trace:
[ 10.633942] [<ffffffff81575da0>] _extract_crng+0x40/0xb0
[ 10.640228] [<ffffffff8107e58f>] ? print_oops_end_marker+0x3f/0x60
[ 10.647484] [<ffffffff81575e4f>] extract_crng+0x3f/0x50
[ 10.653670] [<ffffffff8157726f>] get_random_bytes+0x6f/0x1a0
[ 10.660342] [<ffffffff810d811a>] ? console_unlock+0x33a/0x610
[ 10.667113] [<ffffffff8107e58f>] print_oops_end_marker+0x3f/0x60
[ 10.674173] [<ffffffff8107e5cd>] oops_exit+0x1d/0x30
[ 10.680069] [<ffffffff8103091e>] oops_end+0x7e/0xd0
[ 10.685868] [<ffffffff81066592>] no_context+0x112/0x380
[ 10.692059] [<ffffffff81457b18>] ? put_dec+0x18/0xa0
[ 10.697962] [<ffffffff81066881>] __bad_area_nosemaphore+0x81/0x1c0
[ 10.705218] [<ffffffff810669d4>] bad_area_nosemaphore+0x14/0x20
[ 10.712183] [<ffffffff81066d6c>] __do_page_fault+0xbc/0x4d0
[ 10.718756] [<ffffffff810671b0>] do_page_fault+0x30/0x80
[ 10.725040] [<ffffffff8109f061>] ? atomic_notifier_call_chain+0x21/0x30
[ 10.732783] [<ffffffff81933f48>] page_fault+0x28/0x30
[ 10.738777] [<ffffffff819329b9>] ? _raw_spin_lock_irqsave+0x29/0x50
[ 10.746132] [<ffffffff81575da0>] _extract_crng+0x40/0xb0
[ 10.752415] [<ffffffff8107e58f>] ? print_oops_end_marker+0x3f/0x60
[ 10.759671] [<ffffffff81575e4f>] extract_crng+0x3f/0x50
[ 10.765856] [<ffffffff8157726f>] get_random_bytes+0x6f/0x1a0
[ 10.772530] [<ffffffff810d811a>] ? console_unlock+0x33a/0x610
[ 10.779301] [<ffffffff8107e58f>] print_oops_end_marker+0x3f/0x60
[ 10.786364] [<ffffffff8107e5cd>] oops_exit+0x1d/0x30
[ 10.792257] [<ffffffff8103091e>] oops_end+0x7e/0xd0
[ 10.798057] [<ffffffff81066592>] no_context+0x112/0x380
[ 10.804244] [<ffffffff81066881>] __bad_area_nosemaphore+0x81/0x1c0
[ 10.811498] [<ffffffff810669d4>] bad_area_nosemaphore+0x14/0x20
[ 10.818463] [<ffffffff81066d6c>] __do_page_fault+0xbc/0x4d0
[ 10.825037] [<ffffffff8146b47d>] ? list_del+0xd/0x30
[ 10.830933] [<ffffffff810671b0>] do_page_fault+0x30/0x80
[ 10.837216] [<ffffffff81933f48>] page_fault+0x28/0x30
[ 10.843208] [<ffffffff811e50fc>] ? get_partial_node+0x2c/0x1c0
[ 10.850855] [<ffffffff811d9de5>] ? alloc_pages_current+0x95/0x140
[ 10.858015] [<ffffffff811e551a>] ___slab_alloc+0x28a/0x4b0
[ 10.864491] [<ffffffff813dd477>] ? avc_alloc_node+0x27/0x140
[ 10.871163] [<ffffffff813e2356>] ? selinux_inode_permission+0xc6/0x180
[ 10.878809] [<ffffffff811e4342>] ? new_slab+0x2d2/0x5a0
[ 10.884995] [<ffffffff813dd477>] ? avc_alloc_node+0x27/0x140
[ 10.891667] [<ffffffff811e5760>] __slab_alloc+0x20/0x40
[ 10.897853] [<ffffffff811e6b7f>] kmem_cache_alloc+0x17f/0x1c0
[ 10.904623] [<ffffffff813dd477>] avc_alloc_node+0x27/0x140
[ 10.911103] [<ffffffff813dd87a>] avc_compute_av+0x8a/0x1e0
[ 10.917582] [<ffffffff8121000a>] ? sget_userns+0x4ca/0x4e0
[ 10.924061] [<ffffffff813de596>] avc_has_perm+0x136/0x190
[ 10.930443] [<ffffffff810a4a69>] ? __might_sleep+0x49/0x80
[ 10.936924] [<ffffffff813e0000>] ? inode_doinit_with_dentry+0x530/0x660
[ 10.944666] [<ffffffff813f4c5d>] ? security_transition_sid+0x2d/0x40
[ 10.952120] [<ffffffff813e1379>] may_create+0xb9/0xe0
[ 10.958112] [<ffffffff813e13e2>] selinux_inode_mknod+0x42/0x80
[ 10.964979] [<ffffffff813da552>] security_inode_mknod+0x52/0x80
[ 10.971944] [<ffffffff812197e1>] vfs_mknod+0x131/0x1e0
[ 10.978033] [<ffffffff815b2e65>] handle_create+0x75/0x1e0
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Xiaolong
3 years, 11 months
[virtio_pci] 563d3bbe44: WARNING: CPU: 0 PID: 1 at kernel/irq/manage.c:1478 __free_irq
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/mst/vhost.git vhost
commit 563d3bbe444501ac1943d93c74f90460424e0af4
Author: Christoph Hellwig <hch(a)lst.de>
AuthorDate: Thu Nov 17 11:43:17 2016 +0100
Commit: Michael S. Tsirkin <mst(a)redhat.com>
CommitDate: Thu Dec 15 06:59:22 2016 +0200
virtio_pci: use shared interrupts for virtqueues
This lets IRQ layer handle dispatching IRQs to separate handlers for the
case where we don't have per-VQ MSI-X vectors, and allows us to greatly
simplify the code based on the assumption that we always have interrupt
vector 0 (legacy INTx or config interrupt for MSI-X) available, and
any other interrupt is request/freed throught the VQ, even if the
actual interrupt line might be shared in some cases.
This allows removing a great deal of variables keeping track of the
interrupt state in struct virtio_pci_device, as we can now simply walk the
list of VQs and deal with per-VQ interrupt handlers there, and only treat
vector 0 special. As a little caveat this means we have to check if VQs
have been set up before calling vp_synchronize_vectors, as otherwise
the initial reset will trip over the uninitialized ->vqs array.
Signed-off-by: Christoph Hellwig <hch(a)lst.de>
Signed-off-by: Michael S. Tsirkin <mst(a)redhat.com>
+-------------------------------------------------+------------+------------+------------+
| | b58235ea57 | 563d3bbe44 | 48c85573af |
+-------------------------------------------------+------------+------------+------------+
| boot_successes | 54 | 0 | 0 |
| boot_failures | 9 | 22 | 13 |
| BUG:kernel_reboot-without-warning_in_test_stage | 9 | | |
| WARNING:at_kernel/irq/manage.c:#__free_irq | 0 | 22 | 13 |
+-------------------------------------------------+------------+------------+------------+
[ 14.418050] skd: v2.2.1-b0260 loaded
[ 14.419544] MM: desc_per_page = 128
[ 14.420998] ------------[ cut here ]------------
[ 14.422409] WARNING: CPU: 0 PID: 1 at kernel/irq/manage.c:1478 __free_irq+0xe3/0x440
[ 14.425598] Trying to free already-free IRQ 11
[ 14.427224] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.0-08495-g563d3bb #1
[ 14.428995] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 14.431804] Call Trace:
[ 14.432822] dump_stack+0x10e/0x17e
[ 14.433986] ? __free_irq+0xe3/0x440
[ 14.435181] __warn+0x153/0x180
git bisect start 48c85573afde79fbf2e2666a826dd0af68d33fb7 69973b830859bc6529a7a0468ba0d80ee5117826 --
git bisect bad 74df3431678edef19b8a8997b435580cbcee21d8 # 00:04 0- 4 Merge 'asoc/topic/zte' into devel-catchup-201612152110
git bisect bad 49e5c06b56b2b67b00d01650f167e48a8269bf83 # 00:22 0- 6 Merge 'asoc/for-next' into devel-catchup-201612152110
git bisect bad cdad3be8e4626b17c1b410b6e234de85bb3c9827 # 00:41 0- 1 Merge 'linux-review/Vincent-Pelletier/usb-gadget-f_fs-Document-eventfd-effect-on-descriptor-format/20161215-210226' into devel-catchup-201612152110
git bisect good 4275eedf2de20a7df028d840fa795f729a56dd58 # 00:53 22+ 6 Merge 'linux-review/Markus-Trippelsdorf/x86-64-Fix-gcc-7-warning-in-relocs-c/20161215-210553' into devel-catchup-201612152110
git bisect bad a6faac3d75ed58a3cc82f5c4d9168bc4a346698f # 01:05 0- 16 Merge 'vhost/vhost' into devel-catchup-201612152110
git bisect good 9439b3710df688d853eb6cb4851256f2c92b1797 # 01:17 22+ 2 Merge tag 'drm-for-v4.10' of git://people.freedesktop.org/~airlied/linux
git bisect good b78b499a67c3f77aeb6cd0b54724bc38b141255d # 01:27 22+ 3 Merge tag 'char-misc-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
git bisect good 2a4c32edd39b7de166e723b1991abcde4db3a701 # 01:40 22+ 1 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
git bisect good ce38207f161513ee3d2bd3860489f07ebe65bc78 # 01:52 22+ 1 Merge tag 'sound-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
git bisect good 683b96f4d1d132fcefa4a0bd11916649800d7361 # 02:08 22+ 2 Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
git bisect good 218ed7503aee07c7758dcbdd782e8c1a25c9f1e9 # 02:22 22+ 3 radix-tree: improve dump output
git bisect good a57cb1c1d7974c62a5c80f7869e35b492ace12cd # 02:40 22+ 4 Merge branch 'akpm' (patches from Andrew)
git bisect bad 76481bf7b79d4d3470223f8f1c5f77dafb746057 # 02:58 0- 22 virtio: provide a method to get the IRQ affinity mask for a virtqueue
git bisect good 819483d806f4324b42a25f8dd760735ae659141c # 03:15 21+ 3 vsock/virtio: mark an internal function static
git bisect good b58235ea5794f29d200e4622dc09c1818f539b77 # 03:27 22+ 0 virtio_pci: split vp_try_to_find_vqs into INTx and MSI-X variants
git bisect bad 3bf965f16c2f18eef77de7c59dbfc82f6577a3bb # 03:50 0- 1 virtio_pci: use msix_enable flag in struct pci_dev
git bisect bad 563d3bbe444501ac1943d93c74f90460424e0af4 # 04:02 0- 2 virtio_pci: use shared interrupts for virtqueues
# first bad commit: [563d3bbe444501ac1943d93c74f90460424e0af4] virtio_pci: use shared interrupts for virtqueues
git bisect good b58235ea5794f29d200e4622dc09c1818f539b77 # 04:06 63+ 9 virtio_pci: split vp_try_to_find_vqs into INTx and MSI-X variants
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 563d3bbe444501ac1943d93c74f90460424e0af4 # 04:16 0- 4 virtio_pci: use shared interrupts for virtqueues
# extra tests on HEAD of linux-devel/devel-catchup-201612152110
git bisect bad 48c85573afde79fbf2e2666a826dd0af68d33fb7 # 04:16 0- 13 0day head guard for 'devel-catchup-201612152110'
# extra tests on tree/branch vhost/vhost
git bisect bad 31fc51a33593cf45e3df9aec514a8e26f76703a4 # 04:31 0- 1 Makefile: drop -D__CHECK_ENDIAN__ from cflags
# extra tests on tree/branch linus/master
git bisect good 5cc60aeedf315a7513f92e98314e86d515b986d1 # 04:42 66+ 7 Merge tag 'xfs-for-linus-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs
# extra tests on tree/branch linux-next/master
git bisect good df5462d601bec886f6c56b2a4f4e54d92761c2d5 # 04:57 66+ 19 Add linux-next specific files for 20161215
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years
[lkp-developer] [lib] 0c5a9920fb: WARNING:at_lib/test_linktables/test-linktables.c:#test_linktable_init
by kernel test robot
FYI, we noticed the following commit:
commit: 0c5a9920fbb514bd4098e2fb6340d3274bf2bca7 ("lib: add linker tables test driver")
https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20161216-linker-tables-v5
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 320M
caused below changes:
+-----------------------------------------------------------------------+------------+------------+
| | d658aa6259 | 0c5a9920fb |
+-----------------------------------------------------------------------+------------+------------+
| boot_successes | 2 | 0 |
| boot_failures | 6 | 8 |
| WARNING:at_arch/x86/mm/dump_pagetables.c:#note_page | 6 | 8 |
| invoked_oom-killer:gfp_mask=0x | 1 | 2 |
| Mem-Info | 1 | 2 |
| WARNING:at_lib/test_linktables/test-linktables.c:#test_linktable_init | 0 | 8 |
| inconsistent{SOFTIRQ-ON-W}->{IN-SOFTIRQ-W}usage | 0 | 3 |
+-----------------------------------------------------------------------+------------+------------+
[ 13.774713] Key type big_key registered
[ 13.775796] test_linktables: expected: 0 test
[ 13.776549] ------------[ cut here ]------------
[ 13.777372] WARNING: CPU: 0 PID: 1 at lib/test_linktables/test-linktables.c:760 test_linktable_init+0x126/0x1a1
[ 13.779332] Modules linked in:
[ 13.779907] CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.0-next-20161216-00014-g0c5a992 #2
[ 13.781330] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 13.783135] Call Trace:
[ 13.783608] dump_stack+0x16/0x18
[ 13.784188] __warn+0xa5/0xbc
[ 13.784694] ? test_linktable_init+0x126/0x1a1
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
4 years
[lkp-developer] [sched/core] 6b94780e45: unixbench.score -4.5% regression
by kernel test robot
Greeting,
FYI, we noticed a -4.5% regression of unixbench.score due to commit:
commit: 6b94780e45c17b83e3e75f8aaca5a328db583c74 ("sched/core: Use load_avg for selecting idlest group")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
in testcase: unixbench
on test machine: 24 threads Nehalem-EP with 24G memory
with following parameters:
runtime: 300s
nr_task: 100%
test: shell1
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
In addition to that, the commit also has significant impact on the following tests:
+------------------+-----------------------------------------------------------------------+
| testcase: change | unixbench: unixbench.score -2.9% regression |
| test machine | 8 threads Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz with 6G memory |
| test parameters | nr_task=1 |
| | runtime=300s |
| | test=shell8 |
+------------------+-----------------------------------------------------------------------+
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/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%-shell1-performance/lkp-wsm-ep1
f519a3f1c6b7a990 6b94780e45c17b83e3e75f8aac
---------------- --------------------------
25565 -5% 24414 unixbench.score
29557557 28781098 unixbench.time.voluntary_context_switches
5743 -4% 5514 unixbench.time.user_time
9.232e+08 -4% 8.831e+08 unixbench.time.minor_page_faults
1807 -5% 1709 unixbench.time.percent_of_cpu_this_job_got
5656 -7% 5271 unixbench.time.system_time
13223805 -20% 10628072 unixbench.time.involuntary_context_switches
741766 -62% 279054 interrupts.CAL:Function_call_interrupts
31060 -9% 28214 vmstat.system.in
126250 -12% 110890 vmstat.system.cs
78.58 -6% 74.20 turbostat.%Busy
2507 -6% 2366 turbostat.Avg_MHz
9134 ± 47% -6e+03 2973 ± 36% latency_stats.max.pipe_read.__vfs_read.vfs_read.SyS_read.entry_SYSCALL_64_fastpath
380879 ± 10% 5e+05 887692 ± 49% latency_stats.sum.wait_on_page_bit_killable.__lock_page_or_retry.filemap_fault.__do_fault.handle_mm_fault.__do_page_fault.do_page_fault.page_fault
31710 ± 15% -2e+04 10583 ± 14% latency_stats.sum.call_rwsem_down_write_failed.__vma_adjust.__split_vma.do_munmap.vm_munmap.elf_map.load_elf_binary.search_binary_handler.do_execveat_common.SyS_execve.do_syscall_64.return_from_SYSCALL_64
51796 ± 4% -4e+04 15457 ± 10% latency_stats.sum.call_rwsem_down_write_failed.unlink_file_vma.free_pgtables.unmap_region.do_munmap.vm_munmap.elf_map.load_elf_binary.search_binary_handler.do_execveat_common.SyS_execve.do_syscall_64
111998 ± 18% -7e+04 37074 ± 14% latency_stats.sum.call_rwsem_down_write_failed.__vma_adjust.__split_vma.do_munmap.mmap_region.do_mmap.vm_mmap_pgoff.SyS_mmap_pgoff.SyS_mmap.entry_SYSCALL_64_fastpath
275087 ± 15% -2e+05 81973 ± 3% latency_stats.sum.call_rwsem_down_write_failed.unlink_file_vma.free_pgtables.unmap_region.do_munmap.mmap_region.do_mmap.vm_mmap_pgoff.SyS_mmap_pgoff.SyS_mmap.entry_SYSCALL_64_fastpath
930993 ± 12% -6e+05 320520 ± 4% latency_stats.sum.call_rwsem_down_write_failed.vma_link.mmap_region.do_mmap.vm_mmap_pgoff.vm_mmap.elf_map.load_elf_binary.search_binary_handler.do_execveat_common.SyS_execve.do_syscall_64
4755783 ± 9% -3e+06 1619348 ± 4% latency_stats.sum.call_rwsem_down_write_failed.__vma_adjust.__split_vma.split_vma.mprotect_fixup.do_mprotect_pkey.SyS_mprotect.entry_SYSCALL_64_fastpath
5536067 ± 10% -4e+06 1929338 ± 3% latency_stats.sum.call_rwsem_down_write_failed.copy_process._do_fork.SyS_clone.do_syscall_64.return_from_SYSCALL_64
9.032e+08 -4% 8.64e+08 perf-stat.page-faults
9.032e+08 -4% 8.64e+08 perf-stat.minor-faults
2.329e+09 2.269e+09 perf-stat.node-load-misses
2.2e+09 -9% 2.011e+09 ± 5% perf-stat.dTLB-store-misses
3.278e+10 -9% 2.987e+10 ± 6% perf-stat.dTLB-load-misses
19484819 13% 21974129 perf-stat.cpu-migrations
3.755e+13 -6% 3.54e+13 perf-stat.cpu-cycles
3244 4% 3379 perf-stat.instructions-per-iTLB-miss
4.536e+12 -4% 4.332e+12 perf-stat.branch-instructions
2.303e+13 -4% 2.208e+13 perf-stat.instructions
5.768e+12 -4% 5.517e+12 perf-stat.dTLB-loads
3.567e+11 -4% 3.414e+11 perf-stat.cache-references
2.97 2.93 perf-stat.branch-miss-rate%
2.768e+10 2.699e+10 perf-stat.node-stores
5.446e+10 -3% 5.275e+10 perf-stat.cache-misses
0.03 -4% 0.03 perf-stat.iTLB-load-miss-rate%
9.673e+09 -4% 9.294e+09 perf-stat.node-loads
3.596e+12 -4% 3.442e+12 perf-stat.dTLB-stores
0.61 0.62 perf-stat.ipc
1.347e+11 -6% 1.27e+11 perf-stat.branch-misses
7.098e+09 -8% 6.533e+09 perf-stat.iTLB-load-misses
2.309e+13 -4% 2.206e+13 perf-stat.iTLB-loads
79911173 -12% 70187035 perf-stat.context-switches
turbostat._Busy
90 ++-------------------------------------*---*---------------------------+
| .. *...*.. |
80 *+..*..*...*..*...*..*...*..*...O...* O O O O O...O..O...O O O
70 O+ O O O O O O O O |
| |
60 ++ |
50 ++ |
| |
40 ++ |
30 ++ |
| |
20 ++ |
10 ++ |
| |
0 ++----------------------------------O----------------------------------+
unixbench.time.percent_of_cpu_this_job_got
2500 ++-------------------------------------------------------------------+
| |
| .*... |
2000 ++ .*. *..*... |
*..*...*..*...*..*...*..*...*..O...*. O O O O O..O...O..O O O
O O O O O O O O O |
1500 ++ |
| |
1000 ++ |
| |
| |
500 ++ |
| |
| |
0 ++---------------------------------O---------------------------------+
vmstat.system.in
40000 ++------------------------------------------------------------------+
| .*...*.. |
35000 ++ .*...*. |
30000 *+.*...*..*...*..*..*...*..*...*..*. *..*...*..* |
O O O O O O O O O O O O O O O O O O O O
25000 ++ |
| |
20000 ++ |
| |
15000 ++ |
10000 ++ |
| |
5000 ++ |
| |
0 ++--------------------------------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
[x86/fsgsbase/64] 39cd5a4ba8: BUG:stack_guard_page_was_hit_at#(stack_is#..#)
by kernel test robot
FYI, we noticed the following commit:
commit: 39cd5a4ba8ad845ed384f43cdf4099e4cd10fa81 ("x86/fsgsbase/64: Preserve FS/GS state in __switch_to if FSGSBASE is on")
https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/fsgsbase
in testcase: aim9
with following parameters:
testtime: 300s
test: fork_test
cpufreq_governor: performance
test-description: Suite IX is the "AIM Independent Resource Benchmark:" the famous synthetic benchmark.
test-url: https://sourceforge.net/projects/aimbench/files/aim-suite9/
on test machine: 4 threads Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz with 4G memory
caused below changes:
+-------------------------------------------------+------------+------------+
| | b0f17dd81a | 39cd5a4ba8 |
+-------------------------------------------------+------------+------------+
| boot_successes | 2 | 4 |
| boot_failures | 1 | 8 |
| BUG:kernel_reboot-without-warning_in_test_stage | 1 | |
| BUG:stack_guard_page_was_hit_at#(stack_is#..#) | 0 | 8 |
| RIP:page_fault | 0 | 8 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 8 |
+-------------------------------------------------+------------+------------+
[ 121.844427] perf: interrupt took too long (3955 > 3947), lowering kernel.perf_event_max_sample_rate to 50000
[ 122.080152] perf: interrupt took too long (4947 > 4943), lowering kernel.perf_event_max_sample_rate to 40000
[ 122.724744] perf: interrupt took too long (6201 > 6183), lowering kernel.perf_event_max_sample_rate to 32000
[ 211.978530] BUG: stack guard page was hit at ffffc90001773fe8 (stack is ffffc90001774000..ffffc90001777fff)
[ 211.989358] kernel stack overflow (double-fault): 0000 [#1] SMP
[ 211.996320] Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver netconsole sr_mod cdrom sg intel_rapl ahci snd_hda_codec_realtek x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_generic libahci coretemp ppdev i915 snd_hda_intel drm_kms_helper syscopyarea sysfillrect sysimgblt snd_hda_codec fb_sys_fops kvm snd_hda_core irqbypass snd_hwdep crct10dif_pclmul snd_pcm crc32_pclmul pcspkr crc32c_intel ghash_clmulni_intel cryptd snd_timer serio_raw snd libata soundcore drm shpchp wmi parport_pc parport video ip_tables
[ 212.049322] CPU: 2 PID: 718 Comm: singleuser Not tainted 4.9.0-00014-g39cd5a4 #1
[ 212.057720] Hardware name: Hewlett-Packard HP Pro 3340 MT/17A1, BIOS 8.07 01/24/2013
[ 212.066473] task: ffff88011b6a4b80 task.stack: ffffc90001774000
[ 212.073399] RIP: 0010:[<ffffffff81957cad>] [<ffffffff81957cad>] page_fault+0xd/0x30
[ 212.082139] RSP: 0018:ffffc90001773ff8 EFLAGS: 00010083
[ 212.088404] RAX: 000000000000d2c0 RBX: ffffc900017740e8 RCX: ffffffff81957217
[ 212.096507] RDX: 000000000000d2c0 RSI: 0000000000000000 RDI: ffffc900017740e8
[ 212.104587] RBP: ffffc900017740d8 R08: ffff88011b6a4b80 R09: 0000000000000004
[ 212.112664] R10: ffff88011fdce000 R11: 0000000000000000 R12: 0000000000000000
[ 212.120702] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000001200011
[ 212.128746] FS: 00007fea1ae04700(0000) GS:ffff88011fb00000(0000) knlGS:ffff88011fb00000
[ 212.137744] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 212.144334] CR2: ffffc90001773fe8 CR3: 0000000116f09000 CR4: 00000000001506e0
[ 212.152348] Stack:
[ 212.155208] Call Trace:
[ 212.158478] [<ffffffff81067f86>] ? __do_page_fault+0x6/0x4d0
[ 212.165081] [<ffffffff81068480>] ? do_page_fault+0x30/0x80
[ 212.171484] [<ffffffff81957cc8>] ? page_fault+0x28/0x30
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Kernel Test Robot
4 years
[lib] d0963d6bc4: WARNING:at_lib/test_linktables/test-linktables.c:#test_linktable_init
by kernel test robot
FYI, we noticed the following commit:
commit: d0963d6bc45a9da89a794150ecb172e20aee744d ("lib: add linker tables test driver")
https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20161219-linker-tables-v5-try2
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-i386 -enable-kvm -m 320M
caused below changes:
+-----------------------------------------------------------------------+------------+------------+
| | a641ad5ea7 | d0963d6bc4 |
+-----------------------------------------------------------------------+------------+------------+
| boot_successes | 8 | 0 |
| boot_failures | 0 | 8 |
| WARNING:at_lib/test_linktables/test-linktables.c:#test_linktable_init | 0 | 8 |
+-----------------------------------------------------------------------+------------+------------+
[ 141.968545] Key type trusted registered
[ 141.975421] test_linktables: expected: 0 test
[ 141.981058] ------------[ cut here ]------------
[ 141.987049] WARNING: CPU: 0 PID: 1 at lib/test_linktables/test-linktables.c:760 test_linktable_init+0x19f/0x39a
[ 142.001827] CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.0-next-20161219-00014-gd0963d6 #1
[ 142.013015] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 142.026681] Call Trace:
[ 142.030025] dump_stack+0x16/0x18
[ 142.034365] __warn+0xd1/0xf0
[ 142.038283] ? test_linktable_init+0x19f/0x39a
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/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
1f6e761378: RIP:call_usermodehelper_exec_work
by kernel test robot
FYI, we noticed the following commit:
commit: 1f6e761378c2e6dcf1b12ee7d54a0ef799c2b32e ("Make call_usermodehelper_exec possible to set namespaces")
url: https://github.com/0day-ci/linux/commits/Cao-Shufeng/Make-core_pattern-su...
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 320M
caused below changes:
+-----------------------------------------------------------------------------+------------+------------+
| | bc3913a537 | 1f6e761378 |
+-----------------------------------------------------------------------------+------------+------------+
| boot_successes | 484 | 81 |
| boot_failures | 1513 | 37 |
| invoked_oom-killer:gfp_mask=0x | 1513 | |
| Mem-Info | 1513 | |
| BUG:unable_to_handle_kernel | 56 | |
| Oops | 56 | |
| RIP:copy_process | 42 | |
| Kernel_panic-not_syncing:Fatal_exception | 108 | 36 |
| general_protection_fault:#[##]SMP | 61 | 36 |
| RIP:__lock_acquire | 39 | |
| RIP:radix_tree_load_root | 4 | |
| RIP:__remove_shared_vm_struct | 28 | |
| Out_of_memory:Kill_process | 2 | |
| BUG_filp(Tainted:G_D):Poison_overwritten | 2 | |
| INFO:#-#.First_byte#instead_of | 3 | |
| INFO:Allocated_in_get_empty_filp_age=#cpu=#pid= | 3 | |
| INFO:Freed_in_file_free_rcu_age=#cpu=#pid= | 3 | |
| INFO:Slab#objects=#used=#fp=0x(null)flags= | 3 | |
| INFO:Object#@offset=#fp=0x(null) | 1 | |
| INFO:Object#@offset=#fp= | 2 | |
| BUG_filp(Not_tainted):Poison_overwritten | 1 | |
| RIP:down_write | 1 | |
| page_allocation_failure:order:#,mode:#(GFP_ATOMIC|__GFP_COMP|__GFP_NOTRACK) | 3 | |
| RIP:call_usermodehelper_exec_work | 0 | 36 |
| BUG:kernel_reboot-without-warning_in_test_stage | 0 | 1 |
+-----------------------------------------------------------------------------+------------+------------+
[ 1.016008] ACPI: bus type PCI registered
[ 1.018564] dca service started, version 1.12.1
[ 1.020508] PCI: Using configuration type 1 for base access
[ 1.119145] general protection fault: 0000 [#1] SMP
[ 1.120926] Modules linked in:
[ 1.122422] CPU: 1 PID: 18 Comm: kworker/u4:1 Not tainted 4.9.0-rc8-00052-g1f6e761 #82
[ 1.125729] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 1.129199] Workqueue: events_unbound call_usermodehelper_exec_work
[ 1.131284] task: ffff880011e48040 task.stack: ffffc90000160000
[ 1.133244] RIP: 0010:[<ffffffff810bac29>] [<ffffffff810bac29>] call_usermodehelper_exec_work+0xad/0xc6
[ 1.136621] RSP: 0000:ffffc90000163d60 EFLAGS: 00010202
[ 1.138372] RAX: 6b6b6b6b6b6b6b6b RBX: ffff88001185a848 RCX: ffffc90000163ba8
[ 1.140474] RDX: 0000000000000001 RSI: ffff880011e488d8 RDI: ffff88001185a848
[ 1.143019] RBP: ffffc90000163d78 R08: 0000000086f52214 R09: 0000000000000001
[ 1.145686] R10: ffffc90000163c28 R11: ffffffff810ccb2e R12: 0000000000000197
[ 1.148246] R13: ffff880012425d28 R14: 0000000000000001 R15: ffff880011d88100
[ 1.150764] FS: 0000000000000000(0000) GS:ffff880012c00000(0000) knlGS:0000000000000000
[ 1.152975] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1.154366] CR2: ffffc9000015c000 CR3: 000000000241e000 CR4: 00000000000006e0
[ 1.155924] Stack:
[ 1.156662] 0000000000000000 ffff880011e176b8 ffff88001185a848 ffffc90000163de8
[ 1.158963] ffffffff810be601 0000000000000000 ffffffff82993458 ffffffff830d93e0
[ 1.161377] 0000000000000000 ffffffff82208472 0000000000000001 0000000000000000
[ 1.163700] Call Trace:
[ 1.164662] [<ffffffff810be601>] process_one_work+0x2ef/0x63d
[ 1.165984] [<ffffffff810bf4d8>] worker_thread+0x24f/0x385
[ 1.167336] [<ffffffff810bf289>] ? rescuer_thread+0x2bd/0x2bd
[ 1.168621] [<ffffffff810c4496>] kthread+0xfc/0x104
[ 1.169944] [<ffffffff810c439a>] ? kthread_park+0x5a/0x5a
[ 1.171319] [<ffffffff81d17f2a>] ret_from_fork+0x2a/0x40
[ 1.172527] Code: df ff d0 eb 31 ba 11 80 00 00 48 89 de 48 c7 c7 7b a5 0b 81 e8 f2 88 fe ff 41 89 c4 48 8b 83 80 00 00 00 48 85 c0 74 05 48 89 df <ff> d0 45 85 e4 79 0c 44 89 63 74 48 89 df e8 1a f9 ff ff 58 5b
[ 1.181733] RIP [<ffffffff810bac29>] call_usermodehelper_exec_work+0xad/0xc6
[ 1.183438] RSP <ffffc90000163d60>
[ 1.184480] ---[ end trace e790f2b079f311f6 ]---
[ 1.185654] Kernel panic - not syncing: Fatal exception
Elapsed time: 10
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/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
[lkp-developer] [exit] a517a7759b: aim9.fork_test.ops_per_sec -11.7% regression
by kernel test robot
Greeting,
FYI, we noticed a -11.7% regression of aim9.fork_test.ops_per_sec due to commit:
commit: a517a7759bbbc967b41ca53014a0ff181e37fb71 ("exit: use async_mmput")
git://bee.sh.intel.com/git/aaron/linux.git async_exit
in testcase: aim9
on test machine: 48 threads Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz with 64G memory
with following parameters:
testtime: 300s
test: fork_test
cpufreq_governor: performance
test-description: Suite IX is the "AIM Independent Resource Benchmark:" the famous synthetic benchmark.
test-url: https://sourceforge.net/projects/aimbench/files/aim-suite9/
+------------------+------------------------------------------------------------------+
| testcase: change | unixbench: unixbench.score -6.9% regression |
| test machine | 8 threads Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz with 6G memory |
| test parameters | nr_task=100% |
| | runtime=300s |
| | test=spawn |
+------------------+------------------------------------------------------------------+
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/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: aim9/300s-fork_test-performance/ivb43
v4.9 a517a7759bbbc967b41ca53014
---------------- --------------------------
%stddev %change %stddev
\ | \
5536 ± 0% -11.7% 4888 ± 0% aim9.fork_test.ops_per_sec
8133 ± 1% +18019.9% 1473755 ± 0% aim9.time.involuntary_context_switches
54272855 ± 1% -12.8% 47311903 ± 1% aim9.time.minor_page_faults
94.00 ± 0% -22.3% 73.00 ± 0% aim9.time.percent_of_cpu_this_job_got
116.90 ± 0% -10.7% 104.41 ± 0% aim9.time.system_time
166.24 ± 0% -30.0% 116.29 ± 0% aim9.time.user_time
3312725 ± 0% -33.9% 2190457 ± 0% aim9.time.voluntary_context_switches
157821 ± 1% +3.6% 163427 ± 1% interrupts.CAL:Function_call_interrupts
180798 ± 0% +10.8% 200357 ± 0% meminfo.Committed_AS
54805818 ± 1% -12.7% 47851524 ± 1% proc-vmstat.pgfault
158059 ± 0% +9.9% 173666 ± 1% softirqs.RCU
26292 ± 0% +29.6% 34084 ± 0% vmstat.system.cs
7018 ± 19% +116.4% 15189 ± 13% numa-meminfo.node0.Shmem
10824 ± 19% -29.6% 7618 ± 1% numa-meminfo.node1.Mapped
14006 ± 8% -61.7% 5361 ± 45% numa-meminfo.node1.Shmem
1754 ± 19% +116.4% 3796 ± 13% numa-vmstat.node0.nr_shmem
2705 ± 19% -29.6% 1904 ± 1% numa-vmstat.node1.nr_mapped
3502 ± 8% -61.7% 1341 ± 45% numa-vmstat.node1.nr_shmem
0.27 ± 1% +41.6% 0.38 ± 2% turbostat.CPU%c3
11.66 ± 1% -11.3% 10.35 ± 3% turbostat.Pkg%pc2
4.88 ± 0% +6.9% 5.21 ± 0% turbostat.RAMWatt
1598393 ± 2% -32.4% 1080163 ± 1% cpuidle.C1-IVT.usage
96840065 ± 2% -9.6% 87550759 ± 0% cpuidle.C1E-IVT.time
87535 ± 0% -11.6% 77419 ± 2% slabinfo.kmalloc-32.active_objs
87742 ± 0% -11.7% 77520 ± 2% slabinfo.kmalloc-32.num_objs
1335 ± 2% +69.5% 2262 ± 0% slabinfo.mm_struct.active_objs
1335 ± 2% +71.5% 2289 ± 1% slabinfo.mm_struct.num_objs
8133 ± 1% +18019.9% 1473755 ± 0% time.involuntary_context_switches
54272855 ± 1% -12.8% 47311903 ± 1% time.minor_page_faults
94.00 ± 0% -22.3% 73.00 ± 0% time.percent_of_cpu_this_job_got
116.90 ± 0% -10.7% 104.41 ± 0% time.system_time
166.24 ± 0% -30.0% 116.29 ± 0% time.user_time
3312725 ± 0% -33.9% 2190457 ± 0% time.voluntary_context_switches
2.074e+11 ± 5% -16.9% 1.723e+11 ± 3% perf-stat.branch-instructions
2.11 ± 6% +38.1% 2.92 ± 4% perf-stat.branch-miss-rate%
4.367e+09 ± 1% +15.0% 5.021e+09 ± 0% perf-stat.branch-misses
12.65 ± 4% +19.2% 15.07 ± 1% perf-stat.cache-miss-rate%
3.246e+09 ± 0% +13.6% 3.688e+09 ± 0% perf-stat.cache-misses
7932716 ± 0% +29.7% 10285221 ± 0% perf-stat.context-switches
2.485e+12 ± 4% -8.3% 2.279e+12 ± 3% perf-stat.cpu-cycles
542062 ± 1% +16.0% 628780 ± 0% perf-stat.cpu-migrations
0.68 ± 4% +9.9% 0.75 ± 2% perf-stat.dTLB-load-miss-rate%
1.449e+09 ± 3% +8.7% 1.574e+09 ± 2% perf-stat.dTLB-load-misses
0.15 ± 2% +8.7% 0.16 ± 4% perf-stat.dTLB-store-miss-rate%
2.326e+08 ± 1% +10.1% 2.561e+08 ± 4% perf-stat.dTLB-store-misses
4.276e+08 ± 2% -6.2% 4.01e+08 ± 1% perf-stat.iTLB-load-misses
1.047e+12 ± 5% -16.9% 8.698e+11 ± 3% perf-stat.instructions
2447 ± 4% -11.4% 2168 ± 2% perf-stat.instructions-per-iTLB-miss
0.42 ± 0% -9.4% 0.38 ± 0% perf-stat.ipc
54845277 ± 1% -12.7% 47879336 ± 1% perf-stat.minor-faults
6.114e+08 ± 2% +23.7% 7.566e+08 ± 0% perf-stat.node-load-misses
6.431e+08 ± 2% +24.3% 7.992e+08 ± 0% perf-stat.node-loads
39.23 ± 0% -7.4% 36.34 ± 0% perf-stat.node-store-miss-rate%
perf-stat.branch-misses
6e+09 ++------------------------------------------------------------------+
| |
5e+09 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 O
| |
| *..*.*..*..*.*..*.*..* *..*.* |
4e+09 ++ : : : |
| : : : |
3e+09 ++ : : : |
| : : : |
2e+09 ++ : : : |
| : : : |
| : : : |
1e+09 *+. *..*.* :: |
| + : |
0 ++-*---------------------------------*------------------------------+
aim9.time.user_time
200 ++--------------------------------------------------------------------+
180 *+ *..*..*. .*. .*.. |
| : *..*..*. *. *.*..* *..*..* |
160 ++ : : : |
140 ++ : : : |
O: O:O O O O O O O O O O O : O O O O O |
120 ++ : O: : O O O O O O O O
100 ++ : : : |
80 ++: : : : |
| : : : : |
60 ++: : : : |
40 ++:: : : |
| : : |
20 ++ : : |
0 ++-*----------------------------------*-------------------------------+
aim9.time.percent_of_cpu_this_job_got
120 ++--------------------------------------------------------------------+
| |
100 *+ *..*..*. |
| : *..*..*..*.*..*..*.*..* *..*..* |
|: : : : |
80 ++ 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 : : O |
60 ++ : : : |
| : : : : |
40 ++: : : : |
| : : : : |
| : : : : |
20 ++ : :: |
| : : |
0 ++-*----------------------------------*-------------------------------+
aim9.time.voluntary_context_switches
4.5e+06 ++----------------------------------------------------------------+
* .*.. |
4e+06 ++ *..* .*.. |
3.5e+06 ++ : * *.*..*.*.. |
|: : *.*..* *..*.* |
3e+06 ++ : : : |
2.5e+06 ++ : : : |
|: : : : O O O O O O O O
2e+06 O+: :O O O O O O O O: O:O O |
1.5e+06 ++:O: O O O O : : O O |
| : : : : |
1e+06 ++: : : : |
500000 ++ : :: |
| : : |
0 ++-*--------------------------------*-----------------------------+
aim9.time.involuntary_context_switches
1.8e+06 ++----------------------------------------------------------------+
O O O O O O O O O |
1.6e+06 ++ O O O O O O O O O O O O |
1.4e+06 ++ O O O O O O
| |
1.2e+06 ++ |
1e+06 ++ |
| |
800000 ++ |
600000 ++ |
| |
400000 ++ |
200000 ++ |
| |
0 *+-*-*--*-*--*-*--*-*--*-*--*-*--*--*-*--*-*----------------------+
[*] 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