[x86/mm] e2a7dcce31: kernel_BUG_at_arch/x86/mm/tlb.c
by kernel test robot
FYI, we noticed the following commit:
commit: e2a7dcce31f10bd7471b4245a6d1f2de344e7adf ("x86/mm: Rework lazy TLB to track the actual loaded mm")
https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git x86/tlbflush_cleanup
in testcase: will-it-scale
with following parameters:
test: readseek2
cpufreq_governor: performance
test-description: Will It Scale takes a testcase and runs it from 1 through to n parallel copies to see if the testcase will scale. It builds both a process and threads based test in order to see any differences between the two.
test-url: https://github.com/antonblanchard/will-it-scale
on test machine: 32 threads Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz with 64G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------+------------+------------+
| | ed3e5f1969 | e2a7dcce31 |
+------------------------------------------+------------+------------+
| boot_successes | 11 | 1 |
| boot_failures | 0 | 4 |
| kernel_BUG_at_arch/x86/mm/tlb.c | 0 | 4 |
| invalid_opcode:#[##] | 0 | 4 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 4 |
+------------------------------------------+------------+------------+
[ 22.777203] kernel BUG at arch/x86/mm/tlb.c:39!
[ 22.784095] invalid opcode: 0000 [#1] SMP
[ 22.788850] Modules linked in: ip_tables
[ 22.793503] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.12.0-rc2-00061-ge2a7dcc #1
[ 22.802448] Hardware name: Intel Corporation S2600CP/S2600CP, BIOS SE5C600.86B.99.99.x036.091920111209 09/19/2011
[ 22.814399] task: ffff88081bb725c0 task.stack: ffffc90006358000
[ 22.821303] RIP: 0010:leave_mm+0x39/0x40
[ 22.825950] RSP: 0018:ffffc9000635be48 EFLAGS: 00010046
[ 22.832065] RAX: 0000000000000001 RBX: ffffffff81fa8ba0 RCX: 000000000000001f
[ 22.840312] RDX: ffffffff81f1f9a0 RSI: ffffffff81fa8ba0 RDI: 0000000000000002
[ 22.848568] RBP: ffffc9000635be70 R08: 0000000000000760 R09: 0000000000000008
[ 22.856823] R10: ffffc9000635be50 R11: 0000000000000760 R12: 0000000000000004
[ 22.865069] R13: 0000000000000005 R14: 0000000000000030 R15: ffffffff81fa8d80
[ 22.873325] FS: 0000000000000000(0000) GS:ffff88081f280000(0000) knlGS:0000000000000000
[ 22.882838] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 22.889527] CR2: 000055635b17b0b8 CR3: 0000000001e09000 CR4: 00000000000406e0
[ 22.897780] Call Trace:
[ 22.900782] ? intel_idle+0x109/0x110
[ 22.905159] cpuidle_enter_state+0xf2/0x2d0
[ 22.910118] cpuidle_enter+0x17/0x20
[ 22.914388] call_cpuidle+0x23/0x40
[ 22.918551] do_idle+0x189/0x1e0
[ 22.922431] cpu_startup_entry+0x1d/0x20
[ 22.927091] start_secondary+0x107/0x130
[ 22.931750] secondary_startup_64+0x9f/0x9f
[ 22.936692] Code: 8b 05 04 bd fa 7e 83 f8 01 74 20 48 81 fa a0 f9 f1 81 74 15 55 31 d2 48 c7 c6 a0 f9 f1 81 31 ff 48 89 e5 e8 9a ff ff ff 5d f3 c3 <0f> 0b 0f 1f 44 00 00 66 66 66 66 90 55 48 8b 05 37 f5 02 01 48
[ 22.958497] RIP: leave_mm+0x39/0x40 RSP: ffffc9000635be48
[ 22.964859] ---[ end trace 1426870dcae851dd ]---
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
Thanks,
Kernel Test Robot
3 years, 7 months
[mm: memcontrol] 505a0edfa8: BUG: unable to handle kernel NULL pointer dereference at 0000000000000670
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/Johannes-Weiner/mm-per-lruvec-sl...
commit 505a0edfa8a0f655ac500ae3ae423ba28a851f82
Author: Johannes Weiner <hannes(a)cmpxchg.org>
AuthorDate: Tue May 30 14:17:23 2017 -0400
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Wed May 31 07:15:16 2017 +0800
mm: memcontrol: per-lruvec stats infrastructure
lruvecs are at the intersection of the NUMA node and memcg, which is
the scope for most paging activity.
Introduce a convenient accounting infrastructure that maintains
statistics per node, per memcg, and the lruvec itself.
Then convert over accounting sites for statistics that are already
tracked in both nodes and memcgs and can be easily switched.
Signed-off-by: Johannes Weiner <hannes(a)cmpxchg.org>
b3f9b37e00 mm: memcontrol: use generic mod_memcg_page_state for kmem pages
505a0edfa8 mm: memcontrol: per-lruvec stats infrastructure
aed3486820 mm: memcontrol: account slab stats per lruvec
+------------------------------------------+------------+------------+------------+
| | b3f9b37e00 | 505a0edfa8 | aed3486820 |
+------------------------------------------+------------+------------+------------+
| boot_successes | 35 | 0 | 0 |
| boot_failures | 0 | 13 | 13 |
| BUG:unable_to_handle_kernel | 0 | 13 | 13 |
| Oops:#[##] | 0 | 13 | 13 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 13 | 13 |
+------------------------------------------+------------+------------+------------+
[ 91.583975] Freeing unused kernel memory: 2004K
[ 91.588532] Freeing unused kernel memory: 420K
[ 91.588532] Freeing unused kernel memory: 420K
[ 91.590428] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 91.590428] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 91.594180] BUG: unable to handle kernel NULL pointer dereference at 0000000000000670
[ 91.594180] BUG: unable to handle kernel NULL pointer dereference at 0000000000000670
[ 91.596790] IP: page_add_file_rmap+0x5ca/0x770
[ 91.596790] IP: page_add_file_rmap+0x5ca/0x770
[ 91.598240] PGD 1b704067
[ 91.598240] PGD 1b704067
[ 91.598243] P4D 1b704067
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start bb7b905858c32eaeb233fef7a4a3282ad24f6c15 2ea659a9ef488125eb46da6eb571de5eae5c43f6 --
git bisect bad 28d4d2f839b27ae307ad0b216d5461058f63dc5a # 12:24 B 0 4 16 0 Merge 'aaron/master' into devel-catchup-201705310847
git bisect good 173be31efcb8090af214ec855a1d2bfdff9e37fc # 12:51 G 11 0 0 0 Merge 'linux-review/Gustavo-A-R-Silva/mm-add-NULL-check-to-avoid-potential-NULL-pointer-dereference/20170531-072023' into devel-catchup-201705310847
git bisect bad 572e0452f5be0b632fdf3345e74d374f7b5a97e9 # 13:02 B 0 11 23 0 Merge 'linux-review/Johannes-Weiner/mm-per-lruvec-slab-stats/20170531-071510' into devel-catchup-201705310847
git bisect good a9194126b4a2a23929296963c1f6865364f66ac2 # 13:18 G 11 0 0 0 mm: memcontrol: use the node-native slab memory counters
git bisect bad 505a0edfa8a0f655ac500ae3ae423ba28a851f82 # 13:31 B 0 1 13 0 mm: memcontrol: per-lruvec stats infrastructure
git bisect good b3f9b37e00bf41822606aef60fb88a4d01d5d360 # 13:51 G 11 0 0 0 mm: memcontrol: use generic mod_memcg_page_state for kmem pages
# first bad commit: [505a0edfa8a0f655ac500ae3ae423ba28a851f82] mm: memcontrol: per-lruvec stats infrastructure
git bisect good b3f9b37e00bf41822606aef60fb88a4d01d5d360 # 13:55 G 31 0 0 0 mm: memcontrol: use generic mod_memcg_page_state for kmem pages
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 505a0edfa8a0f655ac500ae3ae423ba28a851f82 # 14:11 B 0 8 20 0 mm: memcontrol: per-lruvec stats infrastructure
# extra tests on HEAD of linux-devel/devel-catchup-201705310847
git bisect bad bb7b905858c32eaeb233fef7a4a3282ad24f6c15 # 14:11 B 0 17 34 2 0day head guard for 'devel-catchup-201705310847'
# extra tests on tree/branch linux-review/Johannes-Weiner/mm-per-lruvec-slab-stats/20170531-071510
git bisect bad aed3486820989689bc87e3b33fcb29fd4a3b8d51 # 14:24 B 0 11 23 0 mm: memcontrol: account slab stats per lruvec
# extra tests with first bad commit reverted
git bisect good 5eee5a67f44088974a4c7ef4302a157f062194a5 # 14:33 G 11 0 0 0 Revert "mm: memcontrol: per-lruvec stats infrastructure"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 7 months
[lkp-robot] [vfs] d6f505f32f: WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup
by kernel test robot
FYI, we noticed the following commit:
commit: d6f505f32f841aab507cfd15f334a8aa4801ca15 ("vfs: define usercopy region in names_cache slab caches")
https://github.com/dwindsor/kspp slabcache-usercopy
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 -m 420M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------------+------------+------------+
| | 2505f429cf | d6f505f32f |
+------------------------------------------------+------------+------------+
| boot_successes | 3 | 0 |
| boot_failures | 0 | 6 |
| WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup | 0 | 6 |
| WARNING:at_lib/kobject.c:#kobject_add_internal | 0 | 6 |
| BUG:unable_to_handle_kernel | 0 | 2 |
| Oops:#[##] | 0 | 2 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 2 |
+------------------------------------------------+------------+------------+
[ 0.994465] WARNING: CPU: 0 PID: 1 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x56/0x70
[ 0.994465] Modules linked in:
[ 0.994469] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.12.0-rc2-next-20170524-00002-gd6f505f #1
[ 0.994470] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 0.994471] task: ffff88000ba30000 task.stack: ffffc900000d0000
[ 0.994473] RIP: 0010:sysfs_warn_dup+0x56/0x70
[ 0.994474] RSP: 0000:ffffc900000d3cb0 EFLAGS: 00010282
[ 0.994476] RAX: 0000000000000051 RBX: ffff88000bbef000 RCX: 0000000000000002
[ 0.994476] RDX: 0000000000000001 RSI: 0000000000000002 RDI: 0000000000000296
[ 0.994477] RBP: ffffc900000d3cc8 R08: 0000000086f18411 R09: 0000000000000051
[ 0.994478] R10: ffff88000bbef000 R11: 00000000000796a0 R12: ffff88000a8c9960
[ 0.994479] R13: ffff88000a9a7bb8 R14: ffff88000b802300 R15: ffff88000b8021c0
[ 0.994481] FS: 0000000000000000(0000) GS:ffff88000be00000(0000) knlGS:0000000000000000
[ 0.994482] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.994483] CR2: 0000000000000000 CR3: 0000000001e09000 CR4: 00000000000006f0
[ 0.994487] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 0.994487] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 0.994488] Call Trace:
[ 0.994493] sysfs_create_dir_ns+0x77/0x90
[ 0.994496] kobject_add_internal+0xbb/0x2d0
[ 0.994500] ? kfree_const+0x21/0x30
[ 0.994502] kobject_init_and_add+0x60/0x90
[ 0.994505] ? sprintf+0x42/0x50
[ 0.994508] sysfs_slab_add+0x124/0x2f0
[ 0.994511] ? set_debug_rodata+0x17/0x17
[ 0.994515] slab_sysfs_init+0x90/0x101
[ 0.994517] ? setup_slub_memcg_sysfs+0x34/0x34
[ 0.994519] do_one_initcall+0x43/0x170
[ 0.994521] ? set_debug_rodata+0x17/0x17
[ 0.994523] kernel_init_freeable+0x1a7/0x24e
[ 0.994525] ? rest_init+0x90/0x90
[ 0.994527] kernel_init+0xe/0x110
[ 0.994529] ret_from_fork+0x2c/0x40
[ 0.994531] Code: 85 c0 48 89 c3 74 12 b9 00 10 00 00 48 89 c2 31 f6 4c 89 ef e8 0c c8 ff ff 4c 89 e2 48 89 de 48 c7 c7 80 3c cc 81 e8 67 a1 ed ff <0f> ff 48 89 df e8 c0 ae f4 ff 5b 41 5c 41 5d 5d c3 66 0f 1f 84
[ 0.994555] ---[ end trace 9765bef219a93ca8 ]---
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
3 years, 7 months
[lkp-robot] [Btrfs] a7e3b975a0: aim7.jobs-per-min -9.8% regression
by kernel test robot
Greeting,
FYI, we noticed a -9.8% regression of aim7.jobs-per-min due to commit:
commit: a7e3b975a0f9296162b72ac6ab7fad9631a07630 ("Btrfs: fix reported number of inode blocks")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: aim7
on test machine: 40 threads Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz with 384G memory
with following parameters:
disk: 1BRD_48G
fs: btrfs
test: disk_wrt
load: 1500
cpufreq_governor: performance
test-description: AIM7 is a traditional UNIX system level benchmark suite which is used to test and measure the performance of multiuser system.
test-url: https://sourceforge.net/projects/aimbench/files/aim-suite7/
In addition to that, the commit also has significant impact on the following tests:
+------------------+-----------------------------------------------------------------------+
| testcase: change | aim7: aim7.jobs-per-min -10.6% regression |
| test machine | 40 threads Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz with 384G memory |
| test parameters | cpufreq_governor=performance |
| | disk=1BRD_48G |
| | fs=btrfs |
| | load=1500 |
| | test=disk_cp |
+------------------+-----------------------------------------------------------------------+
| testcase: change | aim7: aim7.jobs-per-min -2.8% regression |
| test machine | 40 threads Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz with 384G memory |
| test parameters | cpufreq_governor=performance |
| | disk=4BRD_12G |
| | fs=btrfs |
| | load=1500 |
| | md=RAID0 |
| | test=disk_rr |
+------------------+-----------------------------------------------------------------------+
| testcase: change | aim7: aim7.jobs-per-min -10.3% regression |
| test machine | 40 threads Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz with 384G memory |
| test parameters | cpufreq_governor=performance |
| | disk=4BRD_12G |
| | fs=btrfs |
| | load=1500 |
| | md=RAID0 |
| | test=disk_cp |
+------------------+-----------------------------------------------------------------------+
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: aim7/1BRD_48G-btrfs-disk_wrt-1500-performance/lkp-ivb-ep01
e1cbfd7bf6dabdac a7e3b975a0f9296162b72ac6ab
---------------- --------------------------
54221 -10% 48881 aim7.jobs-per-min
453341 426% 2385786 ± 4% aim7.time.voluntary_context_switches
166 11% 184 aim7.time.elapsed_time
166 11% 184 aim7.time.elapsed_time.max
6149 4% 6386 aim7.time.system_time
789480 -45% 431017 ± 4% aim7.time.involuntary_context_switches
528100 12% 589553 ± 5% interrupts.CAL:Function_call_interrupts
2852 ± 10% -49% 1468 ± 7% vmstat.io.bo
13002 124% 29105 vmstat.system.cs
165 -7% 154 turbostat.PkgWatt
138 -8% 126 turbostat.CorWatt
92.60 -6% 87.04 turbostat.%Busy
2842 -9% 2586 turbostat.Avg_MHz
2182198 149% 5435023 ± 3% perf-stat.context-switches
54816290 ± 12% 19% 65316524 ± 9% perf-stat.iTLB-load-misses
302089 76% 530355 ± 5% perf-stat.cpu-migrations
0.21 ± 3% 45% 0.30 perf-stat.branch-miss-rate%
2.136e+09 ± 3% 52% 3.237e+09 perf-stat.branch-misses
1.707e+10 26% 2.143e+10 perf-stat.cache-references
2.197e+09 16% 2.553e+09 perf-stat.node-load-misses
1.907e+09 -12% 1.678e+09 perf-stat.node-store-misses
736175 9% 799843 ± 3% perf-stat.page-faults
736322 9% 799871 ± 3% perf-stat.minor-faults
2.669e+09 -18% 2.2e+09 perf-stat.node-stores
2.759e+11 11% 3.074e+11 ± 4% perf-stat.dTLB-stores
5.516e+09 -3% 5.333e+09 perf-stat.cache-misses
45.63 46.21 perf-stat.node-load-miss-rate%
0.24 4% 0.25 perf-stat.ipc
2.618e+09 14% 2.971e+09 perf-stat.node-loads
41.67 4% 43.26 perf-stat.node-store-miss-rate%
4.524e+12 5% 4.757e+12 perf-stat.instructions
1.192e+12 5% 1.249e+12 perf-stat.dTLB-loads
1.038e+12 4% 1.085e+12 perf-stat.branch-instructions
32.32 -23% 24.89 perf-stat.cache-miss-rate%
perf-stat.cache-references
2.5e+10 ++----------------------------------------------------------------+
| |
| OO OOOO OOOO OOOO OOO O |
2e+10 OO OOOO OOOO O |
| * * *.* *.*** ** .* ** * * * ** *
**.* **.*** : : ** *.* * **.* *.** *.* *.****.* **.* *.*|
1.5e+10 ++ : : : |
| : :: : |
1e+10 ++ : :: : |
| : : :: |
| :: : |
5e+09 ++ :: : |
| : : |
| : : |
0 ++---------*--*---------------------------------------------------+
perf-stat.node-store-miss-rate_
45 +O----------------O------------O-O---OO--------------------------------+
O*.OOO.OO.OOO OOO.*OO.OO.OOO.OO*.*O.O**.***.***.**.***.***.***.**.***.**
40 ++ : : : |
35 ++ : : : |
| : : : |
30 ++ : :: : |
25 ++ : :: : |
| : :: : |
20 ++ :: : |
15 ++ :: : |
| :: : |
10 ++ : : |
5 ++ : : |
| : : |
0 ++----------*--*-------------------------------------------------------+
aim7.jobs-per-min
57000 ++------------------------------------------------------------------+
56000 ++.* |
|* : *.* .* *. * * .* * * |
55000 *+ :: : * * * :+ *. :*.***. ** : .** :.* : *.* *.* *.* *. |
54000 ++ * ** * ** ** * ** * *.** * :* * *|
| * *
53000 ++ |
52000 ++ |
51000 ++ |
| O |
50000 O+ O O O |
49000 +O O O O O O OO OO O O O |
| O O O O O O O |
48000 ++ O O O |
47000 ++---------------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
3 years, 7 months
[lkp-robot] [sched/deadline] df07ad6221: hackbench.throughput -6% regression
by kernel test robot
Greeting,
We noticed a -6% regression of hackbench.throughput due to commit:
commit: df07ad62216215271c289e69bb84c80e274ff869 ("sched/deadline: do not reclaim the whole CPU bandwidth")
git://linux-arm.org/linux-jl.git upstream/deadline/freq-rfc
in testcase: hackbench
on test machine: 112 threads Skylake with 64G memory
with following parameters:
nr_threads: 50%
mode: process
ipc: pipe
cpufreq_governor: performance
test-description: Hackbench is both a benchmark and a stress test for the Linux kernel scheduler.
test-url: https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/sc...
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: hackbench/50%-process-pipe-performance/lkp-skl-sp1
dac39622ec652f87 df07ad62216215271c289e69bb
---------------- --------------------------
%stddev change %stddev
\ | \
183599 -6% 172539 hackbench.throughput
68285 -5% 64816 hackbench.time.system_time
644 -5% 609 hackbench.time.elapsed_time
644 -5% 609 hackbench.time.elapsed_time.max
740621 -11% 659655 hackbench.time.minor_page_faults
3245 -11% 2889 hackbench.time.user_time
7.721e+09 -14% 6.663e+09 hackbench.time.voluntary_context_switches
5.652e+09 -15% 4.78e+09 hackbench.time.involuntary_context_switches
813205 -8% 746105 interrupts.CAL:Function_call_interrupts
1294718 9% 1409201 vmstat.system.in
20765852 -10% 18777314 vmstat.system.cs
1.03e+12 24% 1.278e+12 perf-stat.cache-references
5.149e+08 14% 5.876e+08 ± 5% perf-stat.node-loads
2467 2517 perf-stat.instructions-per-iTLB-miss
0.37 0.37 perf-stat.branch-miss-rate%
0.20 0.20 perf-stat.dTLB-load-miss-rate%
85.53 -4% 81.82 perf-stat.node-store-miss-rate%
1.432e+14 -5% 1.355e+14 perf-stat.cpu-cycles
1859598 -8% 1717515 perf-stat.page-faults
1859603 -8% 1717515 perf-stat.minor-faults
0.70 -8% 0.65 perf-stat.ipc
7.289e+10 -12% 6.422e+10 perf-stat.branch-misses
1.993e+13 -13% 1.732e+13 perf-stat.branch-instructions
2.706e+13 -13% 2.351e+13 perf-stat.dTLB-loads
1.009e+14 -13% 8.759e+13 perf-stat.instructions
1.736e+13 -13% 1.507e+13 perf-stat.dTLB-stores
1.342e+10 -14% 1.148e+10 perf-stat.context-switches
5.488e+10 -15% 4.682e+10 perf-stat.dTLB-load-misses
4.088e+10 -15% 3.479e+10 perf-stat.iTLB-load-misses
3.677e+09 -20% 2.956e+09 perf-stat.cpu-migrations
2.852e+09 ± 3% -23% 2.203e+09 ± 8% perf-stat.node-store-misses
1.83 -26% 1.35 ± 5% perf-stat.cache-miss-rate%
1.159e+09 ± 21% -45% 6.335e+08 ± 45% perf-stat.iTLB-loads
perf-stat.branch-instructions
2.05e+13 ++---------------------------------------------------------------+
| |
2e+13 ++ .**.**.*.**.**.* **.**.**.*.**.**.*
| ** : : |
1.95e+13 ++ + : : |
*.**.**.* **.**.**.*.**.**.* |
1.9e+13 ++ |
| |
1.85e+13 ++ |
| |
1.8e+13 ++ |
| |
1.75e+13 O+OO OO O OO OO O O |
| OO OO OO O OO OO O O |
1.7e+13 ++---------------------------------------------------------------+
perf-stat.dTLB-load-misses
6e+10 ++----------------------------------------------------------------+
*.**. *.* |
5.8e+10 ++ * : *.**.**.*.**.**.*.* |
| : : : |
5.6e+10 ++ : : *. |
| : .**. *.* : *. .* .*.**.* .*
5.4e+10 ++ **.**.* *.* * ** * * |
| |
5.2e+10 ++ |
| |
5e+10 ++ |
| |
4.8e+10 ++ O |
O OO O O OO OO O OO O OO OO O OO OO O |
4.6e+10 ++-------------------------------------O--------------------------+
perf-stat.context-switches
1.45e+10 *+**-**-*--------------------*--------*--------------------------+
| : :*.**.** **.**.* |
1.4e+10 ++ : : : |
| : : : |
1.35e+10 ++ : *.*.**.**.* **.**.**.*.**.**.*
| **.**.* |
1.3e+10 ++ |
| |
1.25e+10 ++ |
| |
1.2e+10 ++ |
| |
1.15e+10 O+OO OO O OO OO OO O OO OO O OO OO OO O |
| |
1.1e+10 ++---------------------------------------------------------------+
perf-stat.cpu-migrations
4.4e+09 ++----------------------------------------------------------------+
*.* .**.* *. .* |
4.2e+09 ++ * : : **.**.* *.**.*.* |
4e+09 ++ : : : |
| : : : |
3.8e+09 ++ : : : |
| : .* .* * *.*. .**.*.**. *.*
3.6e+09 ++ **.**.* *.* *.* ** * |
| |
3.4e+09 ++ |
3.2e+09 ++ |
| |
3e+09 O+OO OO O OO OO O O O OO O O O O O |
| O O O O O |
2.8e+09 ++----------------------------------------------------------------+
hackbench.throughput
200000 ++-----------------------------------------------------------------+
| |
195000 *+**.*.** *.*.**.*.**.**.*.** |
| : : : |
| : : : |
190000 ++ : : : |
| : : : |
185000 ++ **.*.* .**.*.**.* *.**.*.**. .*
| *.* **.*.** |
180000 ++ |
| |
| |
175000 O+OO O O OO O O O |
| O O OO O OO OO O OO O OO |
170000 ++-----------------------------------------------------------------+
hackbench.time.user_time
3500 ++-------------------------------------------------------------------+
| |
3400 ++ .** *. .**. .**. .**. .* |
*.**.* : : * * * * : |
3300 ++ : .* : : |
| *. *. .* *.*.* .*.* *.*.*. .**.*.* .*
3200 ++ * * * **.* * |
| |
3100 ++ |
| |
3000 ++ O |
O O O O O O OO O O |
2900 ++O O O O OO O O O OO O OO |
| |
2800 ++-------------------------------------------------------------------+
hackbench.time.minor_page_faults
760000 ++----------------------------------------------------*------------+
| .* * .* * *. .*. + : *. *.*. |
740000 ++ .* :+: *. .* *.*.* + .* *.* * **. * : : * **.|
*.** * :+ ** **.* *.* *.* : *
720000 ++ * * |
| |
700000 ++ |
| |
680000 ++ |
| O O |
660000 O+O O O O O O OO O O OO O |
| O O O O O O O |
640000 ++ O O |
| |
620000 ++-----------------------------------------------------------------+
hackbench.time.voluntary_context_switches
8.2e+09 *+**-**-*--------------------*-**-*----**-**----------------------+
| : : *.* *.* |
8e+09 ++ : : : |
7.8e+09 ++ : : : |
| **.**.*.**.*.**.** *.*.**.**.*.**.**.*
7.6e+09 ++ |
| |
7.4e+09 ++ |
| |
7.2e+09 ++ |
7e+09 ++ |
| |
6.8e+09 ++ |
O OO OO O OO OO O OO O OO O O O OO O |
6.6e+09 ++------------------------O-----O------O--------------------------+
hackbench.time.involuntary_context_switches
6.2e+09 *+-*-**-*--------------------*---------*--------------------------+
| * : : **.**.* *.**.*.* |
6e+09 ++ : : : |
5.8e+09 ++ : : : |
| : : : .**. |
5.6e+09 ++ **.**.*.**.*.**.** *.*.**.**.* **.*
| |
5.4e+09 ++ |
| |
5.2e+09 ++ |
5e+09 ++ |
| |
4.8e+09 O+OO OO O OO OO O OO O OO OO O OO OO O |
| O |
4.6e+09 ++----------------------------------------------------------------+
vmstat.system.cs
2.4e+07 ++----------------------------------------------------------------+
*.**.**.* *.**.**.*.**.**.*.* |
2.3e+07 ++ : : : |
| : : : |
| : : : |
2.2e+07 ++ : : : |
| : : : |
2.1e+07 ++ : .* .**.*.**.** *.*.**.**. .**. .*
| ** *.* * ** |
2e+07 ++ |
| |
| O O |
1.9e+07 O+O O O OO OO O OO O OO OO O OO OO O O |
| |
1.8e+07 ++----------------------------------------------------------------+
[*] 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
3 years, 7 months
[lkp-robot] [mm] 2a2e48854d: fio.read_bw_MBps -4% regression
by kernel test robot
Greeting,
FYI, we noticed a -4% regression of fio.read_bw_MBps due to commit:
commit: 2a2e48854d704214dac7546e87ae0e4daa0e61a0 ("mm: vmscan: fix IO/refault regression in cache workingset transition")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: fio-basic
on test machine: 56 threads Intel(R) Xeon(R) CPU E5-2695 v3 @ 2.30GHz with 256G memory
with following parameters:
disk: 2pmem
fs: ext4
runtime: 200s
nr_task: 50%
time_based: tb
rw: randread
bs: 4k
ioengine: mmap
test_size: 200G
cpufreq_governor: performance
test-description: Fio is a tool that will spawn a number of threads or processes doing a particular type of I/O action as specified by the user.
test-url: https://github.com/axboe/fio
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: fio-basic/2pmem-ext4-200s-50%-tb-randread-4k-mmap-200G-performance/lkp-hsw-ep6
20ac28933c49433e 2a2e48854d704214dac7546e87
---------------- --------------------------
%stddev %change %stddev
\ | \
10508 ± 0% -4.0% 10085 ± 0% fio.read_bw_MBps
0.03 ± 14% +80.0% 0.06 ±-1666% fio.latency_100us%
0.03 ± 17% +87.5% 0.05 ±-2000% fio.latency_10ms%
87.38 ± 0% +5.6% 92.30 ± -1% fio.latency_10us%
3.43 ± 1% +16.8% 4.01 ±-24% fio.latency_20us%
0.03 ± 17% -62.5% 0.01 ±-10000% fio.latency_2ms%
7.20 ± 0% -76.0% 1.73 ±-57% fio.latency_2us%
0.03 ± 17% -62.5% 0.01 ±-10000% fio.latency_4ms%
1.32 ± 1% -12.3% 1.16 ±-86% fio.latency_4us%
0.01 ± 0% -100.0% 0.00 ± -1% fio.latency_500ms%
0.52 ± 3% +31.8% 0.69 ±-144% fio.latency_50us%
0.01 ± 0% -100.0% 0.00 ± -1% fio.latency_750ms%
7.00 ± 0% +14.3% 8.00 ±-12% fio.read_clat_90%_us
17.00 ± 0% +5.9% 18.00 ± -5% fio.read_clat_99%_us
9.88 ± 0% +4.5% 10.32 ± -9% fio.read_clat_mean_us
911.88 ± 2% -42.8% 521.73 ± 0% fio.read_clat_stddev
2690283 ± 0% -4.0% 2581939 ± 0% fio.read_iops
3.965e+09 ± 0% +2.0% 4.045e+09 ± 0% fio.time.file_system_inputs
692578 ± 1% -34.1% 456120 ± 0% fio.time.involuntary_context_switches
4.957e+08 ± 0% +2.0% 5.056e+08 ± 0% fio.time.major_page_faults
1986592 ± 1% -6.3% 1861780 ± 0% fio.time.maximum_resident_set_size
121521 ± 18% +42.9% 173680 ± 0% fio.time.minor_page_faults
526.89 ± 0% -7.9% 485.07 ± 0% fio.time.user_time
106328 ± 22% +51.6% 161188 ± 0% fio.time.voluntary_context_switches
50712741 ± 0% +1.6% 51542491 ± 0% interrupts.CAL:Function_call_interrupts
62385 ± 29% -62.4% 23427 ± 0% softirqs.NET_RX
0.01 ± 10% -14.1% 0.00 ±-23218% mpstat.cpu.soft%
4.83 ± 0% -9.3% 4.38 ±-22% mpstat.cpu.usr%
6106604 ± 22% +28.7% 7860226 ± 0% cpuidle.C1.time
28587 ± 1% +11.7% 31921 ± 0% cpuidle.C1E.usage
19210663 ± 1% -10.6% 17173951 ± 0% cpuidle.C3.time
692578 ± 1% -34.1% 456120 ± 0% time.involuntary_context_switches
121521 ± 18% +42.9% 173680 ± 0% time.minor_page_faults
106328 ± 22% +51.6% 161188 ± 0% time.voluntary_context_switches
9766835 ± 0% +2.0% 9963297 ± 0% vmstat.io.bi
7266 ± 0% -75.8% 1759 ± 0% vmstat.memory.buff
10521 ± 8% -21.6% 8247 ± 0% vmstat.system.cs
54.56 ± 0% -1.7% 53.64 ± -1% turbostat.%Busy
1374 ± 0% -1.3% 1356 ± 0% turbostat.Avg_MHz
16.10 ± 15% -23.7% 12.28 ± -8% turbostat.PKG_%
0.17 ± 0% +11.8% 0.19 ±-526% turbostat.Pkg%pc2
0.11 ± 58% +67.6% 0.19 ±-526% turbostat.Pkg%pc6
34371896 ± 6% +35.5% 46573105 ± 0% numa-numastat.node0.numa_foreign
25970264 ± 10% +39.9% 36331607 ± 0% numa-numastat.node0.numa_miss
25975118 ± 10% +39.9% 36331667 ± 0% numa-numastat.node0.other_node
25970815 ± 10% +39.9% 36331410 ± 0% numa-numastat.node1.numa_foreign
34373712 ± 6% +35.5% 46573465 ± 0% numa-numastat.node1.numa_miss
34379793 ± 6% +35.5% 46584341 ± 0% numa-numastat.node1.other_node
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
3 years, 7 months
[linux] 4536803778: BUG:unable_to_handle_kernel
by kernel test robot
FYI, we noticed the following commit:
commit: 453680377840319afde1ad40a462029bedcb8b81 ("linux-next")
git://git.cmpxchg.org/linux-mmotm.git master
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 -cpu Westmere -m 512M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------------+------------+------------+
| | f3d87dd314 | 4536803778 |
+-------------------------------------------------+------------+------------+
| boot_successes | 8 | 3 |
| boot_failures | 0 | 14 |
| BUG:kernel_reboot-without-warning_in_test_stage | 0 | 4 |
| BUG:unable_to_handle_kernel | 0 | 10 |
| Oops:#[##] | 0 | 10 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 10 |
+-------------------------------------------------+------------+------------+
[ 92.329685] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 92.329703] IP: memzero_explicit+0x9/0x10
[ 92.329704] PGD 1453a067
[ 92.329705] P4D 1453a067
[ 92.329706] PUD 14766067
[ 92.329706] PMD 0
[ 92.329707]
[ 92.329709] Oops: 0002 [#1] SMP
[ 92.329711] Modules linked in:
[ 92.329714] CPU: 0 PID: 2921 Comm: trinity-c0 Not tainted 4.12.0-rc1-mm1-00129-g4536803 #29
[ 92.329715] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 92.329716] task: ffff921acfe6a9c0 task.stack: ffffb859c09a0000
[ 92.329719] RIP: 0010:memzero_explicit+0x9/0x10
[ 92.329720] RSP: 0000:ffffb859c09a3ec8 EFLAGS: 00010246
[ 92.329722] RAX: 0000000000000000 RBX: ffff921ad47c5990 RCX: 0000000000000989
[ 92.329723] RDX: 0000000000000000 RSI: 0000000000000989 RDI: 0000000000000000
[ 92.329724] RBP: ffffb859c09a3f28 R08: 0000001d511ecc46 R09: 0000000000000000
[ 92.329725] R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000989
[ 92.329726] R13: 0000000000000000 R14: ffffffffffffff82 R15: ffffffffffffff82
[ 92.329728] FS: 0000000000000000(0000) GS:ffff921adfa00000(0063) knlGS:0000000008a18840
[ 92.329729] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
[ 92.329731] CR2: 0000000000000000 CR3: 0000000014529000 CR4: 00000000000006f0
[ 92.329734] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 92.329735] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
[ 92.329736] Call Trace:
[ 92.329740] ? SyS_add_key+0x172/0x194
[ 92.329745] do_int80_syscall_32+0x66/0x113
[ 92.329749] entry_INT80_compat+0x38/0x50
[ 92.329750] RIP: 0023:0x8090aa2
[ 92.329751] RSP: 002b:00000000fff228a8 EFLAGS: 00000292 ORIG_RAX: 000000000000011e
[ 92.329753] RAX: ffffffffffffffda RBX: 00000000080eca87 RCX: 00000000f6559000
[ 92.329754] RDX: 0000000000000000 RSI: 0000000000000989 RDI: 000000007fbc79af
[ 92.329755] RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
[ 92.329756] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 92.329757] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 92.329763] Code: 48 85 d2 74 1b 48 8d 4a ff 48 39 d0 4c 89 c7 48 89 ca 48 0f 42 d0 48 89 d1 f3 a4 41 c6 04 10 00 5d c3 55 48 89 f1 31 c0 48 89 fa <f3> aa 48 89 e5 5d c3 55 31 c0 48 85 d2 48 89 e5 74 56 45 31 c0
[ 92.329793] RIP: memzero_explicit+0x9/0x10 RSP: ffffb859c09a3ec8
[ 92.329793] CR2: 0000000000000000
[ 92.440790] ---[ end trace 2c120dad362fd1d3 ]---
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
3 years, 7 months
[lkp-robot] [block] c4e7d723f3: WARNING:at_block/blk-merge.c:#attempt_merge
by kernel test robot
FYI, we noticed the following commit:
commit: c4e7d723f3a1823e5cc6d1a2b4611c2561b504fc ("block: Check locking assumptions at runtime")
https://github.com/bvanassche/linux for-next
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):
+---------------------------------------------+------------+------------+
| | 1f601b31df | c4e7d723f3 |
+---------------------------------------------+------------+------------+
| boot_successes | 41 | 4 |
| boot_failures | 0 | 4 |
| WARNING:at_block/blk-merge.c:#attempt_merge | 0 | 4 |
+---------------------------------------------+------------+------------+
[ 207.874416] WARNING: CPU: 0 PID: 419 at block/blk-merge.c:674 attempt_merge+0xd1/0x11a6
[ 207.874416] WARNING: CPU: 0 PID: 419 at block/blk-merge.c:674 attempt_merge+0xd1/0x11a6
[ 207.879165] CPU: 0 PID: 419 Comm: blkid Not tainted 4.12.0-rc2-00189-gc4e7d723 #1
[ 207.879165] CPU: 0 PID: 419 Comm: blkid Not tainted 4.12.0-rc2-00189-gc4e7d723 #1
[ 207.882794] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 207.882794] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 207.887696] task: ffff88001ecfc4c0 task.stack: ffffc9000053c000
[ 207.887696] task: ffff88001ecfc4c0 task.stack: ffffc9000053c000
[ 207.890582] RIP: 0010:attempt_merge+0xd1/0x11a6
[ 207.890582] RIP: 0010:attempt_merge+0xd1/0x11a6
[ 207.892811] RSP: 0018:ffffc9000053f8e8 EFLAGS: 00010296
[ 207.892811] RSP: 0018:ffffc9000053f8e8 EFLAGS: 00010296
[ 207.895393] RAX: ffff88001ecfc4c0 RBX: ffff880013fde008 RCX: ffffc9000053fb20
[ 207.895393] RAX: ffff88001ecfc4c0 RBX: ffff880013fde008 RCX: ffffc9000053fb20
[ 207.898764] RDX: 00000000ffffffff RSI: ffff880013fde2b0 RDI: 0000000000000246
[ 207.898764] RDX: 00000000ffffffff RSI: ffff880013fde2b0 RDI: 0000000000000246
[ 207.902212] RBP: ffffc9000053f9b0 R08: ffff880014271a90 R09: 0000000000000000
[ 207.902212] RBP: ffffc9000053f9b0 R08: ffff880014271a90 R09: 0000000000000000
[ 207.905666] R10: ffffc9000053f9c0 R11: ffff880014271af8 R12: ffff880013a9b400
[ 207.905666] R10: ffffc9000053f9c0 R11: ffff880014271af8 R12: ffff880013a9b400
[ 207.909127] R13: ffff880013a9b600 R14: ffff88001427dc00 R15: ffff880013fde008
[ 207.909127] R13: ffff880013a9b600 R14: ffff88001427dc00 R15: ffff880013fde008
[ 207.912703] FS: 00007f33d86a3740(0000) GS:ffffffff8363e000(0000) knlGS:0000000000000000
[ 207.912703] FS: 00007f33d86a3740(0000) GS:ffffffff8363e000(0000) knlGS:0000000000000000
[ 207.916620] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 207.916620] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 207.919447] CR2: 000000000211f1d8 CR3: 000000001ee60000 CR4: 00000000000006f0
[ 207.919447] CR2: 000000000211f1d8 CR3: 000000001ee60000 CR4: 00000000000006f0
[ 207.922919] Call Trace:
[ 207.922919] Call Trace:
[ 207.924163] ? kvm_clock_read+0x16/0x1e
[ 207.924163] ? kvm_clock_read+0x16/0x1e
[ 207.926065] blk_attempt_req_merge+0x3f/0x98
[ 207.926065] blk_attempt_req_merge+0x3f/0x98
[ 207.928171] elv_attempt_insert_merge+0x63/0xb4
[ 207.928171] elv_attempt_insert_merge+0x63/0xb4
[ 207.930407] blk_mq_sched_try_insert_merge+0x74/0x8e
[ 207.930407] blk_mq_sched_try_insert_merge+0x74/0x8e
[ 207.932846] dd_insert_requests+0xb0/0x261
[ 207.932846] dd_insert_requests+0xb0/0x261
[ 207.934869] ? dd_merged_requests+0xbe/0xbe
[ 207.934869] ? dd_merged_requests+0xbe/0xbe
[ 207.936936] blk_mq_sched_insert_requests+0x131/0x133
[ 207.936936] blk_mq_sched_insert_requests+0x131/0x133
[ 207.939417] blk_mq_flush_plug_list+0x30e/0x3dd
[ 207.939417] blk_mq_flush_plug_list+0x30e/0x3dd
[ 207.941654] blk_flush_plug_list+0x10f/0x2f5
[ 207.941654] blk_flush_plug_list+0x10f/0x2f5
[ 207.943761] blk_finish_plug+0x35/0x4b
[ 207.943761] blk_finish_plug+0x35/0x4b
[ 207.945629] ? blkdev_write_begin+0x4c/0x4c
[ 207.945629] ? blkdev_write_begin+0x4c/0x4c
[ 207.947700] __do_page_cache_readahead+0x3e2/0x445
[ 207.947700] __do_page_cache_readahead+0x3e2/0x445
[ 207.950048] ondemand_readahead+0x4e8/0x506
[ 207.950048] ondemand_readahead+0x4e8/0x506
[ 207.952119] ? ondemand_readahead+0x4e8/0x506
[ 207.952119] ? ondemand_readahead+0x4e8/0x506
[ 207.954270] page_cache_async_readahead+0xff/0x14e
[ 207.954270] page_cache_async_readahead+0xff/0x14e
[ 207.956627] generic_file_read_iter+0x336/0xb38
[ 207.956627] generic_file_read_iter+0x336/0xb38
[ 207.958864] blkdev_read_iter+0x61/0x78
[ 207.958864] blkdev_read_iter+0x61/0x78
[ 207.960855] __vfs_read+0x149/0x19d
[ 207.960855] __vfs_read+0x149/0x19d
[ 207.962878] vfs_read+0xda/0x1a1
[ 207.962878] vfs_read+0xda/0x1a1
[ 207.964501] SyS_read+0x5a/0xc3
[ 207.964501] SyS_read+0x5a/0xc3
[ 207.966084] entry_SYSCALL_64_fastpath+0x23/0xc1
[ 207.966084] entry_SYSCALL_64_fastpath+0x23/0xc1
[ 207.968371] RIP: 0033:0x7f33d7f8b0a0
[ 207.968371] RIP: 0033:0x7f33d7f8b0a0
[ 207.970326] RSP: 002b:00007ffe6bbbd3f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[ 207.970326] RSP: 002b:00007ffe6bbbd3f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[ 207.974007] RAX: ffffffffffffffda RBX: 00007f33d825c720 RCX: 00007f33d7f8b0a0
[ 207.974007] RAX: ffffffffffffffda RBX: 00007f33d825c720 RCX: 00007f33d7f8b0a0
[ 207.977488] RDX: 0000000000000200 RSI: 000000000211f9d8 RDI: 0000000000000003
[ 207.977488] RDX: 0000000000000200 RSI: 000000000211f9d8 RDI: 0000000000000003
[ 207.980963] RBP: 00000000000005a1 R08: 0000000000000028 R09: 0000000000200000
[ 207.980963] RBP: 00000000000005a1 R08: 0000000000000028 R09: 0000000000200000
[ 207.984431] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f33d825c778
[ 207.984431] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f33d825c778
[ 207.987900] R13: 0000000000000589 R14: 000000000211ec30 R15: 0000000000018e31
[ 207.987900] R13: 0000000000000589 R14: 000000000211ec30 R15: 0000000000018e31
[ 207.991363] Code: ff f7 45 a8 00 40 06 00 0f 85 db 10 00 00 e8 ac 82 c5 ff 48 8b 45 c8 f7 40 48 1a 00 04 00 0f 85 c5 10 00 00 eb 09 e8 94 82 c5 ff <0f> ff eb 82 e8 8b 82 c5 ff 48 8b 45 d0 44 8b 60 44 45 0f b6 ec
[ 207.991363] Code: ff f7 45 a8 00 40 06 00 0f 85 db 10 00 00 e8 ac 82 c5 ff 48 8b 45 c8 f7 40 48 1a 00 04 00 0f 85 c5 10 00 00 eb 09 e8 94 82 c5 ff <0f> ff eb 82 e8 8b 82 c5 ff 48 8b 45 d0 44 8b 60 44 45 0f b6 ec
[ 208.000626] ---[ end trace 3746e1136bcc217e ]---
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
3 years, 7 months
[net] 31c1176f8d: kernel_BUG_at_mm/slab_common.c
by kernel test robot
FYI, we noticed the following commit:
commit: 31c1176f8d6836d47b540f3b1c4b3a23d6482019 ("net: define usercopy region in struct proto slab cache")
https://github.com/dwindsor/kspp slabcache-usercopy
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu IvyBridge -smp 2 -m 1G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------+------------+------------+
| | c5867e7a50 | 31c1176f8d |
+------------------------------------------+------------+------------+
| boot_successes | 8 | 0 |
| boot_failures | 0 | 8 |
| kernel_BUG_at_mm/slab_common.c | 0 | 8 |
| invalid_opcode:#[##] | 0 | 8 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 8 |
+------------------------------------------+------------+------------+
[ 18.634383] kernel BUG at mm/slab_common.c:466!
[ 18.635878] invalid opcode: 0000 [#1] SMP
[ 18.636946] Modules linked in:
[ 18.636946] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.12.0-rc2-next-20170524-00014-g31c1176 #24
[ 18.636946] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 18.636946] task: ffff8bacd2648040 task.stack: ffff9ccbc031c000
[ 18.636946] RIP: 0010:__kmem_cache_create_usercopy+0x15f/0x2b3
[ 18.636946] RSP: 0018:ffff9ccbc031fdc0 EFLAGS: 00010217
[ 18.636946] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffb30bdaa0
[ 18.636946] RDX: 0000000000000001 RSI: 0000000000000020 RDI: ffffffffb340dc7c
[ 18.636946] RBP: ffff9ccbc031fe08 R08: 000000066ec33805 R09: 0000000000000001
[ 18.636946] R10: ffff9ccbc031fdb0 R11: 0000000000000003 R12: 0000000000000748
[ 18.636946] R13: 0000000000002000 R14: fffffffffffff97c R15: ffffffffb340dc78
[ 18.636946] FS: 0000000000000000(0000) GS:ffff8bacd3200000(0000) knlGS:0000000000000000
[ 18.636946] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 18.636946] CR2: 00007fbae303cf36 CR3: 000000001502c000 CR4: 00000000001406f0
[ 18.636946] Call Trace:
[ 18.636946] kmem_cache_create_usercopy+0x11/0x13
[ 18.636946] proto_register+0xa1/0x23f
[ 18.636946] sctp_init+0x391/0x4d4
[ 18.636946] ? dccpprobe_init+0x10e/0x10e
[ 18.636946] ? set_debug_rodata+0x17/0x17
[ 18.636946] do_one_initcall+0x90/0x138
[ 18.636946] ? set_debug_rodata+0x17/0x17
[ 18.636946] kernel_init_freeable+0x1d5/0x25d
[ 18.636946] ? rest_init+0x13b/0x13b
[ 18.636946] kernel_init+0xe/0xfa
[ 18.636946] ret_from_fork+0x31/0x40
[ 18.636946] Code: e8 41 2b 5e 00 31 c0 e9 64 01 00 00 4d 85 f6 75 09 48 83 7d c8 00 74 02 0f 0b 4d 39 f4 72 0c 4c 89 e0 4c 29 f0 48 39 45 c8 76 02 <0f> 0b 41 81 e5 00 6c df 00 4d 85 f6 74 1b be c0 00 40 01 4c 89
[ 18.636946] RIP: __kmem_cache_create_usercopy+0x15f/0x2b3 RSP: ffff9ccbc031fdc0
[ 18.677478] ---[ end trace d2abd5911ef5b00f ]---
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
3 years, 7 months
[usb] 1ff3681b70: WARNING:at_drivers/usb/core/hcd.c:#usb_hcd_map_urb_for_dma
by kernel test robot
FYI, we noticed the following commit:
commit: 1ff3681b70e98f70ed8d727e1a0f324c7fa47653 ("usb: core: hcd: use generic function to check DMA capability")
https://git.kernel.org/cgit/linux/kernel/git/wsa/linux.git renesas/topic/i2c-core-dma
in testcase: will-it-scale
with following parameters:
nr_task: 16
mode: process
test: read1
cpufreq_governor: performance
test-description: Will It Scale takes a testcase and runs it from 1 through to n parallel copies to see if the testcase will scale. It builds both a process and threads based test in order to see any differences between the two.
test-url: https://github.com/antonblanchard/will-it-scale
on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 64G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------+------------+------------+
| | f74a8692f9 | 1ff3681b70 |
+-------------------------------+------------+------------+
| boot_successes | 4 | 1 |
| boot_failures | 0 | 2 |
| BUG:kernel_hang_in_test_stage | 0 | 2 |
+-------------------------------+------------+------------+
kern :warn : [ 22.340030] WARNING: CPU: 0 PID: 853 at drivers/usb/core/hcd.c:1588 usb_hcd_map_urb_for_dma+0x3f0/0x540
kern :warn : [ 22.340030] Modules linked in:
kern :warn : [ 22.340035] CPU: 0 PID: 853 Comm: kworker/0:3 Not tainted 4.12.0-rc2-00012-g1ff3681 #1
kern :warn : [ 22.340036] Hardware name: Intel Corporation S2600KPR/S2600KPR, BIOS SE5C610.86B.01.01.0019.101220160604 10/12/2016
kern :warn : [ 22.340039] Workqueue: usb_hub_wq hub_event
kern :warn : [ 22.340042] task: ffff8808409fa5c0 task.stack: ffffc9000a080000
kern :warn : [ 22.340045] RIP: 0010:usb_hcd_map_urb_for_dma+0x3f0/0x540
kern :warn : [ 22.340046] RSP: 0000:ffffc9000a083a88 EFLAGS: 00010292
kern :warn : [ 22.340048] RAX: 000000000000001f RBX: ffff880840ad63c0 RCX: 0000000000000000
kern :warn : [ 22.340049] RDX: 0000000000000001 RSI: 0000000000000002 RDI: 0000000000000286
kern :warn : [ 22.340050] RBP: ffffc9000a083ac8 R08: 0000000000000000 R09: 000000000000001f
kern :warn : [ 22.340051] R10: ffff880840ad63c0 R11: 00000000000e62a0 R12: ffff880840abd040
kern :warn : [ 22.340052] R13: 0000000000000000 R14: ffff88103d776800 R15: 0000000000000002
kern :warn : [ 22.340054] FS: 0000000000000000(0000) GS:ffff88085f200000(0000) knlGS:0000000000000000
kern :warn : [ 22.340056] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern :warn : [ 22.340057] CR2: 0000000000000000 CR3: 000000107ee09000 CR4: 00000000003406f0
kern :warn : [ 22.340058] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
kern :warn : [ 22.340059] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
kern :warn : [ 22.340060] Call Trace:
kern :warn : [ 22.340066] usb_hcd_submit_urb+0x353/0xb90
kern :warn : [ 22.340076] ? dev_vprintk_emit+0xff/0x200
kern :warn : [ 22.340082] ? try_to_del_timer_sync+0x44/0x60
kern :warn : [ 22.340085] usb_submit_urb+0x2e4/0x520
kern :warn : [ 22.340088] usb_submit_urb+0x38/0x60
kern :warn : [ 22.340091] usb_start_wait_urb+0x5f/0x150
kern :warn : [ 22.340094] usb_control_msg+0xc1/0xf0
kern :warn : [ 22.340097] hub_port_init+0x303/0xb90
kern :warn : [ 22.340099] hub_port_connect+0x1da/0x9c0
kern :warn : [ 22.340102] hub_event+0x8d5/0xad0
kern :warn : [ 22.340110] process_one_work+0x198/0x3e0
kern :warn : [ 22.340113] worker_thread+0x4e/0x3e0
kern :warn : [ 22.340116] kthread+0x114/0x150
kern :warn : [ 22.340119] ? process_one_work+0x3e0/0x3e0
kern :warn : [ 22.340122] ? kthread_create_on_node+0x40/0x40
kern :warn : [ 22.340125] ret_from_fork+0x2c/0x40
kern :warn : [ 22.340127] Code: 48 05 00 40 00 00 49 39 c4 72 66 80 3d b4 da 8a 00 00 0f 85 44 ff ff ff 48 c7 c7 38 05 d4 81 c6 05 a0 da 8a 00 01 e8 fd d5 a3 ff <0f> ff b8 f5 ff ff ff e9 2a ff ff ff 48 8b 15 c5 f1 6c 00 e9 50
kern :warn : [ 22.340163] ---[ end trace 5586863d1d26d220 ]---
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
Thanks,
Kernel Test Robot
3 years, 7 months