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, 8 months
[lkp-robot] [sched/cfs] 625ed2bf04: unixbench.score -7.4% regression
by kernel test robot
Greeting,
FYI, we noticed a -7.4% regression of unixbench.score due to commit:
commit: 625ed2bf049d5a352c1bcca962d6e133454eaaff ("sched/cfs: Make util/load_avg more stable")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: unixbench
on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 64G memory
with following parameters:
runtime: 300s
nr_task: 100%
test: spawn
cpufreq_governor: performance
test-description: UnixBench is the original BYTE UNIX benchmark suite aims to test performance of Unix-like system.
test-url: https://github.com/kdlucas/byte-unixbench
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
testcase/path_params/tbox_group/run: unixbench/300s-100%-spawn-performance/lkp-bdw-ep3b
8663effb24f94303 625ed2bf049d5a352c1bcca962
---------------- --------------------------
%stddev change %stddev
\ | \
8888 -7% 8234 unixbench.score
11626 31% 15267 unixbench.time.system_time
5084 23% 6259 unixbench.time.percent_of_cpu_this_job_got
5203 5% 5455 unixbench.time.user_time
66039778 -7% 61588314 unixbench.time.voluntary_context_switches
7.932e+08 -7% 7.34e+08 unixbench.time.minor_page_faults
24502668 -52% 11794316 unixbench.time.involuntary_context_switches
628084 -17% 518637 interrupts.CAL:Function_call_interrupts
6000 ± 57% 1e+04 19033 ± 58% latency_stats.sum.call_rwsem_down_read_failed.__percpu_down_read.exit_signals.do_exit.do_group_exit.SyS_exit_group.entry_SYSCALL_64_fastpath
715117 ± 58% -4e+05 300172 ± 12% latency_stats.sum.io_schedule.__lock_page_or_retry.filemap_fault.__do_fault.__handle_mm_fault.handle_mm_fault.__do_page_fault.do_page_fault.page_fault
94622 96223 vmstat.system.in
500325 -16% 420024 vmstat.system.cs
1692 21% 2045 turbostat.Avg_MHz
60.71 21% 73.38 turbostat.%Busy
208 212 turbostat.PkgWatt
54.56 -8% 50.47 turbostat.RAMWatt
4.911e+13 21% 5.944e+13 perf-stat.cpu-cycles
6010 19% 7153 perf-stat.instructions-per-iTLB-miss
3.508e+12 14% 3.988e+12 perf-stat.branch-instructions
1.627e+13 10% 1.797e+13 perf-stat.instructions
4.504e+12 8% 4.886e+12 perf-stat.dTLB-loads
58.34 59.21 perf-stat.node-store-miss-rate%
42.85 42.00 perf-stat.iTLB-load-miss-rate%
3.609e+09 -4% 3.469e+09 perf-stat.iTLB-loads
2.125e+10 -5% 2.016e+10 perf-stat.branch-misses
2.707e+09 -7% 2.512e+09 perf-stat.iTLB-load-misses
7.939e+08 -7% 7.348e+08 perf-stat.page-faults
7.939e+08 -7% 7.348e+08 perf-stat.minor-faults
0.33 -9% 0.30 perf-stat.ipc
9.788e+09 -9% 8.927e+09 ± 3% perf-stat.dTLB-load-misses
14.74 -9% 13.43 perf-stat.cache-miss-rate%
3.426e+11 -9% 3.117e+11 perf-stat.cache-references
1.26e+09 -9% 1.141e+09 perf-stat.dTLB-store-misses
1.579e+12 -10% 1.421e+12 perf-stat.dTLB-stores
1.773e+10 -14% 1.523e+10 perf-stat.node-load-misses
5.685e+09 -15% 4.805e+09 perf-stat.node-store-misses
0.22 -16% 0.18 ± 3% perf-stat.dTLB-load-miss-rate%
1.666e+08 -16% 1.4e+08 perf-stat.context-switches
0.61 -17% 0.51 perf-stat.branch-miss-rate%
5.051e+10 -17% 4.187e+10 perf-stat.cache-misses
32471209 -18% 26608318 perf-stat.cpu-migrations
4.059e+09 -18% 3.311e+09 perf-stat.node-stores
8.13e+08 -24% 6.207e+08 perf-stat.node-loads
unixbench.time.involuntary_context_switches
2.6e+07 ++----------------------------------------------------------------+
*.*.*.. .*.*.*. .*.*.*. .*..*.*.*. .*..*.*.*.* |
2.4e+07 ++ * *..*.*. .*.*. * * |
2.2e+07 ++ * |
| |
2e+07 ++ |
O O O O |
1.8e+07 ++O |
| |
1.6e+07 ++ |
1.4e+07 ++ |
| |
1.2e+07 ++ O O O O O O O O O O O O |
| O O O O O O O O O O O O O O
1e+07 ++----------------------------------------------------------------+
perf-stat.cpu-cycles
6e+13 ++----------------------------------------------------------------+
| O O O O O O O O O O O O O O O O O O O O O O O O O O
5.8e+13 ++ |
| |
| |
5.6e+13 O+O O O |
| O |
5.4e+13 ++ |
| |
5.2e+13 ++ |
| |
| |
5e+13 ++ .*. .*.*.*..*.*.*.*. .*. .*. .*. |
*.*.*. * *..*.*.* *..*.*.* *..*.* * |
4.8e+13 ++----------------------------------------------------------------+
perf-stat.node-load-misses
1.8e+10 ++---------------------------------------------------------------+
*.*.*..*.*.*.* .*.*..*.*.*.*.*.*..*.*.*.*.*.* |
1.75e+10 ++ : * |
1.7e+10 ++ : .*. + |
| *.*. *.* |
1.65e+10 ++ |
| |
1.6e+10 ++ |
| |
1.55e+10 O+ O O O O O O O
1.5e+10 ++ O O O O O O O O |
| |
1.45e+10 ++O O O O O O O O O O O O O |
| O |
1.4e+10 ++---------------O-----------------------------------------------+
perf-stat.context-switches
1.7e+08 ++---------------------------------------------------------------+
*.*.*.. .*.*.* .*.*..*. .*.*.*.*.. .*.*.*.*.* |
1.65e+08 ++ * + * * * |
1.6e+08 ++ *. .*. + |
| *. *.* |
1.55e+08 ++ |
| |
1.5e+08 ++ |
| |
1.45e+08 O+O O O O |
1.4e+08 ++ O O O O O O O O |
| O O O O O O
1.35e+08 ++ O O O O O O O O O O |
| O O |
1.3e+08 ++---------------------------------------------------------------+
perf-stat.cpu-migrations
3.3e+07 ++-----------------------------------------------------*-*--------+
| .*..*. .*. * .*.*. .*.*. + |
3.2e+07 *+* * *. + + .*..*.* *..*.* *..*.* |
3.1e+07 ++ *..*.* * |
| |
3e+07 ++ |
| |
2.9e+07 ++ |
| |
2.8e+07 ++ |
2.7e+07 ++ |
O O O O O O O O O O O O O
2.6e+07 ++ O O O O O O |
| O O O O O O O O O O O O |
2.5e+07 ++----------------------------------------------------------------+
perf-stat.branch-miss-rate_
0.62 ++-------------------------------------------------------------------+
*. .*. .*..*.*. *..*.*. .*. .*.*.. .*. .*.*.*.. .* |
0.6 ++*. * *.*.. + *. * * *. * |
| *.* |
0.58 ++ |
| |
0.56 ++ |
| |
0.54 ++ |
| |
0.52 ++ O O |
O O O O O O |
0.5 ++ O O O O O O O O
| O O O O O O O O O O |
0.48 ++O--O---O------O------O---------------------------------------------+
perf-stat.ipc
0.335 ++------------------------------------------------------------------+
*.*..*.*.*.*..* .*..*.*.*..*.*.*.*..*.*.*.*..*.* |
0.33 ++ : *.. * |
0.325 ++ : + + |
| *.* *.* |
0.32 ++ |
| |
0.315 ++ |
| |
0.31 ++ |
0.305 ++ |
O O O O O O O O O O O O O O
0.3 ++ O O O O O |
| O O O O O O O O O O O O |
0.295 ++------------------------------------------------------------------+
perf-stat.instructions-per-iTLB-miss
7400 ++-------------------------------------------------------------------+
| O O O O O |
7200 ++O O O O O O O O O O O O O O O
7000 O+ O O O O O O O O O O |
| |
6800 ++ |
| |
6600 ++ |
| |
6400 ++ |
6200 ++ *. .*. |
*. + *..* *..*.*. .*.. |
6000 ++*..*. .*..*.* *..*. .* *.*. .*. .*..*.* |
| * * *. * |
5800 ++-------------------------------------------------------------------+
[*] bisect-good sample
[O] bisect-bad sample
Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.
Thanks,
Xiaolong
3 years, 6 months
[lkp-robot] [rcu] 5e39b596fc: [No primary change] perf-stat.cpu-migrations -31%
by kernel test robot
Greeting,
There is no primary kpi change in this test, below is the data collected through multiple monitors running background just for your information.
commit: 5e39b596fcbf4d5cddd176eb901d76f0d0e3a1d8 ("rcu: Eliminate NOCBs CPU-state Kconfig options")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: netperf
on test machine: 8 threads Intel(R) Atom(TM) CPU C2750 @ 2.40GHz with 16G memory
with following parameters:
ip: ipv4
runtime: 300s
nr_threads: 25%
cluster: cs-localhost
test: SCTP_STREAM
cpufreq_governor: performance
test-description: Netperf is a benchmark that can be use to measure various aspect of networking performance.
test-url: http://www.netperf.org/netperf/
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: netperf/ipv4-300s-25%-cs-localhost-SCTP_STREAM-performance/lkp-avoton3
30a59bf9c4f3245e 5e39b596fcbf4d5cddd176eb90
---------------- --------------------------
%stddev change %stddev
\ | \
21129 -3% 20448 interrupts.CAL:Function_call_interrupts
2.46 ± 3% 61% 3.94 ± 27% turbostat.%Busy
59 61% 95 ± 27% turbostat.Avg_MHz
992 ± 5% -30% 694 ± 5% vmstat.system.cs
1.47e+11 ± 3% 58% 2.33e+11 ± 27% perf-stat.cpu-cycles
11.17 -39% 6.83 ± 22% perf-stat.branch-miss-rate%
5.682e+08 -5% 5.375e+08 perf-stat.branch-misses
0.90 -30% 0.63 ± 19% perf-stat.iTLB-load-miss-rate%
110 ± 3% 51% 166 ± 24% perf-stat.instructions-per-iTLB-miss
294849 ± 4% -30% 205732 ± 5% perf-stat.context-switches
2.627e+10 49% 3.906e+10 ± 24% perf-stat.instructions
0.18 -6% 0.17 perf-stat.ipc
2.621e+10 49% 3.896e+10 ± 24% perf-stat.iTLB-loads
5.089e+09 65% 8.394e+09 ± 28% perf-stat.branch-instructions
9413 ± 13% -31% 6539 ± 5% perf-stat.cpu-migrations
[*] 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, 8 months
[lkp-robot] [btrfs] beeeccca9b: WARNING:at_mm/util.c:#kvmalloc_node
by kernel test robot
FYI, we noticed the following commit:
commit: beeeccca9bebcec386cc31c250cff8a06cf27034 ("btrfs: Use kvzalloc instead of kzalloc/vmalloc in alloc_bitmap")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu kvm64,+ssse3 -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------+------------+------------+
| | 79495163d0 | beeeccca9b |
+-------------------------------------+------------+------------+
| boot_successes | 5 | 0 |
| boot_failures | 2 | 4 |
| invoked_oom-killer:gfp_mask=0x | 1 | |
| Mem-Info | 1 | |
| BUG:scheduling_while_atomic | 1 | |
| WARNING:at_mm/util.c:#kvmalloc_node | 0 | 4 |
+-------------------------------------+------------+------------+
[ 42.538761] WARNING: CPU: 1 PID: 1 at mm/util.c:357 kvmalloc_node+0x24/0x7f
[ 42.566115] Modules linked in:
[ 42.579911] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.12.0-rc2-00039-gbeeeccc #1
[ 42.605667] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 42.635708] task: ffff88022a2c0000 task.stack: ffffc90000c54000
[ 42.652751] RIP: 0010:kvmalloc_node+0x24/0x7f
[ 42.667140] RSP: 0000:ffffc90000c57b90 EFLAGS: 00010283
[ 42.683218] RAX: 0000000001400040 RBX: 0000000001408040 RCX: 0000000000001000
[ 42.701823] RDX: 00000000ffffffff RSI: 0000000001408040 RDI: 0000000000000001
[ 42.720999] RBP: ffffc90000c57ba8 R08: 0000000000000000 R09: 0000000000000011
[ 42.740154] R10: ffff88020554d010 R11: 0000000000001000 R12: 0000000000000001
[ 42.758754] R13: 00000000ffffffff R14: ffff88020a0f2000 R15: 0000000000000000
[ 42.778133] FS: 0000000000000000(0000) GS:ffff88023fd00000(0000) knlGS:0000000000000000
[ 42.804770] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 42.821362] CR2: ffffc90000ce0000 CR3: 0000000002011000 CR4: 00000000000006e0
[ 42.840607] Call Trace:
[ 42.851886] convert_free_space_to_bitmaps+0x56/0x390
[ 42.867254] ? btrfs_get_token_32+0x7a/0xcc
[ 42.881701] check_free_space_extents+0xbf/0x100
[ 42.896515] test_empty_block_group+0x3a/0x46
[ 42.911003] run_test+0x23a/0x2e0
[ 42.923478] ? run_test+0x23a/0x2e0
[ 42.936727] ? test_remove_all+0x83/0x83
[ 42.950403] ? test_remove_all+0x83/0x83
[ 42.964114] ? test_remove_all+0x83/0x83
[ 42.977599] run_test_both_formats+0x2e/0x98
[ 42.991788] ? test_remove_all+0x83/0x83
[ 43.005463] btrfs_test_free_space_tree+0x55/0x8d
[ 43.020567] ? test_remove_all+0x83/0x83
[ 43.034244] ? test_remove_beginning+0x9e/0x9e
[ 43.048722] ? test_remove_end+0xaa/0xaa
[ 43.062722] ? test_remove_middle+0xb2/0xb2
[ 43.076884] ? test_merge_left+0xed/0xed
[ 43.090200] ? test_merge_right+0xf2/0xf2
[ 43.267571] ? test_merge_both+0x106/0x106
[ 43.281697] ? test_merge_none+0x128/0x128
[ 43.295691] ? check_free_space_extents+0x100/0x100
[ 43.311023] btrfs_run_sanity_tests+0xec/0x144
[ 43.325511] ? set_debug_rodata+0x17/0x17
[ 43.339667] init_btrfs_fs+0xd8/0x13d
[ 43.353089] ? trace_event_define_fields_qgroup_meta_reserve+0x8b/0x8b
[ 43.371334] do_one_initcall+0x90/0x137
[ 43.385326] ? set_debug_rodata+0x17/0x17
[ 43.398999] kernel_init_freeable+0x179/0x1fc
[ 43.412840] ? rest_init+0x87/0x87
[ 43.424958] kernel_init+0xe/0xfa
[ 43.436923] ret_from_fork+0x2c/0x40
[ 43.449300] Code: e8 de ec 00 00 5d c3 0f 1f 44 00 00 89 f0 55 25 c0 00 40 01 3d c0 00 40 01 48 89 e5 41 55 41 54 41 89 d5 53 49 89 fc 89 f3 74 02 <0f> ff 49 81 fc 00 10 00 00 89 de 76 1d 0f ba e3 0a 73 0f 81 ce
[ 43.500146] ---[ end trace b527b0c96cf35883 ]---
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, 8 months
[lkp-robot] [KEYS] bdf7c0f8bf: ltp.add_key02.fail
by kernel test robot
FYI, we noticed the following commit:
commit: bdf7c0f8bf282ba44827ce3c7fd7936c8e90a18a ("KEYS: fix dereferencing NULL payload with nonzero length")
url: https://github.com/0day-ci/linux/commits/Eric-Biggers/KEYS-fix-dereferenc...
base: https://git.kernel.org/cgit/linux/kernel/git/jmorris/linux-security.git next
in testcase: ltp
with following parameters:
test: syscalls_part1
test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
test-url: http://linux-test-project.github.io/
on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 48G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
user :notice: [ 45.447047] <<<test_start>>>
user :notice: [ 45.447365] tag=add_key02 stime=1492169102
user :notice: [ 45.447567] cmdline="add_key02"
user :notice: [ 45.447685] contacts=""
user :notice: [ 45.447826] analysis=exit
user :notice: [ 45.448011] <<<test_output>>>
user :notice: [ 45.448568] tst_test.c:760: INFO: Timeout per run is 0h 05m 00s
user :notice: [ 45.449439] add_key02.c:65: FAIL: add_key() failed unexpectedly, expected EINVAL: EFAULT
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,
Xiaolong
3 years, 8 months
[lkp-robot] [rcu] d34303a1ef: unixbench.score -12.8% regression
by kernel test robot
Greeting,
FYI, we noticed a -12.8% regression of unixbench.score due to commit:
commit: d34303a1ef67e7e38e79d63d2b3aca1a12df3b37 ("rcu: Eliminate NOCBs CPU-state Kconfig options")
https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git dev.2017.05.25a
in testcase: unixbench
on test machine: 12 threads Intel(R) Atom(R) CPU 3958 @ 2.00GHz with 64G memory
with following parameters:
runtime: 300s
nr_task: 1
test: spawn
cpufreq_governor: performance
test-description: UnixBench is the original BYTE UNIX benchmark suite aims to test performance of Unix-like system.
test-url: https://github.com/kdlucas/byte-unixbench
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
testcase/path_params/tbox_group/run: unixbench/300s-1-spawn-performance/lkp-denverton3
6e74c237c410c0c7 d34303a1ef67e7e38e79d63d2b
---------------- --------------------------
%stddev change %stddev
\ | \
480 -13% 418 unixbench.score
3539621 -12% 3125335 unixbench.time.voluntary_context_switches
42363545 -14% 36485173 unixbench.time.minor_page_faults
176944 76% 311173 ± 3% interrupts.CAL:Function_call_interrupts
28259 4% 29287 vmstat.system.in
55147 -7% 51021 vmstat.system.cs
0 1e+04 9887 ±103% latency_stats.avg.perf_event_alloc.SYSC_perf_event_open.SyS_perf_event_open.entry_SYSCALL_64_fastpath
0 1e+04 9887 ±103% latency_stats.max.perf_event_alloc.SYSC_perf_event_open.SyS_perf_event_open.entry_SYSCALL_64_fastpath
0 1e+04 9887 ±103% latency_stats.sum.perf_event_alloc.SYSC_perf_event_open.SyS_perf_event_open.entry_SYSCALL_64_fastpath
2.99 45% 4.34 perf-stat.branch-miss-rate%
8.00 26% 10.06 perf-stat.cache-miss-rate%
2.881e+09 26% 3.619e+09 perf-stat.branch-misses
3.134e+09 22% 3.831e+09 perf-stat.cache-misses
0.04 ± 5% 13% 0.04 ± 3% perf-stat.iTLB-load-miss-rate%
18327237 -7% 16964457 perf-stat.context-switches
0.51 -11% 0.45 perf-stat.ipc
5.116e+11 -12% 4.489e+11 perf-stat.iTLB-loads
2550 ± 5% -13% 2223 ± 5% perf-stat.instructions-per-iTLB-miss
5.113e+11 -13% 4.436e+11 perf-stat.instructions
9.62e+10 -13% 8.335e+10 perf-stat.branch-instructions
42719474 -14% 36840024 perf-stat.minor-faults
42719477 -14% 36840026 perf-stat.page-faults
437104 ± 3% -26% 322992 ± 3% perf-stat.cpu-migrations
interrupts.CAL:Function_call_interrupts
450000 ++-----------------------------------------------------------------+
| |
400000 ++ O |
| |
| |
350000 ++O O O |
O O O O O O O O O O O |
300000 ++ O O O O O O |
| |
250000 ++ |
| * |
| + + |
200000 ++ .*.. + *..*. .*. .*. .*.. .*.. |
*.*..* *.*..*.* *..*.*. *. *..* * *.*..*.*..*.*
150000 ++-----------------------------------------------------------------+
perf-stat.instructions
5.3e+11 ++----------------------------------------------------------------+
5.2e+11 ++ *.. |
| *..*.*.. .*. + .*.. .*..*. .*
5.1e+11 ++ *.*..*.*. *.*.. .*..*.*..*.* * * *..* |
5e+11 *+ .*..* |
| * |
4.9e+11 ++ |
4.8e+11 ++ |
4.7e+11 ++ |
| O O |
4.6e+11 ++ O |
4.5e+11 ++ O O O O O |
O O O O O O O O |
4.4e+11 ++ O O O O O |
4.3e+11 ++----------------------------------------------------------------+
perf-stat.branch-instructions
1e+11 ++----------------------------------------------------------------+
9.8e+10 ++ *.. |
| *.. .*.. .*. + .*.. .*..*. .*
9.6e+10 ++ * *.*..*.*. *.*.. .*..*.*..*.* * * *..* |
9.4e+10 *+ .*..* |
| * |
9.2e+10 ++ |
9e+10 ++ |
8.8e+10 ++ |
| O O |
8.6e+10 ++ O O O O |
8.4e+10 O+ O O O O O O O |
| O O O O O |
8.2e+10 ++ O O |
8e+10 ++----------------------------------------------------------------+
perf-stat.iTLB-loads
5.3e+11 ++-----*---------------------*------------------------------------+
5.2e+11 ++ :+ * * |
| : + .*. .. + .*.*
5.1e+11 *+*.. : *.*..*.*. *.* *..*.*..*.*. .*.*..*.*.. .*. |
5e+11 ++ * *. * |
| |
4.9e+11 ++ |
4.8e+11 ++ |
4.7e+11 ++ |
| |
4.6e+11 ++ O O O |
4.5e+11 ++O O O O O O |
O O O O O O |
4.4e+11 ++ O O O O O O |
4.3e+11 ++----------------------------------------------------------------+
perf-stat.page-faults
4.4e+07 ++----------------------------------------------------------------+
| *. *.. |
4.3e+07 ++ .*. .*.*..*. .. *. .*..*. .*. .*.*. .*. + .*..*.*
4.2e+07 *+*. *. * *..* *. *. *. *..* * |
| |
4.1e+07 ++ |
4e+07 ++ |
| |
3.9e+07 ++ |
3.8e+07 ++ |
| |
3.7e+07 ++ O O O O O O O O |
3.6e+07 O+ O O O O O O O O O O |
| O O |
3.5e+07 ++----------------------------------------------------------------+
perf-stat.context-switches
1.95e+07 ++---------------------------------------------------------------+
| .* |
1.9e+07 ++ * : |
| + : |
| .*.. + : |
1.85e+07 *+*..* *.*.*..*. .*.*.* *. .*. .*.*.. .*. .*.. .*
| *. *. *.*. * *..* * |
1.8e+07 ++ |
| |
1.75e+07 ++ |
| |
| O |
1.7e+07 ++O O O O O O O O O O O O O O |
O O O O O O |
1.65e+07 ++---------------------------------------------------------------+
perf-stat.minor-faults
4.4e+07 ++----------------------------------------------------------------+
| *. *.. |
4.3e+07 ++ .*. .*.*..*. .. *. .*..*. .*. .*.*. .*. + .*..*.*
4.2e+07 *+*. *. * *..* *. *. *. *..* * |
| |
4.1e+07 ++ |
4e+07 ++ |
| |
3.9e+07 ++ |
3.8e+07 ++ |
| |
3.7e+07 ++ O O O O O O O O |
3.6e+07 O+ O O O O O O O O O O |
| O O |
3.5e+07 ++----------------------------------------------------------------+
perf-stat.branch-miss-rate_
4.6 ++--------------------------------------------------------------------+
4.4 ++ O |
| O O O O O |
4.2 ++ O O O O O O O O O O O O |
4 O+ O O |
| |
3.8 ++ |
3.6 ++ |
3.4 ++ |
| |
3.2 ++ .*. .*.. |
3 *+.*.*. *..*.. .*..*.*..*..* *..*.*..*..*. .* *..*.*..*.*..*
| * : + *. |
2.8 ++ : .* |
2.6 ++-----------------------------*--------------------------------------+
unixbench.score
490 ++-------------------*------------------------------------------------+
*..*.*..*.*.. .*. *..*..*.*..*.*..*.*..*.. .*..*.*..*.. .*.*..|
480 ++ *..* * *.*. *
470 ++ |
| |
460 ++ |
450 ++ |
| |
440 ++ |
430 ++ |
| |
420 ++ O O O O |
410 ++ O O O O O O O O O O O |
O O O O O O |
400 ++--------------------------------------------------------------------+
unixbench.time.minor_page_faults
4.4e+07 ++----------------------------------------------------------------+
| *.. |
4.3e+07 ++ .*. .*. .*. .*.* .*.. + .*.*
4.2e+07 *+*. *. *. *. + .* *.*..*.*..*.*.*..*.*..* *.*. |
| *. |
4.1e+07 ++ |
4e+07 ++ |
| |
3.9e+07 ++ |
3.8e+07 ++ |
| |
3.7e+07 ++ O O |
3.6e+07 O+ O O O O O O O O O O O O |
| O O O O O |
3.5e+07 ++O---------------------------------------------------------------+
unixbench.time.voluntary_context_switches
3.7e+06 ++----------------------------------------------------------------+
| |
3.6e+06 ++ .*.. .*..*. .*.. .*..*. |
|.*..* *.*..* * * *..*.*..*. .*..*.*..*. .*.*..*.|
3.5e+06 *+ * *. *
| |
3.4e+06 ++ |
| |
3.3e+06 ++ |
| |
3.2e+06 ++ |
| O O O |
3.1e+06 ++O O O O O O O O O O |
O O O O O O O O |
3e+06 ++----------------------------------------------------------------+
[*] 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, 9 months
[x86/boot/64] 862e7d3295: BUG: kernel reboot-without-warning in early-boot stage, last printk: Booting the kernel.
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git la57/integration
commit 862e7d32958cbcfdd81f9e26d1aeea882c5b3e7f
Author: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
AuthorDate: Tue Apr 4 14:54:04 2017 +0300
Commit: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
CommitDate: Wed May 31 16:27:46 2017 +0300
x86/boot/64: Rewrite startup_64 in C
The patch write most of startup_64 logic in C.
This is preparation for 5-level paging enabling.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
e17e8f7402 x86/asm: Fix comment in return_from_SYSCALL_64
862e7d3295 x86/boot/64: Rewrite startup_64 in C
bcde348c6b change the comments for 5 level paging
+--------------------------------------------------------------------------------------+------------+------------+------------+
| | e17e8f7402 | 862e7d3295 | bcde348c6b |
+--------------------------------------------------------------------------------------+------------+------------+------------+
| boot_successes | 35 | 4 | 0 |
| boot_failures | 0 | 11 | 11 |
| BUG:kernel_reboot-without-warning_in_early-boot_stage,last_printk:Booting_the_kernel | 0 | 11 | 11 |
+--------------------------------------------------------------------------------------+------------+------------+------------+
Decompressing Linux... Parsing ELF... done.
Booting the kernel.
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 2adee189a058a6d8cb981b45342aae99125ff254 2ea659a9ef488125eb46da6eb571de5eae5c43f6 --
git bisect bad b89ba7b92b7a89c7ec23ff8c079f5d60163c92cf # 02:30 B 0 11 23 0 Merge 'peterz-queue/x86/boot' into devel-catchup-201706010137
git bisect bad edd65cd714bf131ec9db1d1ca80381af60a5bd94 # 02:43 B 0 1 13 0 Merge 'jlayton/linux-next' into devel-catchup-201706010137
git bisect good 48da2187659b60ede28f0b549cc07031ad8d5c44 # 03:07 G 11 0 0 0 Merge 'omap/omap-for-v4.13/gpmc' into devel-catchup-201706010137
git bisect bad 247080472697bd3e17e63adc3d2421dea168ba5b # 03:28 B 0 9 21 0 Merge 'kas/la57/integration' into devel-catchup-201706010137
git bisect good 526675968addd1d5a0552b41f79320fc0e42dd88 # 03:43 G 11 0 0 0 Merge 'omap/for-next' into devel-catchup-201706010137
git bisect good 9e856e4b475502270f2cfdd7b289075c1924786b # 03:59 G 11 0 0 0 Merge tag 'for-linus-4.12b-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
git bisect good 331da109ec20d352a6f59ba8cd68aa7835c68fa1 # 04:09 G 11 0 0 0 Merge tag 'char-misc-4.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
git bisect good ef82f1ad2e3f4509807c83e7eff4ec7c735076e8 # 04:20 G 11 0 0 0 Merge tag 'staging-4.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
git bisect good e7a3d62749183576854cdc961b8b1cddf1aed71e # 04:47 G 11 0 0 0 Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad f49e37ed569e189a4de2968bba0c82fa633b4875 # 04:59 B 0 2 14 0 x86/boot/64: Rename init_level4_pgt and early_level4_pgt
git bisect good f3926e4c2a4b53c25a998de168d4eef6d0360369 # 05:22 G 10 0 0 0 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
git bisect good 08332893e37af6ae779367e78e444f8f9571511d # 05:22 G 10 0 0 3 Linux 4.12-rc2
git bisect bad 862e7d32958cbcfdd81f9e26d1aeea882c5b3e7f # 05:42 B 0 10 22 0 x86/boot/64: Rewrite startup_64 in C
git bisect good e17e8f7402a6f2f73007965e32a416e170943ca7 # 05:57 G 11 0 0 0 x86/asm: Fix comment in return_from_SYSCALL_64
# first bad commit: [862e7d32958cbcfdd81f9e26d1aeea882c5b3e7f] x86/boot/64: Rewrite startup_64 in C
git bisect good e17e8f7402a6f2f73007965e32a416e170943ca7 # 06:00 G 31 0 0 0 x86/asm: Fix comment in return_from_SYSCALL_64
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 862e7d32958cbcfdd81f9e26d1aeea882c5b3e7f # 06:19 B 0 1 13 0 x86/boot/64: Rewrite startup_64 in C
# extra tests on HEAD of linux-devel/devel-catchup-201706010137
git bisect bad 2adee189a058a6d8cb981b45342aae99125ff254 # 06:24 B 0 29 45 0 0day head guard for 'devel-catchup-201706010137'
# extra tests on tree/branch kas/la57/integration
git bisect bad bcde348c6bad1f359e9f571b1fd1e1faa0408f4c # 06:42 B 0 11 23 0 change the comments for 5 level paging
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 9 months
[lkp-robot] [mm] aefd950b83: divide_error:#[##]
by kernel test robot
FYI, we noticed the following commit:
commit: aefd950b83d2d8cf4d3c270546c8725f866da191 ("mm: make kswapd try harder to keep active pages in cache")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------------------------------+------------+------------+
| | 105b08acf6 | aefd950b83 |
+------------------------------------------------------------------+------------+------------+
| boot_successes | 75 | 68 |
| boot_failures | 9 | 24 |
| invoked_oom-killer:gfp_mask=0x | 9 | 5 |
| Mem-Info | 9 | 5 |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 3 | 3 |
| Out_of_memory:Kill_process | 7 | 3 |
| divide_error:#[##] | 0 | 19 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 10 |
+------------------------------------------------------------------+------------+------------+
[ 151.194498] LKP: waiting for network...
[ 151.194498] LKP: waiting for network...
[ 151.194505]
[ 151.194505]
[ 159.170597] sock: process `trinity-main' is using obsolete setsockopt SO_BSDCOMPAT
[ 160.541829] divide error: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
[ 160.543618] CPU: 1 PID: 54 Comm: kswapd0 Not tainted 4.12.0-rc2-00204-gaefd950 #1
[ 160.543618] CPU: 1 PID: 54 Comm: kswapd0 Not tainted 4.12.0-rc2-00204-gaefd950 #1
[ 160.546053] task: ffff880004d59400 task.stack: ffffc900001b8000
[ 160.546053] task: ffff880004d59400 task.stack: ffffc900001b8000
[ 160.547838] RIP: 0010:shrink_node+0x47f/0x5a0
[ 160.547838] RIP: 0010:shrink_node+0x47f/0x5a0
[ 160.549086] RSP: 0018:ffffc900001bbd78 EFLAGS: 00010246
[ 160.549086] RSP: 0018:ffffc900001bbd78 EFLAGS: 00010246
[ 160.550915] RAX: 0000000000000000 RBX: 000000000000005c RCX: 0000000000000000
[ 160.550915] RAX: 0000000000000000 RBX: 000000000000005c RCX: 0000000000000000
[ 160.553371] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000297
[ 160.553371] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000297
[ 160.556088] RBP: ffffc900001bbe18 R08: 0000000000000000 R09: 0000000000000000
[ 160.556088] RBP: ffffc900001bbe18 R08: 0000000000000000 R09: 0000000000000000
[ 160.558541] R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000005c
[ 160.558541] R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000005c
[ 160.560970] R13: 0000000000000000 R14: ffffc900001bbe80 R15: ffffffffb67e0f40
[ 160.560970] R13: 0000000000000000 R14: ffffc900001bbe80 R15: ffffffffb67e0f40
[ 160.563643] FS: 0000000000000000(0000) GS:ffff880011b00000(0000) knlGS:0000000000000000
[ 160.563643] FS: 0000000000000000(0000) GS:ffff880011b00000(0000) knlGS:0000000000000000
[ 160.566587] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 160.566587] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 160.568660] CR2: 00007ff0c62176f0 CR3: 0000000005c41000 CR4: 00000000000006e0
[ 160.568660] CR2: 00007ff0c62176f0 CR3: 0000000005c41000 CR4: 00000000000006e0
[ 160.571164] Call Trace:
[ 160.571164] Call Trace:
[ 160.572027] kswapd+0x422/0xcd0
[ 160.572027] kswapd+0x422/0xcd0
[ 160.574580] kthread+0x134/0x180
[ 160.574580] kthread+0x134/0x180
[ 160.575703] ? mem_cgroup_shrink_node+0x4a0/0x4a0
[ 160.575703] ? mem_cgroup_shrink_node+0x4a0/0x4a0
[ 160.577327] ? __kthread_create_on_node+0x240/0x240
[ 160.577327] ? __kthread_create_on_node+0x240/0x240
[ 160.578999] ret_from_fork+0x31/0x40
[ 160.578999] ret_from_fork+0x31/0x40
[ 160.580240] Code: 7d a8 00 0f 85 c9 fe ff ff 41 80 7e 28 00 0f 89 be fe ff ff e8 73 e8 f5 ff 48 8b 45 90 31 d2 48 8d 04 80 48 8d 04 80 48 c1 e0 02 <48> f7 75 b8 48 83 f8 31 77 5f e8 52 e8 f5 ff 41 80 66 28 7f e9
[ 160.580240] Code: 7d a8 00 0f 85 c9 fe ff ff 41 80 7e 28 00 0f 89 be fe ff ff e8 73 e8 f5 ff 48 8b 45 90 31 d2 48 8d 04 80 48 8d 04 80 48 c1 e0 02 <48> f7 75 b8 48 83 f8 31 77 5f e8 52 e8 f5 ff 41 80 66 28 7f e9
[ 160.587334] RIP: shrink_node+0x47f/0x5a0 RSP: ffffc900001bbd78
[ 160.587334] RIP: shrink_node+0x47f/0x5a0 RSP: ffffc900001bbd78
[ 160.592867] init: tty3 main process (530) terminated with status 1
[ 160.592867] init: tty3 main process (530) terminated with status 1
[ 160.610109] init: tty3 main process ended, respawning
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, 9 months
[mm: vmstat] b6bc672448: BUG: unable to handle kernel paging request at 1c435000
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/next/linux-next.git master
commit b6bc6724488ac9a149f4ee50d9f036b0fe2420c5
Author: Johannes Weiner <hannes(a)cmpxchg.org>
AuthorDate: Wed May 31 09:17:23 2017 +1000
Commit: Stephen Rothwell <sfr(a)canb.auug.org.au>
CommitDate: Wed May 31 09:17:23 2017 +1000
mm: vmstat: move slab statistics from zone to node counters
Patch series "mm: per-lruvec slab stats"
Josef is working on a new approach to balancing slab caches and the page
cache. For this to work, he needs slab cache statistics on the lruvec
level. These patches implement that by adding infrastructure that allows
updating and reading generic VM stat items per lruvec, then switches some
existing VM accounting sites, including the slab accounting ones, to this
new cgroup-aware API.
I'll follow up with more patches on this, because there is actually
substantial simplification that can be done to the memory controller when
we replace private memcg accounting with making the existing VM accounting
sites cgroup-aware. But this is enough for Josef to base his slab reclaim
work on, so here goes.
This patch (of 5):
To re-implement slab cache vs. page cache balancing, we'll need the slab
counters at the lruvec level, which, ever since lru reclaim was moved from
the zone to the node, is the intersection of the node, not the zone, and
the memcg.
We could retain the per-zone counters for when the page allocator dumps
its memory information on failures, and have counters on both levels -
which on all but NUMA node 0 is usually redundant. But let's keep it
simple for now and just move them. If anybody complains we can restore
the per-zone counters.
Link: http://lkml.kernel.org/r/20170530181724.27197-3-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes(a)cmpxchg.org>
Cc: Josef Bacik <josef(a)toxicpanda.com>
Cc: Michal Hocko <mhocko(a)suse.com>
Cc: Vladimir Davydov <vdavydov.dev(a)gmail.com>
Cc: Rik van Riel <riel(a)redhat.com>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
fa812e869a mm/zswap.c: delete an error message for a failed memory allocation in zswap_dstmem_prepare()
b6bc672448 mm: vmstat: move slab statistics from zone to node counters
f2882f46b6 Add linux-next specific files for 20170531
+-------------------------------------------------+------------+------------+---------------+
| | fa812e869a | b6bc672448 | next-20170531 |
+-------------------------------------------------+------------+------------+---------------+
| boot_successes | 35 | 0 | 0 |
| boot_failures | 0 | 15 | 13 |
| BUG:unable_to_handle_kernel | 0 | 15 | 13 |
| Oops:#[##] | 0 | 15 | 13 |
| EIP:mod_node_state | 0 | 15 | 13 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 15 | 13 |
| BUG:kernel_reboot-without-warning_in_boot_stage | 0 | 2 | |
| BUG:kernel_reboot-without-warning_in_test_stage | 0 | 5 | |
| BUG:kernel_hang_in_test_stage | 0 | 0 | 1 |
| BUG:kernel_in_stage | 0 | 0 | 2 |
+-------------------------------------------------+------------+------------+---------------+
[ 0.000000] lowmem : 0xc0000000 - 0xdffe0000 ( 511 MB)
[ 0.000000] .init : 0xc1e82000 - 0xc1f47000 ( 788 kB)
[ 0.000000] .data : 0xc1815d39 - 0xc1e71780 (6510 kB)
[ 0.000000] .text : 0xc1000000 - 0xc1815d39 (8279 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] BUG: unable to handle kernel paging request at 1c435000
[ 0.000000] IP: mod_node_state+0x22/0xaf
[ 0.000000] *pde = 00000000
[ 0.000000]
[ 0.000000] Oops: 0000 [#1] SMP
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.12.0-rc3-00153-gb6bc672 #1
[ 0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 0.000000] task: c1b34480 task.stack: c1b2e000
[ 0.000000] EIP: mod_node_state+0x22/0xaf
[ 0.000000] EFLAGS: 00210092 CPU: 0
[ 0.000000] EAX: 00000000 EBX: 00000001 ECX: 00000007 EDX: 00000006
[ 0.000000] ESI: c1f0ce20 EDI: ddc01000 EBP: c1b2fee0 ESP: c1b2febc
[ 0.000000] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 0.000000] CR0: 80050033 CR2: 1c435000 CR3: 01f4e000 CR4: 00000690
[ 0.000000] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 0.000000] DR6: fffe0ff0 DR7: 00000400
[ 0.000000] Call Trace:
[ 0.000000] ? kmem_cache_debug+0x1e/0x25
[ 0.000000] mod_node_page_state+0xa/0xd
[ 0.000000] new_slab+0x44a/0x467
[ 0.000000] kmem_cache_open+0x1e3/0x41d
[ 0.000000] __kmem_cache_create+0xc/0x7a
[ 0.000000] create_boot_cache+0x2f/0x65
[ 0.000000] kmem_cache_init+0x37/0x105
[ 0.000000] start_kernel+0x216/0x497
[ 0.000000] i386_start_kernel+0xa8/0xac
[ 0.000000] startup_32_smp+0x16b/0x16d
[ 0.000000] Code: c1 e8 07 ff ff ff 58 c9 c3 55 89 e5 57 56 53 83 ec 18 89 45 e4 8b 80 40 0c 00 00 89 4d dc 8d 4c 10 01 89 45 ec 8b 5d dc 8b 45 ec <64> 8a 00 0f be c0 89 45 f0 64 8a 01 88 45 e3 0f be c0 01 c3 39
[ 0.000000] EIP: mod_node_state+0x22/0xaf SS:ESP: 0068:c1b2febc
[ 0.000000] CR2: 000000001c435000
[ 0.000000] ---[ end trace f68728a0d3053b52 ]---
[ 0.000000] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start f2882f46b623423c573c4d029b016974b04da954 5ed02dbb497422bf225783f46e6eadd237d23d6b --
git bisect good 8168ff213ef9d0cc386fdca1d46e4553262b21f3 # 23:32 G 11 0 0 0 Merge remote-tracking branch 'idle/next'
git bisect good 6cef1356d3794dd87dfac808172e3c8517137df0 # 23:44 G 11 0 0 0 Merge remote-tracking branch 'iommu/next'
git bisect good 1ad18baf77ecde079ebd95223a7e7efcea3fefc5 # 23:56 G 11 0 0 0 Merge remote-tracking branch 'extcon/extcon-next'
git bisect good 06867893048b1dadef7f2d1db824e245d568a089 # 00:10 G 11 0 0 0 Merge remote-tracking branch 'pinctrl/for-next'
git bisect good f9e05a7857806e481b38b176e88f1e087aa38f3b # 00:30 G 11 0 0 0 Merge remote-tracking branch 'livepatching/for-next'
git bisect good 5f6e1344a0311cbdd6f12551d0939886a161e513 # 00:49 G 11 0 0 0 next-20170530/rtc
git bisect bad ea0e19f1f81355bede5aea2d4bc1e22afcc8d3ea # 01:09 B 0 11 25 2 Merge branch 'akpm-current/current'
git bisect good 1d4a95b197227152bf68b059923d801e6ce37ed8 # 01:32 G 11 0 0 0 mm-hugetlb-introduce-set_huge_swap_pte_at-helper-v41
git bisect bad 9d1f2181ae0d158277513d0cb13f7a8a1d58729a # 01:59 B 0 11 23 0 lib/kstrtox.c: use "unsigned int" more
git bisect bad 3cdb9deb763d75ebfc0f923d1629fa444e2ff601 # 02:25 B 0 3 19 4 mm: memcontrol: use generic mod_memcg_page_state for kmem pages
git bisect good e67718370b2f707ff1dc00d22b3527692b20e1a8 # 02:45 G 11 0 0 0 mm: kmemleak: treat vm_struct as alternative reference to vmalloc'ed objects
git bisect good 393279a903528342a09c002f860ec4ed28e07671 # 02:59 G 10 0 0 0 mm-oom_kill-count-global-and-memory-cgroup-oom-kills-fix-fix
git bisect good 84ebee41ad5abc3745f8d8f0d37d585bf469d984 # 03:35 G 11 0 0 0 mm/zswap.c: improve a size determination in zswap_frontswap_init()
git bisect bad b6bc6724488ac9a149f4ee50d9f036b0fe2420c5 # 03:55 B 0 1 16 3 mm: vmstat: move slab statistics from zone to node counters
git bisect good fa812e869a6fe7495a17150bb2639075081ef709 # 04:16 G 11 0 0 0 mm/zswap.c: delete an error message for a failed memory allocation in zswap_dstmem_prepare()
# first bad commit: [b6bc6724488ac9a149f4ee50d9f036b0fe2420c5] mm: vmstat: move slab statistics from zone to node counters
git bisect good fa812e869a6fe7495a17150bb2639075081ef709 # 04:19 G 31 0 0 0 mm/zswap.c: delete an error message for a failed memory allocation in zswap_dstmem_prepare()
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad b6bc6724488ac9a149f4ee50d9f036b0fe2420c5 # 04:38 B 0 11 24 1 mm: vmstat: move slab statistics from zone to node counters
# extra tests on HEAD of linux-next/master
git bisect bad f2882f46b623423c573c4d029b016974b04da954 # 04:38 B 0 13 28 0 Add linux-next specific files for 20170531
# extra tests on tree/branch linux-next/master
git bisect bad f2882f46b623423c573c4d029b016974b04da954 # 04:38 B 0 13 28 0 Add linux-next specific files for 20170531
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 9 months
[mm: memcontrol] 1e698e532c: BUG: unable to handle kernel NULL pointer dereference at 000002d4
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/next/linux-next.git master
commit 1e698e532caa453afe1d39e67d3951b3e2250c93
Author: Johannes Weiner <hannes(a)cmpxchg.org>
AuthorDate: Wed May 31 09:17:23 2017 +1000
Commit: Stephen Rothwell <sfr(a)canb.auug.org.au>
CommitDate: Wed May 31 09:17:23 2017 +1000
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.
Link: http://lkml.kernel.org/r/20170530181724.27197-6-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes(a)cmpxchg.org>
Cc: Josef Bacik <josef(a)toxicpanda.com>
Cc: Michal Hocko <mhocko(a)suse.com>
Cc: Vladimir Davydov <vdavydov.dev(a)gmail.com>
Cc: Rik van Riel <riel(a)redhat.com>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
3cdb9deb76 mm: memcontrol: use generic mod_memcg_page_state for kmem pages
1e698e532c mm: memcontrol: per-lruvec stats infrastructure
f2882f46b6 Add linux-next specific files for 20170531
+------------------------------------------+------------+------------+---------------+
| | 3cdb9deb76 | 1e698e532c | next-20170531 |
+------------------------------------------+------------+------------+---------------+
| boot_successes | 35 | 0 | 0 |
| boot_failures | 0 | 15 | 13 |
| BUG:unable_to_handle_kernel | 0 | 15 | 13 |
| Oops:#[##] | 0 | 15 | 13 |
| EIP:page_add_file_rmap | 0 | 15 | 13 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 15 | 13 |
+------------------------------------------+------------+------------+---------------+
[ 123.333963] BIOS EDD facility v0.16 2004-Jun-25, 6 devices found
[ 123.336866] debug: unmapping init [mem 0x79fa9000-0x7a17bfff]
[ 123.338021] Write protecting the kernel text: 11240k
[ 123.338833] Write protecting the kernel read-only data: 3840k
[ 123.339671] rodata_test: all tests were successful
[ 123.340966] BUG: unable to handle kernel NULL pointer dereference at 000002d4
[ 123.342006] IP: page_add_file_rmap+0x155/0x220
[ 123.342655] *pde = 00000000
[ 123.342657]
[ 123.343317] Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
[ 123.344069] CPU: 0 PID: 1 Comm: init Not tainted 4.12.0-rc3-00156-g1e698e5 #1
[ 123.345117] task: 8982c000 task.stack: 8982e000
[ 123.345785] EIP: page_add_file_rmap+0x155/0x220
[ 123.346458] EFLAGS: 00010256 CPU: 0
[ 123.346977] EAX: 00000000 EBX: 00000001 ECX: 79d9cfa4 EDX: 00000000
[ 123.347892] ESI: 8a1720e4 EDI: 884e6570 EBP: 8982fe98 ESP: 8982fe88
[ 123.348805] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[ 123.349600] CR0: 80050033 CR2: 000002d4 CR3: 104e7000 CR4: 000406d0
[ 123.350517] Call Trace:
[ 123.350889] alloc_set_pte+0x452/0x520
[ 123.351448] finish_fault+0x2d/0x50
[ 123.351966] do_fault+0x14b/0x570
[ 123.352465] handle_mm_fault+0x458/0x5d0
[ 123.353046] __do_page_fault+0x3ad/0x420
[ 123.353633] ? kvm_read_and_reset_pf_reason+0x50/0x50
[ 123.354377] do_page_fault+0x1a/0x20
[ 123.354906] do_async_page_fault+0x21/0x60
[ 123.355516] common_exception+0x3a/0x4e
[ 123.356081] EIP: 0x47e5b301
[ 123.356509] EFLAGS: 00010206 CPU: 0
[ 123.357022] EAX: 47e78bf0 EBX: 47e77ff4 ECX: 00000001 EDX: 47e78d00
[ 123.357920] ESI: 47e78bf0 EDI: 6f79f000 EBP: 77825020 ESP: 77824f30
[ 123.358818] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 007b
[ 123.359596] ? kvm_read_and_reset_pf_reason+0x50/0x50
[ 123.360330] Code: 8d 42 ff e8 ae 79 ff ff 8d b6 00 00 00 00 3e ff 46 0c 0f 85 82 00 00 00 bb 01 00 00 00 3e 8d 74 26 00 8b 15 78 1c f8 79 8b 46 20 <8b> bc 90 d4 02 00 00 eb 07 66 90 bf 8c 1d f8 79 81 7f 40 00 14
[ 123.376055] EIP: page_add_file_rmap+0x155/0x220 SS:ESP: 0068:8982fe88
[ 123.376977] CR2: 00000000000002d4
[ 123.377465] ---[ end trace b3d8fcbd204f58f3 ]---
[ 123.378132] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start f2882f46b623423c573c4d029b016974b04da954 5ed02dbb497422bf225783f46e6eadd237d23d6b --
git bisect good 8168ff213ef9d0cc386fdca1d46e4553262b21f3 # 21:27 G 11 0 0 0 Merge remote-tracking branch 'idle/next'
git bisect good 6cef1356d3794dd87dfac808172e3c8517137df0 # 21:41 G 11 0 0 0 Merge remote-tracking branch 'iommu/next'
git bisect good 1ad18baf77ecde079ebd95223a7e7efcea3fefc5 # 22:01 G 11 0 0 0 Merge remote-tracking branch 'extcon/extcon-next'
git bisect good 06867893048b1dadef7f2d1db824e245d568a089 # 22:13 G 11 0 0 0 Merge remote-tracking branch 'pinctrl/for-next'
git bisect good f9e05a7857806e481b38b176e88f1e087aa38f3b # 22:29 G 11 0 0 0 Merge remote-tracking branch 'livepatching/for-next'
git bisect good 5f6e1344a0311cbdd6f12551d0939886a161e513 # 22:50 G 10 0 0 0 next-20170530/rtc
git bisect bad ea0e19f1f81355bede5aea2d4bc1e22afcc8d3ea # 23:03 B 0 11 22 0 Merge branch 'akpm-current/current'
git bisect good 1d4a95b197227152bf68b059923d801e6ce37ed8 # 23:21 G 11 0 0 0 mm-hugetlb-introduce-set_huge_swap_pte_at-helper-v41
git bisect bad 9d1f2181ae0d158277513d0cb13f7a8a1d58729a # 23:33 B 0 11 22 0 lib/kstrtox.c: use "unsigned int" more
git bisect good 3cdb9deb763d75ebfc0f923d1629fa444e2ff601 # 23:45 G 11 0 0 0 mm: memcontrol: use generic mod_memcg_page_state for kmem pages
git bisect bad 61e0101b1cd0a4e58d962130a6a7ea24f4a66e66 # 23:57 B 0 11 24 2 frv: remove wrapper header for asm/device.h
git bisect bad be320d5361f2a363426e375f80b422e6d56db8f2 # 00:12 B 0 11 22 0 mm/vmstat.c: walk the zone in pageblock_nr_pages steps
git bisect bad 57f7e0ea320b81e8f16a183dda4391fcf7e76aeb # 00:24 B 0 1 12 0 mm, memory_hotplug: move movable_node to the hotplug proper
git bisect bad 4e221ed9fb61a139749fd4d9550d8c38ad1dd559 # 00:40 B 0 10 23 2 mm: memcontrol: account slab stats per lruvec
git bisect bad 1e698e532caa453afe1d39e67d3951b3e2250c93 # 00:51 B 0 11 25 3 mm: memcontrol: per-lruvec stats infrastructure
# first bad commit: [1e698e532caa453afe1d39e67d3951b3e2250c93] mm: memcontrol: per-lruvec stats infrastructure
git bisect good 3cdb9deb763d75ebfc0f923d1629fa444e2ff601 # 01:08 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 1e698e532caa453afe1d39e67d3951b3e2250c93 # 01:18 B 0 6 17 0 mm: memcontrol: per-lruvec stats infrastructure
# extra tests on HEAD of linux-next/master
git bisect bad f2882f46b623423c573c4d029b016974b04da954 # 01:18 B 0 13 27 0 Add linux-next specific files for 20170531
# extra tests on tree/branch linux-next/master
git bisect bad f2882f46b623423c573c4d029b016974b04da954 # 01:18 B 0 13 27 0 Add linux-next specific files for 20170531
# extra tests with first bad commit reverted
git bisect good 64761e0276bc689025ef58d18670f462c95639c7 # 01:38 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, 9 months