jlelli / linux

SCHED_DEADLINE. An implementation of the popular Earliest Deadline First (EDF) scheduling algorithm or the Linux kernel. Fork tracking upstream. Intended for further development and issues tracking.
https://en.wikipedia.org/wiki/SCHED_DEADLINE
Other
0 stars 1 forks source link

Demotion reloaded #2

Closed lucabe72 closed 7 years ago

lucabe72 commented 7 years ago

Demotion reloaded, without migration

lucabe72 commented 7 years ago

On 22 June 2017 at 12:37, Juri Lelli notifications@github.com wrote:

@jlelli commented on this pull request.

In kernel/sched/core.c https://github.com/jlelli/linux/pull/2#discussion_r123475825:

  • const struct sched_class *prev_class;
  • lockdep_assert_held(&rq->lock);
  • oldprio = p->prio;
  • prev_class = p->sched_class;
  • queued = task_on_rq_queued(p);
  • running = task_current(rq, p);
  • BUG_ON(!rt_throttled(p));
  • if (queued)
  • dequeue_task(rq, p, DEQUEUE_SAVE | DEQUEUE_MOVE); +/*
  • if (running)
  • put_prev_task(rq, p); +*/

Why is this commented out?

This is the code demoting a task from RT to CFS; it is invoked when the runtime (of the dl_entity associated with the RT runqueue) becomes negative. This is done by update_curr_rt(). Invoking put_prev_task() would invoke update_curr_rt() again, resulting in potential issues.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jlelli/linux/pull/2#pullrequestreview-45681279, or mute the thread https://github.com/notifications/unsubscribe-auth/AEC-4fLGS8A7NjYaabOQDuElCymqQ7xjks5sGkPZgaJpZM4N_e0M .

jlelli commented 7 years ago

So, periodic and periodic1 doesn't seem to have problems (anymore). But, periodic2 generates the following (when run for over 100 sec):

[  147.659662] Unable to handle kernel NULL pointer dereference at virtual address 00000038
[  147.667862] pgd = ffffff800a7ac000
[  147.671300] [00000038] *pgd=000000007bffe003, *pud=000000007bffe003, *pmd=0000000000000000
[  147.679683] Internal error: Oops: 96000006 [#1] PREEMPT SMP
[  147.685326] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.4.43-HCBS-Demotion-05354-g332859bfbe08-dirty #4
[  147.694823] Hardware name: HiKey Development Board (DT)
[  147.700106] task: ffffffc035156100 ti: ffffffc035158000 task.ti: ffffffc035158000
[  147.707681] PC is at set_next_entity+0x2c/0x10a0
[  147.712351] LR is at pick_next_task_fair+0xb0/0xd10
[  147.717281] pc : [<ffffff800810a3d8>] lr : [<ffffff800811908c>] pstate: 600001c5
[  147.724759] sp : ffffffc03515bd50
[  147.728107] x29: ffffffc03515bd50 x28: ffffff8008d60428
[  147.733491] x27: ffffff8008d60000 x26: ffffffc0794a6f80
[  147.738873] x25: ffffffc035156700 x24: 0000000000000000
[  147.744254] x23: ffffff8009854000 x22: ffffffc0794a6f98 [  147.749209] CPU0: update max cpu_capacity 1024

[  147.753970]
[  147.755650] x21: ffffffc0794a7038 x20: ffffffc0794a6f80
[  147.761028] x19: 0000000000000000 x18: 0000000000000000
[  147.766405] x17: 0000000000000000 x16: 0000000000000000
[  147.771783] x15: 0000000000000000 x14: 0000000000000000
[  147.777160] x13: 0000000000000000 x12: 0000000034d5d91d
[  147.782537] x11: ffffff8008d60420 x10: 0000000000000005
[  147.787914] x9 : ffffff80098f7000 x8 : 0000000000000004
[  147.793292] x7 : ffffff8008d40980 x6 : 0000000000000000
[  147.798668] x5 : 0000000000000080 x4 : ffffff8008118fdc
[  147.804044] x3 : 0000000000000001 x2 : ffffff80081069ec
[  147.809421] x1 : 0000000000000000 x0 : ffffff800811908c
[  147.814801]
[  147.814801] SP: 0xffffffc03515bcd0:
[  147.819817] bcd0  794a6f98 ffffffc0 09854000 ffffff80 00000000 00000000 35156700 ffffffc0
[  147.828134] bcf0  794a6f80 ffffffc0 08d60000 ffffff80 08d60428 ffffff80 3515bd50 ffffffc0
[  147.836448] bd10  0811908c ffffff80 3515bd50 ffffffc0 0810a3d8 ffffff80 600001c5 00000000
[  147.844763] bd30  3515bd80 ffffffc0 081316d4 ffffff80 ffffffff ffffffff 35158000 ffffffc0
[  147.853079] bd50  3515bde0 ffffffc0 0811908c ffffff80 00000000 00000000 794a6f80 ffffffc0
[  147.861393] bd70  794a7038 ffffffc0 794a6f98 ffffffc0 09854000 ffffff80 00000000 00000000
[  147.869708] bd90  35156700 ffffffc0 794a6f80 ffffffc0 08d60000 ffffff80 08d60428 ffffff80
[  147.878024] bdb0  794a7038 ffffffc0 794a6f80 ffffffc0 794a7038 ffffffc0 794a6f98 ffffffc0
[  147.886347]
[  147.886347] X20: 0xffffffc0794a6f00:
[  147.891451] 6f00  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  147.899767] 6f20  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  147.908082] 6f40  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  147.916397] 6f60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  147.924713] 6f80  f009f008 dead4ead 00000003 00000000 35156100 ffffffc0 099b0f60 ffffff80
[  147.933028] 6fa0  09bcd430 ffffff80 09bdbac0 ffffff80 0900fe08 ffffff80 00000003 00000000
[  147.941343] 6fc0  080fc5e8 ffffff80 00000001 00000000 00000000 00000000 00000000 00000000
[  147.949658] 6fe0  00000004 00000000 00000010 00000000 0000001b 00000000 ffff6b0f 00000000
[  147.957974]
[  147.957974] X21: 0xffffffc0794a6fb8:
[  147.963078] 6fb8  00000003 00000000 080fc5e8 ffffff80 00000001 00000000 00000000 00000000
[  147.971394] 6fd8  00000000 00000000 00000004 00000000 00000010 00000000 0000001b 00000000
[  147.979709] 6ff8  ffff6b0f 00000000 00000000 00000000 00000000 00000000 00000001 00000000
[  147.988025] 7018  000000ce 00000000 00000000 00000000 000043b8 00000000 00007b88 00000000
[  147.996339] 7038  000000ce 00000000 00000000 00000000 00000001 00000001 7db4db90 00000008
[  148.004654] 7058  18552f7c 00000034 44a07210 ffffffc0 00000000 00000000 00000000 00000000
[  148.012969] 7078  00000000 00000000 00000000 00000000 00000000 00000000 0000001e 00000000
[  148.021284] 7098  6132d986 00000022 002356fe 00000000 00b376ae 00000052 00000030 00000000
[  148.029600]
[  148.029600] X22: 0xffffffc0794a6f18:
[  148.034704] 6f18  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  148.043018] 6f38  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  148.051334] 6f58  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  148.059649] 6f78  00000000 00000000 f009f008 dead4ead 00000003 00000000 35156100 ffffffc0
[  148.067964] 6f98  099b0f60 ffffff80 09bcd430 ffffff80 09bdbac0 ffffff80 0900fe08 ffffff80
[  148.076279] 6fb8  00000003 00000000 080fc5e8 ffffff80 00000001 00000000 00000000 00000000
[  148.084594] 6fd8  00000000 00000000 00000004 00000000 00000010 00000000 0000001b 00000000
[  148.092909] 6ff8  ffff6b0f 00000000 00000000 00000000 00000000 00000000 00000001 00000000
[  148.101226]
[  148.101226] X25: 0xffffffc035156680:
[  148.106330] 6680  00000001 00000000 00000000 00000000 00000001 00000000 00000000 00000000
[  148.114645] 66a0  00000000 00000000 00000000 00000000 00000000 dead4ead ffffffff 00000000
[  148.122960] 66c0  ffffffff ffffffff 099ad6e8 ffffff80 00000000 00000000 00000000 00000000
[  148.131276] 66e0  0900a3b0 ffffff80 00000000 00000000 00000000 00000000 00000000 00000000
[  148.139592] 6700  00002b64 00000000 03938700 00000000 03938700 00000000 00000000 00000000
[  148.147907] 6720  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  148.156223] 6740  35156740 ffffffc0 35156740 ffffffc0 35156750 ffffffc0 35156750 ffffffc0
[  148.164539] 6760  35156760 ffffffc0 35156760 ffffffc0 00000000 00000000 3d922040 ffffffc0
[  148.172857]
[  148.172857] X26: 0xffffffc0794a6f00:
[  148.177960] 6f00  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  148.186275] 6f20  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  148.194590] 6f40  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  148.202905] 6f60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  148.211220] 6f80  f009f008 dead4ead 00000003 00000000 35156100 ffffffc0 099b0f60 ffffff80
[  148.219535] 6fa0  09bcd430 ffffff80 09bdbac0 ffffff80 0900fe08 ffffff80 00000003 00000000
[  148.227850] 6fc0  080fc5e8 ffffff80 00000001 00000000 00000000 00000000 00000000 00000000
[  148.236165] 6fe0  00000004 00000000 00000010 00000000 0000001b 00000000 ffff6b0f 00000000
[  148.244482]
[  148.244482] X29: 0xffffffc03515bcd0:
[  148.249585] bcd0  794a6f98 ffffffc0 09854000 ffffff80 00000000 00000000 35156700 ffffffc0
[  148.257900] bcf0  794a6f80 ffffffc0 08d60000 ffffff80 08d60428 ffffff80 3515bd50 ffffffc0
[  148.266215] bd10  0811908c ffffff80 3515bd50 ffffffc0 0810a3d8 ffffff80 600001c5 00000000
[  148.274531] bd30  3515bd80 ffffffc0 081316d4 ffffff80 ffffffff ffffffff 35158000 ffffffc0
[  148.282846] bd50  3515bde0 ffffffc0 0811908c ffffff80 00000000 00000000 794a6f80 ffffffc0
[  148.291161] bd70  794a7038 ffffffc0 794a6f98 ffffffc0 09854000 ffffff80 00000000 00000000
[  148.299477] bd90  35156700 ffffffc0 794a6f80 ffffffc0 08d60000 ffffff80 08d60428 ffffff80
[  148.307792] bdb0  794a7038 ffffffc0 794a6f80 ffffffc0 794a7038 ffffffc0 794a6f98 ffffffc0
[  148.316107]
[  148.317611] Process swapper/3 (pid: 0, stack limit = 0xffffffc035158020)
[  148.324384] Stack: (0xffffffc03515bd50 to 0xffffffc03515c000)
[  148.330191] bd40:                                   ffffffc03515bde0 ffffff800811908c
[  148.338107] bd60: 0000000000000000 ffffffc0794a6f80 ffffffc0794a7038 ffffffc0794a6f98
[  148.346022] bd80: ffffff8009854000 0000000000000000 ffffffc035156700 ffffffc0794a6f80
[  148.353937] bda0: ffffff8008d60000 ffffff8008d60428 ffffffc0794a7038 ffffffc0794a6f80
[  148.361852] bdc0: ffffffc0794a7038 ffffffc0794a6f98 ffffff8009854000 ffffff80081316d4
[  148.369767] bde0: ffffffc03515be90 ffffff8008d40cb4 ffffffc0794a6f80 ffffffc035156100
[  148.377683] be00: 0000000000000000 ffffffc0794a6f98 ffffff8009854000 0000000000000000
[  148.385598] be20: ffffffc035156700 ffffffc0794a6f80 ffffff8008d60000 ffffff8008d60428
[  148.393513] be40: ffffff80093def80 ffffffc035156100 ffffffc0794a7038 ffffff80098f7cd0
[  148.401428] be60: ffffffc0794a7038 ffffff8008d605f0 ffffffc000000000 ffffffc035156100
[  148.409343] be80: ffffffc0794a6f80 ffffffc035156100 ffffffc03515bf20 ffffff8008d41574
[  148.417258] bea0: ffffffc035158000 ffffff8008d5f000 ffffff80099a0000 ffffffc071d94400
[  148.425173] bec0: ffffff8009946ab8 ffffff8009218cc0 ffffff80093ddc50 ffffffc035158000
[  148.433088] bee0: ffffff800999e000 ffffff8009852000 ffffffc03515bf20 ffffff8008d4156c
[  148.441004] bf00: ffffffc035158000 ffffff8008d5f000 ffffff80099a0000 ffffff8008d41574
[  148.448919] bf20: ffffffc03515bf40 ffffff8008d415f0 ffffff8009852000 ffffff8008d5f000
[  148.456834] bf40: ffffffc03515bf50 ffffff8008121754 ffffffc03515bfc0 ffffff8008090e64
[  148.464749] bf60: 0000000000000003 ffffff800989e080 ffffffc035158000 0000000000000000
[  148.472663] bf80: 0000000000000000 0000000000000000 00000000027a9000 00000000027ac000
[  148.480579] bfa0: ffffff80080828d0 0000000000000000 00000000ffffffff ffffffc035158000
[  148.488494] bfc0: 0000000000000000 0000000000d4d03c 0000000034d5d91d 0000000000000e12
[  148.496409] bfe0: 0000000000000000 0000000000000000 00ee003e00e900a5 e9db62ffd3fb42ff
[  148.504322] Call trace:
[  148.506793] Exception stack(0xffffffc03515bb80 to 0xffffffc03515bcb0)
[  148.513303] bb80: 0000000000000000 0000008000000000 ffffffc03515bd50 ffffff800810a3d8
[  148.521218] bba0: 0000000000000055 0000000000000114 ffffffc03515bcd0 ffffff8008136434
[  148.529134] bbc0: ffffffc035158000 ffffff800a6f0288 0000000000000000 0000000000000000
[  148.537048] bbe0: 0000000000000002 0000000000000001 0000000000000000 ffffff800816cae8
[  148.544963] bc00: 00000000000001c0 ffffff80099a0468 0000000000000000 0000000000000000
[  148.552878] bc20: ffffff800811908c 0000000000000000 ffffff80081069ec 0000000000000001
[  148.560793] bc40: ffffff8008118fdc 0000000000000080 0000000000000000 ffffff8008d40980
[  148.568708] bc60: 0000000000000004 ffffff80098f7000 0000000000000005 ffffff8008d60420
[  148.576622] bc80: 0000000034d5d91d 0000000000000000 0000000000000000 0000000000000000
[  148.584536] bca0: 0000000000000000 0000000000000000
[  148.589468] [<ffffff800810a3d8>] set_next_entity+0x2c/0x10a0
[  148.595189] [<ffffff800811908c>] pick_next_task_fair+0xb0/0xd10
[  148.601176] [<ffffff8008d40cb4>] __schedule+0x420/0xc10
[  148.606458] [<ffffff8008d41574>] schedule+0x40/0xa0
[  148.611389] [<ffffff8008d415f0>] schedule_preempt_disabled+0x1c/0x2c
[  148.617815] [<ffffff8008121754>] cpu_startup_entry+0x13c/0x464
[  148.623713] [<ffffff8008090e64>] secondary_start_kernel+0x164/0x1b4
[  148.630046] [<0000000000d4d03c>] 0xd4d03c
[  148.634099] Code: aa0103f3 aa0003f5 aa1e03e0 d503201f (b9403a60)
[  148.749686] BUG: spinlock lockup suspected on CPU#0, kworker/0:1/578
[  148.756117]  lock: 0xffffffc0794a6f80, .magic: dead4ead, .owner: swapper/3/0, .owner_cpu: 3
[  148.764563] CPU: 0 PID: 578 Comm: kworker/0:1 Tainted: G      D         4.4.43-HCBS-Demotion-05354-g332859bfbe08-dirty #4
[  148.775637] Hardware name: HiKey Development Board (DT)
[  148.780924] Workqueue: events_freezable thermal_zone_device_check
[  148.787086] Call trace:
[  148.789559] [<ffffff800808ae98>] dump_backtrace+0x0/0x1e0
[  148.795016] [<ffffff800808b098>] show_stack+0x20/0x28
[  148.800125] [<ffffff8008553374>] dump_stack+0xa8/0xe0
[  148.805231] [<ffffff800813a4d4>] spin_dump+0x78/0x9c
[  148.810248] [<ffffff800813a7c8>] do_raw_spin_lock+0x180/0x1b4
[  148.816057] [<ffffff8008d46fb4>] _raw_spin_lock_irqsave+0x78/0x98
[  148.822217] [<ffffff8008123a60>] cpufreq_notifier_trans+0x128/0x14c
[  148.828552] [<ffffff80080ef154>] notifier_call_chain+0x64/0x9c
[  148.834449] [<ffffff80080efbdc>] __srcu_notifier_call_chain+0xa0/0xf0
[  148.840958] [<ffffff80080efc64>] srcu_notifier_call_chain+0x38/0x44
[  148.847296] [<ffffff80088f5644>] cpufreq_notify_transition+0xfc/0x2e0
[  148.853807] [<ffffff80088f7bec>] cpufreq_freq_transition_end+0x3c/0xb0
[  148.860405] [<ffffff80088f84a0>] __cpufreq_driver_target+0x1dc/0x320
[  148.866829] [<ffffff80088fa460>] cpufreq_governor_performance+0x50/0x60
[  148.873516] [<ffffff80088f6034>] __cpufreq_governor+0xb8/0x1ec
[  148.879411] [<ffffff80088f6994>] cpufreq_set_policy+0x2ac/0x3f0
[  148.885394] [<ffffff80088f9164>] cpufreq_update_policy+0x84/0x114
[  148.891555] [<ffffff80088da4ec>] cpufreq_set_cur_state+0x64/0x94
[  148.897626] [<ffffff80088d4ca4>] thermal_cdev_update.part.26+0x9c/0x22c
[  148.904312] [<ffffff80088d5b48>] power_actor_set_power+0x70/0x9c
[  148.910384] [<ffffff80088d9bc0>] power_allocator_throttle+0x4c8/0xad8
[  148.916893] [<ffffff80088d4e9c>] handle_thermal_trip.part.21+0x68/0x334
[  148.923579] [<ffffff80088d56e4>] thermal_zone_device_update+0xb8/0x280
[  148.930177] [<ffffff80088d58cc>] thermal_zone_device_check+0x20/0x2c
[  148.936601] [<ffffff80080e55a8>] process_one_work+0x1f8/0x70c
[  148.942408] [<ffffff80080e5bf8>] worker_thread+0x13c/0x4a4
[  148.947953] [<ffffff80080ed5cc>] kthread+0xe8/0xfc
[  148.952796] [<ffffff8008085ed0>] ret_from_fork+0x10/0x40
[  149.166404] BUG: spinlock lockup suspected on CPU#4, periodic2.sh/2858
[  149.173013]  lock: 0xffffffc0794a6f80, .magic: dead4ead, .owner: swapper/3/0, .owner_cpu: 3
[  149.181457] CPU: 4 PID: 2858 Comm: periodic2.sh Tainted: G      D         4.4.43-HCBS-Demotion-05354-g332859bfbe08-dirty #4
[  149.192707] Hardware name: HiKey Development Board (DT)
[  149.197985] Call trace:
[  149.200458] [<ffffff800808ae98>] dump_backtrace+0x0/0x1e0
[  149.205915] [<ffffff800808b098>] show_stack+0x20/0x28
[  149.211021] [<ffffff8008553374>] dump_stack+0xa8/0xe0
[  149.216126] [<ffffff800813a4d4>] spin_dump+0x78/0x9c
[  149.221144] [<ffffff800813a7c8>] do_raw_spin_lock+0x180/0x1b4
[  149.226952] [<ffffff8008d46f20>] _raw_spin_lock+0x6c/0x88
[  149.232411] [<ffffff80080fae64>] __task_rq_lock+0x58/0xdc
[  149.237868] [<ffffff80080ffb10>] wake_up_new_task+0xdc/0x318
[  149.243588] [<ffffff80080c5f14>] _do_fork+0xfc/0x6f0
[  149.248606] [<ffffff80080c6658>] SyS_clone+0x44/0x50
[  149.253623] [<ffffff8008085f30>] el0_svc_naked+0x24/0x28
[  149.640303] BUG: spinlock lockup suspected on CPU#3, swapper/3/0
[  149.646376]  lock: 0xffffffc0794a6f80, .magic: dead4ead, .owner: swapper/3/0, .owner_cpu: 3
[  149.654819] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D         4.4.43-HCBS-Demotion-05354-g332859bfbe08-dirty #4
[  149.665542] Hardware name: HiKey Development Board (DT)
[  149.670820] Call trace:
[  149.673291] [<ffffff800808ae98>] dump_backtrace+0x0/0x1e0
[  149.678748] [<ffffff800808b098>] show_stack+0x20/0x28
[  149.683853] [<ffffff8008553374>] dump_stack+0xa8/0xe0
[  149.688959] [<ffffff800813a4d4>] spin_dump+0x78/0x9c
[  149.693976] [<ffffff800813a7c8>] do_raw_spin_lock+0x180/0x1b4
[  149.699783] [<ffffff8008d46f20>] _raw_spin_lock+0x6c/0x88
[  149.705240] [<ffffff80080fc5e8>] scheduler_tick+0x50/0x2ac
[  149.710785] [<ffffff800815cf78>] update_process_times+0x58/0x70
[  149.716769] [<ffffff80081703a4>] tick_sched_timer+0x7c/0xfc
[  149.722401] [<ffffff800815d5b8>] __hrtimer_run_queues+0x164/0x624
[  149.728560] [<ffffff800815eb74>] hrtimer_interrupt+0xb0/0x1f4
[  149.734369] [<ffffff8008933150>] arch_timer_handler_phys+0x3c/0x48
[  149.740618] [<ffffff8008149e90>] handle_percpu_devid_irq+0xe8/0x3d0
[  149.746954] [<ffffff8008145104>] generic_handle_irq+0x34/0x4c
[  149.752761] [<ffffff80081451ac>] __handle_domain_irq+0x90/0xf8
[  149.758656] [<ffffff8008082544>] gic_handle_irq+0x64/0xc4
[  149.764113] Exception stack(0xffffffc0792e0050 to 0xffffffc0792e0180)
[  149.770622] 0040:                                   ffffffc03515b900 0000008000000000
[  149.778537] 0060: ffffffc03515ba30 ffffff8008d47230 0000000060000145 ffffffc035156100
[  149.786452] 0080: ffffffc03515ba30 ffffffc03515b900 0000000000000000 0000000000000000
[  149.794366] 00a0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  149.802281] 00c0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  149.810196] 00e0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  149.818111] 0100: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  149.826026] 0120: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  149.833940] 0140: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  149.841855] 0160: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  149.849770] [<ffffff80080857b8>] el1_irq+0xb8/0x130
[  149.854699] [<ffffff8008d47230>] _raw_spin_unlock_irq+0x3c/0x74
[  149.860682] [<ffffff800808b168>] die+0xc8/0x1b4
[  149.865262] [<ffffff800809b36c>] __do_kernel_fault.part.6+0x7c/0x90
[  149.871601] [<ffffff80080986a0>] do_translation_fault+0x0/0xec
[  149.877498] [<ffffff8008098768>] do_translation_fault+0xc8/0xec
[  149.883481] [<ffffff80080822e0>] do_mem_abort+0x54/0xb4
[  149.888761] Exception stack(0xffffffc03515bb80 to 0xffffffc03515bcb0)
[  149.895272] bb80: 0000000000000000 0000008000000000 ffffffc03515bd50 ffffff800810a3d8
[  149.903187] bba0: 0000000000000055 0000000000000114 ffffffc03515bcd0 ffffff8008136434
[  149.911102] bbc0: ffffffc035158000 ffffff800a6f0288 0000000000000000 0000000000000000
[  149.919017] bbe0: 0000000000000002 0000000000000001 0000000000000000 ffffff800816cae8
[  149.926932] bc00: 00000000000001c0 ffffff80099a0468 0000000000000000 0000000000000000
[  149.934847] bc20: ffffff800811908c 0000000000000000 ffffff80081069ec 0000000000000001
[  149.942762] bc40: ffffff8008118fdc 0000000000000080 0000000000000000 ffffff8008d40980
[  149.950676] bc60: 0000000000000004 ffffff80098f7000 0000000000000005 ffffff8008d60420
[  149.958591] bc80: 0000000034d5d91d 0000000000000000 0000000000000000 0000000000000000
[  149.966505] bca0: 0000000000000000 0000000000000000
[  149.971434] [<ffffff80080855c8>] el1_da+0x18/0x78
[  149.976189] [<ffffff800811908c>] pick_next_task_fair+0xb0/0xd10
[  149.982174] [<ffffff8008d40cb4>] __schedule+0x420/0xc10
[  149.987456] [<ffffff8008d41574>] schedule+0x40/0xa0
[  149.992387] [<ffffff8008d415f0>] schedule_preempt_disabled+0x1c/0x2c
[  149.998809] [<ffffff8008121754>] cpu_startup_entry+0x13c/0x464
[  150.004705] [<ffffff8008090e64>] secondary_start_kernel+0x164/0x1b4
[  150.011038] [<0000000000d4d03c>] 0xd4d03c
lucabe72 commented 7 years ago

Uhm... This crash looks like the previous one... I am going to check if I can reproduce it

On 22 June 2017 at 14:21, Juri Lelli notifications@github.com wrote:

So, periodic and periodic1 doesn't seem to have problems (anymore). But, periodic2 generates the following (when run for over 100 sec):

[ 147.659662] Unable to handle kernel NULL pointer dereference at virtual address 00000038 [ 147.667862] pgd = ffffff800a7ac000 [ 147.671300] [00000038] pgd=000000007bffe003, pud=000000007bffe003, *pmd=0000000000000000 [ 147.679683] Internal error: Oops: 96000006 [#1] PREEMPT SMP [ 147.685326] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.4.43-HCBS-Demotion-05354-g332859bfbe08-dirty #4 [ 147.694823] Hardware name: HiKey Development Board (DT) [ 147.700106] task: ffffffc035156100 ti: ffffffc035158000 task.ti: ffffffc035158000 [ 147.707681] PC is at set_next_entity+0x2c/0x10a0 [ 147.712351] LR is at pick_next_task_fair+0xb0/0xd10 [ 147.717281] pc : [] lr : [] pstate: 600001c5 [ 147.724759] sp : ffffffc03515bd50 [ 147.728107] x29: ffffffc03515bd50 x28: ffffff8008d60428 [ 147.733491] x27: ffffff8008d60000 x26: ffffffc0794a6f80 [ 147.738873] x25: ffffffc035156700 x24: 0000000000000000 [ 147.744254] x23: ffffff8009854000 x22: ffffffc0794a6f98 [ 147.749209] CPU0: update max cpu_capacity 1024

[ 147.753970] [ 147.755650] x21: ffffffc0794a7038 x20: ffffffc0794a6f80 [ 147.761028] x19: 0000000000000000 x18: 0000000000000000 [ 147.766405] x17: 0000000000000000 x16: 0000000000000000 [ 147.771783] x15: 0000000000000000 x14: 0000000000000000 [ 147.777160] x13: 0000000000000000 x12: 0000000034d5d91d [ 147.782537] x11: ffffff8008d60420 x10: 0000000000000005 [ 147.787914] x9 : ffffff80098f7000 x8 : 0000000000000004 [ 147.793292] x7 : ffffff8008d40980 x6 : 0000000000000000 [ 147.798668] x5 : 0000000000000080 x4 : ffffff8008118fdc [ 147.804044] x3 : 0000000000000001 x2 : ffffff80081069ec [ 147.809421] x1 : 0000000000000000 x0 : ffffff800811908c [ 147.814801] [ 147.814801] SP: 0xffffffc03515bcd0: [ 147.819817] bcd0 794a6f98 ffffffc0 09854000 ffffff80 00000000 00000000 35156700 ffffffc0 [ 147.828134] bcf0 794a6f80 ffffffc0 08d60000 ffffff80 08d60428 ffffff80 3515bd50 ffffffc0 [ 147.836448] bd10 0811908c ffffff80 3515bd50 ffffffc0 0810a3d8 ffffff80 600001c5 00000000 [ 147.844763] bd30 3515bd80 ffffffc0 081316d4 ffffff80 ffffffff ffffffff 35158000 ffffffc0 [ 147.853079] bd50 3515bde0 ffffffc0 0811908c ffffff80 00000000 00000000 794a6f80 ffffffc0 [ 147.861393] bd70 794a7038 ffffffc0 794a6f98 ffffffc0 09854000 ffffff80 00000000 00000000 [ 147.869708] bd90 35156700 ffffffc0 794a6f80 ffffffc0 08d60000 ffffff80 08d60428 ffffff80 [ 147.878024] bdb0 794a7038 ffffffc0 794a6f80 ffffffc0 794a7038 ffffffc0 794a6f98 ffffffc0 [ 147.886347] [ 147.886347] X20: 0xffffffc0794a6f00: [ 147.891451] 6f00 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 147.899767] 6f20 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 147.908082] 6f40 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 147.916397] 6f60 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 147.924713] 6f80 f009f008 dead4ead 00000003 00000000 35156100 ffffffc0 099b0f60 ffffff80 [ 147.933028] 6fa0 09bcd430 ffffff80 09bdbac0 ffffff80 0900fe08 ffffff80 00000003 00000000 [ 147.941343] 6fc0 080fc5e8 ffffff80 00000001 00000000 00000000 00000000 00000000 00000000 [ 147.949658] 6fe0 00000004 00000000 00000010 00000000 0000001b 00000000 ffff6b0f 00000000 [ 147.957974] [ 147.957974] X21: 0xffffffc0794a6fb8: [ 147.963078] 6fb8 00000003 00000000 080fc5e8 ffffff80 00000001 00000000 00000000 00000000 [ 147.971394] 6fd8 00000000 00000000 00000004 00000000 00000010 00000000 0000001b 00000000 [ 147.979709] 6ff8 ffff6b0f 00000000 00000000 00000000 00000000 00000000 00000001 00000000 [ 147.988025] 7018 000000ce 00000000 00000000 00000000 000043b8 00000000 00007b88 00000000 [ 147.996339] 7038 000000ce 00000000 00000000 00000000 00000001 00000001 7db4db90 00000008 [ 148.004654] 7058 18552f7c 00000034 44a07210 ffffffc0 00000000 00000000 00000000 00000000 [ 148.012969] 7078 00000000 00000000 00000000 00000000 00000000 00000000 0000001e 00000000 [ 148.021284] 7098 6132d986 00000022 002356fe 00000000 00b376ae 00000052 00000030 00000000 [ 148.029600] [ 148.029600] X22: 0xffffffc0794a6f18: [ 148.034704] 6f18 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.043018] 6f38 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.051334] 6f58 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.059649] 6f78 00000000 00000000 f009f008 dead4ead 00000003 00000000 35156100 ffffffc0 [ 148.067964] 6f98 099b0f60 ffffff80 09bcd430 ffffff80 09bdbac0 ffffff80 0900fe08 ffffff80 [ 148.076279] 6fb8 00000003 00000000 080fc5e8 ffffff80 00000001 00000000 00000000 00000000 [ 148.084594] 6fd8 00000000 00000000 00000004 00000000 00000010 00000000 0000001b 00000000 [ 148.092909] 6ff8 ffff6b0f 00000000 00000000 00000000 00000000 00000000 00000001 00000000 [ 148.101226] [ 148.101226] X25: 0xffffffc035156680: [ 148.106330] 6680 00000001 00000000 00000000 00000000 00000001 00000000 00000000 00000000 [ 148.114645] 66a0 00000000 00000000 00000000 00000000 00000000 dead4ead ffffffff 00000000 [ 148.122960] 66c0 ffffffff ffffffff 099ad6e8 ffffff80 00000000 00000000 00000000 00000000 [ 148.131276] 66e0 0900a3b0 ffffff80 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.139592] 6700 00002b64 00000000 03938700 00000000 03938700 00000000 00000000 00000000 [ 148.147907] 6720 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.156223] 6740 35156740 ffffffc0 35156740 ffffffc0 35156750 ffffffc0 35156750 ffffffc0 [ 148.164539] 6760 35156760 ffffffc0 35156760 ffffffc0 00000000 00000000 3d922040 ffffffc0 [ 148.172857] [ 148.172857] X26: 0xffffffc0794a6f00: [ 148.177960] 6f00 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.186275] 6f20 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.194590] 6f40 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.202905] 6f60 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.211220] 6f80 f009f008 dead4ead 00000003 00000000 35156100 ffffffc0 099b0f60 ffffff80 [ 148.219535] 6fa0 09bcd430 ffffff80 09bdbac0 ffffff80 0900fe08 ffffff80 00000003 00000000 [ 148.227850] 6fc0 080fc5e8 ffffff80 00000001 00000000 00000000 00000000 00000000 00000000 [ 148.236165] 6fe0 00000004 00000000 00000010 00000000 0000001b 00000000 ffff6b0f 00000000 [ 148.244482] [ 148.244482] X29: 0xffffffc03515bcd0: [ 148.249585] bcd0 794a6f98 ffffffc0 09854000 ffffff80 00000000 00000000 35156700 ffffffc0 [ 148.257900] bcf0 794a6f80 ffffffc0 08d60000 ffffff80 08d60428 ffffff80 3515bd50 ffffffc0 [ 148.266215] bd10 0811908c ffffff80 3515bd50 ffffffc0 0810a3d8 ffffff80 600001c5 00000000 [ 148.274531] bd30 3515bd80 ffffffc0 081316d4 ffffff80 ffffffff ffffffff 35158000 ffffffc0 [ 148.282846] bd50 3515bde0 ffffffc0 0811908c ffffff80 00000000 00000000 794a6f80 ffffffc0 [ 148.291161] bd70 794a7038 ffffffc0 794a6f98 ffffffc0 09854000 ffffff80 00000000 00000000 [ 148.299477] bd90 35156700 ffffffc0 794a6f80 ffffffc0 08d60000 ffffff80 08d60428 ffffff80 [ 148.307792] bdb0 794a7038 ffffffc0 794a6f80 ffffffc0 794a7038 ffffffc0 794a6f98 ffffffc0 [ 148.316107] [ 148.317611] Process swapper/3 (pid: 0, stack limit = 0xffffffc035158020) [ 148.324384] Stack: (0xffffffc03515bd50 to 0xffffffc03515c000) [ 148.330191] bd40: ffffffc03515bde0 ffffff800811908c [ 148.338107] bd60: 0000000000000000 ffffffc0794a6f80 ffffffc0794a7038 ffffffc0794a6f98 [ 148.346022] bd80: ffffff8009854000 0000000000000000 ffffffc035156700 ffffffc0794a6f80 [ 148.353937] bda0: ffffff8008d60000 ffffff8008d60428 ffffffc0794a7038 ffffffc0794a6f80 [ 148.361852] bdc0: ffffffc0794a7038 ffffffc0794a6f98 ffffff8009854000 ffffff80081316d4 [ 148.369767] bde0: ffffffc03515be90 ffffff8008d40cb4 ffffffc0794a6f80 ffffffc035156100 [ 148.377683] be00: 0000000000000000 ffffffc0794a6f98 ffffff8009854000 0000000000000000 [ 148.385598] be20: ffffffc035156700 ffffffc0794a6f80 ffffff8008d60000 ffffff8008d60428 [ 148.393513] be40: ffffff80093def80 ffffffc035156100 ffffffc0794a7038 ffffff80098f7cd0 [ 148.401428] be60: ffffffc0794a7038 ffffff8008d605f0 ffffffc000000000 ffffffc035156100 [ 148.409343] be80: ffffffc0794a6f80 ffffffc035156100 ffffffc03515bf20 ffffff8008d41574 [ 148.417258] bea0: ffffffc035158000 ffffff8008d5f000 ffffff80099a0000 ffffffc071d94400 [ 148.425173] bec0: ffffff8009946ab8 ffffff8009218cc0 ffffff80093ddc50 ffffffc035158000 [ 148.433088] bee0: ffffff800999e000 ffffff8009852000 ffffffc03515bf20 ffffff8008d4156c [ 148.441004] bf00: ffffffc035158000 ffffff8008d5f000 ffffff80099a0000 ffffff8008d41574 [ 148.448919] bf20: ffffffc03515bf40 ffffff8008d415f0 ffffff8009852000 ffffff8008d5f000 [ 148.456834] bf40: ffffffc03515bf50 ffffff8008121754 ffffffc03515bfc0 ffffff8008090e64 [ 148.464749] bf60: 0000000000000003 ffffff800989e080 ffffffc035158000 0000000000000000 [ 148.472663] bf80: 0000000000000000 0000000000000000 00000000027a9000 00000000027ac000 [ 148.480579] bfa0: ffffff80080828d0 0000000000000000 00000000ffffffff ffffffc035158000 [ 148.488494] bfc0: 0000000000000000 0000000000d4d03c 0000000034d5d91d 0000000000000e12 [ 148.496409] bfe0: 0000000000000000 0000000000000000 00ee003e00e900a5 e9db62ffd3fb42ff [ 148.504322] Call trace: [ 148.506793] Exception stack(0xffffffc03515bb80 to 0xffffffc03515bcb0) [ 148.513303] bb80: 0000000000000000 0000008000000000 ffffffc03515bd50 ffffff800810a3d8 [ 148.521218] bba0: 0000000000000055 0000000000000114 ffffffc03515bcd0 ffffff8008136434 [ 148.529134] bbc0: ffffffc035158000 ffffff800a6f0288 0000000000000000 0000000000000000 [ 148.537048] bbe0: 0000000000000002 0000000000000001 0000000000000000 ffffff800816cae8 [ 148.544963] bc00: 00000000000001c0 ffffff80099a0468 0000000000000000 0000000000000000 [ 148.552878] bc20: ffffff800811908c 0000000000000000 ffffff80081069ec 0000000000000001 [ 148.560793] bc40: ffffff8008118fdc 0000000000000080 0000000000000000 ffffff8008d40980 [ 148.568708] bc60: 0000000000000004 ffffff80098f7000 0000000000000005 ffffff8008d60420 [ 148.576622] bc80: 0000000034d5d91d 0000000000000000 0000000000000000 0000000000000000 [ 148.584536] bca0: 0000000000000000 0000000000000000 [ 148.589468] [] set_next_entity+0x2c/0x10a0 [ 148.595189] [] pick_next_task_fair+0xb0/0xd10 [ 148.601176] [] schedule+0x420/0xc10 [ 148.606458] [] schedule+0x40/0xa0 [ 148.611389] [] schedule_preempt_disabled+0x1c/0x2c [ 148.617815] [] cpu_startup_entry+0x13c/0x464 [ 148.623713] [] secondary_start_kernel+0x164/0x1b4 [ 148.630046] [<0000000000d4d03c>] 0xd4d03c [ 148.634099] Code: aa0103f3 aa0003f5 aa1e03e0 d503201f (b9403a60) [ 148.749686] BUG: spinlock lockup suspected on CPU#0, kworker/0:1/578 [ 148.756117] lock: 0xffffffc0794a6f80, .magic: dead4ead, .owner: swapper/3/0, .owner_cpu: 3 [ 148.764563] CPU: 0 PID: 578 Comm: kworker/0:1 Tainted: G D 4.4.43-HCBS-Demotion-05354-g332859bfbe08-dirty #4 [ 148.775637] Hardware name: HiKey Development Board (DT) [ 148.780924] Workqueue: events_freezable thermal_zone_device_check [ 148.787086] Call trace: [ 148.789559] [] dump_backtrace+0x0/0x1e0 [ 148.795016] [] show_stack+0x20/0x28 [ 148.800125] [] dump_stack+0xa8/0xe0 [ 148.805231] [] spin_dump+0x78/0x9c [ 148.810248] [] do_raw_spin_lock+0x180/0x1b4 [ 148.816057] [] _raw_spin_lock_irqsave+0x78/0x98 [ 148.822217] [] cpufreq_notifier_trans+0x128/0x14c [ 148.828552] [] notifier_call_chain+0x64/0x9c [ 148.834449] [] srcu_notifier_call_chain+0xa0/0xf0 [ 148.840958] [] srcu_notifier_call_chain+0x38/0x44 [ 148.847296] [] cpufreq_notify_transition+0xfc/0x2e0 [ 148.853807] [] cpufreq_freq_transition_end+0x3c/0xb0 [ 148.860405] [] cpufreq_driver_target+0x1dc/0x320 [ 148.866829] [] cpufreq_governor_performance+0x50/0x60 [ 148.873516] [] cpufreq_governor+0xb8/0x1ec [ 148.879411] [] cpufreq_set_policy+0x2ac/0x3f0 [ 148.885394] [] cpufreq_update_policy+0x84/0x114 [ 148.891555] [] cpufreq_set_cur_state+0x64/0x94 [ 148.897626] [] thermal_cdev_update.part.26+0x9c/0x22c [ 148.904312] [] power_actor_set_power+0x70/0x9c [ 148.910384] [] power_allocator_throttle+0x4c8/0xad8 [ 148.916893] [] handle_thermal_trip.part.21+0x68/0x334 [ 148.923579] [] thermal_zone_device_update+0xb8/0x280 [ 148.930177] [] thermal_zone_device_check+0x20/0x2c [ 148.936601] [] process_one_work+0x1f8/0x70c [ 148.942408] [] worker_thread+0x13c/0x4a4 [ 148.947953] [] kthread+0xe8/0xfc [ 148.952796] [] ret_from_fork+0x10/0x40 [ 149.166404] BUG: spinlock lockup suspected on CPU#4, periodic2.sh/2858 [ 149.173013] lock: 0xffffffc0794a6f80, .magic: dead4ead, .owner: swapper/3/0, .owner_cpu: 3 [ 149.181457] CPU: 4 PID: 2858 Comm: periodic2.sh Tainted: G D 4.4.43-HCBS-Demotion-05354-g332859bfbe08-dirty #4 [ 149.192707] Hardware name: HiKey Development Board (DT) [ 149.197985] Call trace: [ 149.200458] [] dump_backtrace+0x0/0x1e0 [ 149.205915] [] show_stack+0x20/0x28 [ 149.211021] [] dump_stack+0xa8/0xe0 [ 149.216126] [] spin_dump+0x78/0x9c [ 149.221144] [] do_raw_spin_lock+0x180/0x1b4 [ 149.226952] [] _raw_spin_lock+0x6c/0x88 [ 149.232411] [] task_rq_lock+0x58/0xdc [ 149.237868] [] wake_up_new_task+0xdc/0x318 [ 149.243588] [] _do_fork+0xfc/0x6f0 [ 149.248606] [] SyS_clone+0x44/0x50 [ 149.253623] [] el0_svc_naked+0x24/0x28 [ 149.640303] BUG: spinlock lockup suspected on CPU#3, swapper/3/0 [ 149.646376] lock: 0xffffffc0794a6f80, .magic: dead4ead, .owner: swapper/3/0, .owner_cpu: 3 [ 149.654819] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D 4.4.43-HCBS-Demotion-05354-g332859bfbe08-dirty #4 [ 149.665542] Hardware name: HiKey Development Board (DT) [ 149.670820] Call trace: [ 149.673291] [] dump_backtrace+0x0/0x1e0 [ 149.678748] [] show_stack+0x20/0x28 [ 149.683853] [] dump_stack+0xa8/0xe0 [ 149.688959] [] spin_dump+0x78/0x9c [ 149.693976] [] do_raw_spin_lock+0x180/0x1b4 [ 149.699783] [] _raw_spin_lock+0x6c/0x88 [ 149.705240] [] scheduler_tick+0x50/0x2ac [ 149.710785] [] update_process_times+0x58/0x70 [ 149.716769] [] tick_sched_timer+0x7c/0xfc [ 149.722401] [] hrtimer_run_queues+0x164/0x624 [ 149.728560] [] hrtimer_interrupt+0xb0/0x1f4 [ 149.734369] [] arch_timer_handler_phys+0x3c/0x48 [ 149.740618] [] handle_percpu_devid_irq+0xe8/0x3d0 [ 149.746954] [] generic_handle_irq+0x34/0x4c [ 149.752761] [] __handle_domain_irq+0x90/0xf8 [ 149.758656] [] gic_handle_irq+0x64/0xc4 [ 149.764113] Exception stack(0xffffffc0792e0050 to 0xffffffc0792e0180) [ 149.770622] 0040: ffffffc03515b900 0000008000000000 [ 149.778537] 0060: ffffffc03515ba30 ffffff8008d47230 0000000060000145 ffffffc035156100 [ 149.786452] 0080: ffffffc03515ba30 ffffffc03515b900 0000000000000000 0000000000000000 [ 149.794366] 00a0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 149.802281] 00c0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 149.810196] 00e0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 149.818111] 0100: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 149.826026] 0120: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 149.833940] 0140: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 149.841855] 0160: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 149.849770] [] el1_irq+0xb8/0x130 [ 149.854699] [] _raw_spin_unlock_irq+0x3c/0x74 [ 149.860682] [] die+0xc8/0x1b4 [ 149.865262] [] do_kernel_fault.part.6+0x7c/0x90 [ 149.871601] [] do_translation_fault+0x0/0xec [ 149.877498] [] do_translation_fault+0xc8/0xec [ 149.883481] [] do_mem_abort+0x54/0xb4 [ 149.888761] Exception stack(0xffffffc03515bb80 to 0xffffffc03515bcb0) [ 149.895272] bb80: 0000000000000000 0000008000000000 ffffffc03515bd50 ffffff800810a3d8 [ 149.903187] bba0: 0000000000000055 0000000000000114 ffffffc03515bcd0 ffffff8008136434 [ 149.911102] bbc0: ffffffc035158000 ffffff800a6f0288 0000000000000000 0000000000000000 [ 149.919017] bbe0: 0000000000000002 0000000000000001 0000000000000000 ffffff800816cae8 [ 149.926932] bc00: 00000000000001c0 ffffff80099a0468 0000000000000000 0000000000000000 [ 149.934847] bc20: ffffff800811908c 0000000000000000 ffffff80081069ec 0000000000000001 [ 149.942762] bc40: ffffff8008118fdc 0000000000000080 0000000000000000 ffffff8008d40980 [ 149.950676] bc60: 0000000000000004 ffffff80098f7000 0000000000000005 ffffff8008d60420 [ 149.958591] bc80: 0000000034d5d91d 0000000000000000 0000000000000000 0000000000000000 [ 149.966505] bca0: 0000000000000000 0000000000000000 [ 149.971434] [] el1_da+0x18/0x78 [ 149.976189] [] pick_next_task_fair+0xb0/0xd10 [ 149.982174] [] schedule+0x420/0xc10 [ 149.987456] [] schedule+0x40/0xa0 [ 149.992387] [] schedule_preempt_disabled+0x1c/0x2c [ 149.998809] [] cpu_startup_entry+0x13c/0x464 [ 150.004705] [] secondary_start_kernel+0x164/0x1b4 [ 150.011038] [<0000000000d4d03c>] 0xd4d03c

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jlelli/linux/pull/2#issuecomment-310363838, or mute the thread https://github.com/notifications/unsubscribe-auth/AEC-4YWfzBPD-4HPG8jqsK4QVis1e1Kfks5sGlxGgaJpZM4N_e0M .

lucabe72 commented 7 years ago

So, it crashes after it finished to switch between RT and OTHER?

Luca

On 22 June 2017 at 14:21, Juri Lelli notifications@github.com wrote:

So, periodic and periodic1 doesn't seem to have problems (anymore). But, periodic2 generates the following (when run for over 100 sec):

[ 147.659662] Unable to handle kernel NULL pointer dereference at virtual address 00000038 [ 147.667862] pgd = ffffff800a7ac000 [ 147.671300] [00000038] pgd=000000007bffe003, pud=000000007bffe003, *pmd=0000000000000000 [ 147.679683] Internal error: Oops: 96000006 [#1] PREEMPT SMP [ 147.685326] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.4.43-HCBS-Demotion-05354-g332859bfbe08-dirty #4 [ 147.694823] Hardware name: HiKey Development Board (DT) [ 147.700106] task: ffffffc035156100 ti: ffffffc035158000 task.ti: ffffffc035158000 [ 147.707681] PC is at set_next_entity+0x2c/0x10a0 [ 147.712351] LR is at pick_next_task_fair+0xb0/0xd10 [ 147.717281] pc : [] lr : [] pstate: 600001c5 [ 147.724759] sp : ffffffc03515bd50 [ 147.728107] x29: ffffffc03515bd50 x28: ffffff8008d60428 [ 147.733491] x27: ffffff8008d60000 x26: ffffffc0794a6f80 [ 147.738873] x25: ffffffc035156700 x24: 0000000000000000 [ 147.744254] x23: ffffff8009854000 x22: ffffffc0794a6f98 [ 147.749209] CPU0: update max cpu_capacity 1024

[ 147.753970] [ 147.755650] x21: ffffffc0794a7038 x20: ffffffc0794a6f80 [ 147.761028] x19: 0000000000000000 x18: 0000000000000000 [ 147.766405] x17: 0000000000000000 x16: 0000000000000000 [ 147.771783] x15: 0000000000000000 x14: 0000000000000000 [ 147.777160] x13: 0000000000000000 x12: 0000000034d5d91d [ 147.782537] x11: ffffff8008d60420 x10: 0000000000000005 [ 147.787914] x9 : ffffff80098f7000 x8 : 0000000000000004 [ 147.793292] x7 : ffffff8008d40980 x6 : 0000000000000000 [ 147.798668] x5 : 0000000000000080 x4 : ffffff8008118fdc [ 147.804044] x3 : 0000000000000001 x2 : ffffff80081069ec [ 147.809421] x1 : 0000000000000000 x0 : ffffff800811908c [ 147.814801] [ 147.814801] SP: 0xffffffc03515bcd0: [ 147.819817] bcd0 794a6f98 ffffffc0 09854000 ffffff80 00000000 00000000 35156700 ffffffc0 [ 147.828134] bcf0 794a6f80 ffffffc0 08d60000 ffffff80 08d60428 ffffff80 3515bd50 ffffffc0 [ 147.836448] bd10 0811908c ffffff80 3515bd50 ffffffc0 0810a3d8 ffffff80 600001c5 00000000 [ 147.844763] bd30 3515bd80 ffffffc0 081316d4 ffffff80 ffffffff ffffffff 35158000 ffffffc0 [ 147.853079] bd50 3515bde0 ffffffc0 0811908c ffffff80 00000000 00000000 794a6f80 ffffffc0 [ 147.861393] bd70 794a7038 ffffffc0 794a6f98 ffffffc0 09854000 ffffff80 00000000 00000000 [ 147.869708] bd90 35156700 ffffffc0 794a6f80 ffffffc0 08d60000 ffffff80 08d60428 ffffff80 [ 147.878024] bdb0 794a7038 ffffffc0 794a6f80 ffffffc0 794a7038 ffffffc0 794a6f98 ffffffc0 [ 147.886347] [ 147.886347] X20: 0xffffffc0794a6f00: [ 147.891451] 6f00 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 147.899767] 6f20 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 147.908082] 6f40 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 147.916397] 6f60 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 147.924713] 6f80 f009f008 dead4ead 00000003 00000000 35156100 ffffffc0 099b0f60 ffffff80 [ 147.933028] 6fa0 09bcd430 ffffff80 09bdbac0 ffffff80 0900fe08 ffffff80 00000003 00000000 [ 147.941343] 6fc0 080fc5e8 ffffff80 00000001 00000000 00000000 00000000 00000000 00000000 [ 147.949658] 6fe0 00000004 00000000 00000010 00000000 0000001b 00000000 ffff6b0f 00000000 [ 147.957974] [ 147.957974] X21: 0xffffffc0794a6fb8: [ 147.963078] 6fb8 00000003 00000000 080fc5e8 ffffff80 00000001 00000000 00000000 00000000 [ 147.971394] 6fd8 00000000 00000000 00000004 00000000 00000010 00000000 0000001b 00000000 [ 147.979709] 6ff8 ffff6b0f 00000000 00000000 00000000 00000000 00000000 00000001 00000000 [ 147.988025] 7018 000000ce 00000000 00000000 00000000 000043b8 00000000 00007b88 00000000 [ 147.996339] 7038 000000ce 00000000 00000000 00000000 00000001 00000001 7db4db90 00000008 [ 148.004654] 7058 18552f7c 00000034 44a07210 ffffffc0 00000000 00000000 00000000 00000000 [ 148.012969] 7078 00000000 00000000 00000000 00000000 00000000 00000000 0000001e 00000000 [ 148.021284] 7098 6132d986 00000022 002356fe 00000000 00b376ae 00000052 00000030 00000000 [ 148.029600] [ 148.029600] X22: 0xffffffc0794a6f18: [ 148.034704] 6f18 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.043018] 6f38 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.051334] 6f58 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.059649] 6f78 00000000 00000000 f009f008 dead4ead 00000003 00000000 35156100 ffffffc0 [ 148.067964] 6f98 099b0f60 ffffff80 09bcd430 ffffff80 09bdbac0 ffffff80 0900fe08 ffffff80 [ 148.076279] 6fb8 00000003 00000000 080fc5e8 ffffff80 00000001 00000000 00000000 00000000 [ 148.084594] 6fd8 00000000 00000000 00000004 00000000 00000010 00000000 0000001b 00000000 [ 148.092909] 6ff8 ffff6b0f 00000000 00000000 00000000 00000000 00000000 00000001 00000000 [ 148.101226] [ 148.101226] X25: 0xffffffc035156680: [ 148.106330] 6680 00000001 00000000 00000000 00000000 00000001 00000000 00000000 00000000 [ 148.114645] 66a0 00000000 00000000 00000000 00000000 00000000 dead4ead ffffffff 00000000 [ 148.122960] 66c0 ffffffff ffffffff 099ad6e8 ffffff80 00000000 00000000 00000000 00000000 [ 148.131276] 66e0 0900a3b0 ffffff80 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.139592] 6700 00002b64 00000000 03938700 00000000 03938700 00000000 00000000 00000000 [ 148.147907] 6720 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.156223] 6740 35156740 ffffffc0 35156740 ffffffc0 35156750 ffffffc0 35156750 ffffffc0 [ 148.164539] 6760 35156760 ffffffc0 35156760 ffffffc0 00000000 00000000 3d922040 ffffffc0 [ 148.172857] [ 148.172857] X26: 0xffffffc0794a6f00: [ 148.177960] 6f00 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.186275] 6f20 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.194590] 6f40 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.202905] 6f60 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 148.211220] 6f80 f009f008 dead4ead 00000003 00000000 35156100 ffffffc0 099b0f60 ffffff80 [ 148.219535] 6fa0 09bcd430 ffffff80 09bdbac0 ffffff80 0900fe08 ffffff80 00000003 00000000 [ 148.227850] 6fc0 080fc5e8 ffffff80 00000001 00000000 00000000 00000000 00000000 00000000 [ 148.236165] 6fe0 00000004 00000000 00000010 00000000 0000001b 00000000 ffff6b0f 00000000 [ 148.244482] [ 148.244482] X29: 0xffffffc03515bcd0: [ 148.249585] bcd0 794a6f98 ffffffc0 09854000 ffffff80 00000000 00000000 35156700 ffffffc0 [ 148.257900] bcf0 794a6f80 ffffffc0 08d60000 ffffff80 08d60428 ffffff80 3515bd50 ffffffc0 [ 148.266215] bd10 0811908c ffffff80 3515bd50 ffffffc0 0810a3d8 ffffff80 600001c5 00000000 [ 148.274531] bd30 3515bd80 ffffffc0 081316d4 ffffff80 ffffffff ffffffff 35158000 ffffffc0 [ 148.282846] bd50 3515bde0 ffffffc0 0811908c ffffff80 00000000 00000000 794a6f80 ffffffc0 [ 148.291161] bd70 794a7038 ffffffc0 794a6f98 ffffffc0 09854000 ffffff80 00000000 00000000 [ 148.299477] bd90 35156700 ffffffc0 794a6f80 ffffffc0 08d60000 ffffff80 08d60428 ffffff80 [ 148.307792] bdb0 794a7038 ffffffc0 794a6f80 ffffffc0 794a7038 ffffffc0 794a6f98 ffffffc0 [ 148.316107] [ 148.317611] Process swapper/3 (pid: 0, stack limit = 0xffffffc035158020) [ 148.324384] Stack: (0xffffffc03515bd50 to 0xffffffc03515c000) [ 148.330191] bd40: ffffffc03515bde0 ffffff800811908c [ 148.338107] bd60: 0000000000000000 ffffffc0794a6f80 ffffffc0794a7038 ffffffc0794a6f98 [ 148.346022] bd80: ffffff8009854000 0000000000000000 ffffffc035156700 ffffffc0794a6f80 [ 148.353937] bda0: ffffff8008d60000 ffffff8008d60428 ffffffc0794a7038 ffffffc0794a6f80 [ 148.361852] bdc0: ffffffc0794a7038 ffffffc0794a6f98 ffffff8009854000 ffffff80081316d4 [ 148.369767] bde0: ffffffc03515be90 ffffff8008d40cb4 ffffffc0794a6f80 ffffffc035156100 [ 148.377683] be00: 0000000000000000 ffffffc0794a6f98 ffffff8009854000 0000000000000000 [ 148.385598] be20: ffffffc035156700 ffffffc0794a6f80 ffffff8008d60000 ffffff8008d60428 [ 148.393513] be40: ffffff80093def80 ffffffc035156100 ffffffc0794a7038 ffffff80098f7cd0 [ 148.401428] be60: ffffffc0794a7038 ffffff8008d605f0 ffffffc000000000 ffffffc035156100 [ 148.409343] be80: ffffffc0794a6f80 ffffffc035156100 ffffffc03515bf20 ffffff8008d41574 [ 148.417258] bea0: ffffffc035158000 ffffff8008d5f000 ffffff80099a0000 ffffffc071d94400 [ 148.425173] bec0: ffffff8009946ab8 ffffff8009218cc0 ffffff80093ddc50 ffffffc035158000 [ 148.433088] bee0: ffffff800999e000 ffffff8009852000 ffffffc03515bf20 ffffff8008d4156c [ 148.441004] bf00: ffffffc035158000 ffffff8008d5f000 ffffff80099a0000 ffffff8008d41574 [ 148.448919] bf20: ffffffc03515bf40 ffffff8008d415f0 ffffff8009852000 ffffff8008d5f000 [ 148.456834] bf40: ffffffc03515bf50 ffffff8008121754 ffffffc03515bfc0 ffffff8008090e64 [ 148.464749] bf60: 0000000000000003 ffffff800989e080 ffffffc035158000 0000000000000000 [ 148.472663] bf80: 0000000000000000 0000000000000000 00000000027a9000 00000000027ac000 [ 148.480579] bfa0: ffffff80080828d0 0000000000000000 00000000ffffffff ffffffc035158000 [ 148.488494] bfc0: 0000000000000000 0000000000d4d03c 0000000034d5d91d 0000000000000e12 [ 148.496409] bfe0: 0000000000000000 0000000000000000 00ee003e00e900a5 e9db62ffd3fb42ff [ 148.504322] Call trace: [ 148.506793] Exception stack(0xffffffc03515bb80 to 0xffffffc03515bcb0) [ 148.513303] bb80: 0000000000000000 0000008000000000 ffffffc03515bd50 ffffff800810a3d8 [ 148.521218] bba0: 0000000000000055 0000000000000114 ffffffc03515bcd0 ffffff8008136434 [ 148.529134] bbc0: ffffffc035158000 ffffff800a6f0288 0000000000000000 0000000000000000 [ 148.537048] bbe0: 0000000000000002 0000000000000001 0000000000000000 ffffff800816cae8 [ 148.544963] bc00: 00000000000001c0 ffffff80099a0468 0000000000000000 0000000000000000 [ 148.552878] bc20: ffffff800811908c 0000000000000000 ffffff80081069ec 0000000000000001 [ 148.560793] bc40: ffffff8008118fdc 0000000000000080 0000000000000000 ffffff8008d40980 [ 148.568708] bc60: 0000000000000004 ffffff80098f7000 0000000000000005 ffffff8008d60420 [ 148.576622] bc80: 0000000034d5d91d 0000000000000000 0000000000000000 0000000000000000 [ 148.584536] bca0: 0000000000000000 0000000000000000 [ 148.589468] [] set_next_entity+0x2c/0x10a0 [ 148.595189] [] pick_next_task_fair+0xb0/0xd10 [ 148.601176] [] schedule+0x420/0xc10 [ 148.606458] [] schedule+0x40/0xa0 [ 148.611389] [] schedule_preempt_disabled+0x1c/0x2c [ 148.617815] [] cpu_startup_entry+0x13c/0x464 [ 148.623713] [] secondary_start_kernel+0x164/0x1b4 [ 148.630046] [<0000000000d4d03c>] 0xd4d03c [ 148.634099] Code: aa0103f3 aa0003f5 aa1e03e0 d503201f (b9403a60) [ 148.749686] BUG: spinlock lockup suspected on CPU#0, kworker/0:1/578 [ 148.756117] lock: 0xffffffc0794a6f80, .magic: dead4ead, .owner: swapper/3/0, .owner_cpu: 3 [ 148.764563] CPU: 0 PID: 578 Comm: kworker/0:1 Tainted: G D 4.4.43-HCBS-Demotion-05354-g332859bfbe08-dirty #4 [ 148.775637] Hardware name: HiKey Development Board (DT) [ 148.780924] Workqueue: events_freezable thermal_zone_device_check [ 148.787086] Call trace: [ 148.789559] [] dump_backtrace+0x0/0x1e0 [ 148.795016] [] show_stack+0x20/0x28 [ 148.800125] [] dump_stack+0xa8/0xe0 [ 148.805231] [] spin_dump+0x78/0x9c [ 148.810248] [] do_raw_spin_lock+0x180/0x1b4 [ 148.816057] [] _raw_spin_lock_irqsave+0x78/0x98 [ 148.822217] [] cpufreq_notifier_trans+0x128/0x14c [ 148.828552] [] notifier_call_chain+0x64/0x9c [ 148.834449] [] srcu_notifier_call_chain+0xa0/0xf0 [ 148.840958] [] srcu_notifier_call_chain+0x38/0x44 [ 148.847296] [] cpufreq_notify_transition+0xfc/0x2e0 [ 148.853807] [] cpufreq_freq_transition_end+0x3c/0xb0 [ 148.860405] [] cpufreq_driver_target+0x1dc/0x320 [ 148.866829] [] cpufreq_governor_performance+0x50/0x60 [ 148.873516] [] cpufreq_governor+0xb8/0x1ec [ 148.879411] [] cpufreq_set_policy+0x2ac/0x3f0 [ 148.885394] [] cpufreq_update_policy+0x84/0x114 [ 148.891555] [] cpufreq_set_cur_state+0x64/0x94 [ 148.897626] [] thermal_cdev_update.part.26+0x9c/0x22c [ 148.904312] [] power_actor_set_power+0x70/0x9c [ 148.910384] [] power_allocator_throttle+0x4c8/0xad8 [ 148.916893] [] handle_thermal_trip.part.21+0x68/0x334 [ 148.923579] [] thermal_zone_device_update+0xb8/0x280 [ 148.930177] [] thermal_zone_device_check+0x20/0x2c [ 148.936601] [] process_one_work+0x1f8/0x70c [ 148.942408] [] worker_thread+0x13c/0x4a4 [ 148.947953] [] kthread+0xe8/0xfc [ 148.952796] [] ret_from_fork+0x10/0x40 [ 149.166404] BUG: spinlock lockup suspected on CPU#4, periodic2.sh/2858 [ 149.173013] lock: 0xffffffc0794a6f80, .magic: dead4ead, .owner: swapper/3/0, .owner_cpu: 3 [ 149.181457] CPU: 4 PID: 2858 Comm: periodic2.sh Tainted: G D 4.4.43-HCBS-Demotion-05354-g332859bfbe08-dirty #4 [ 149.192707] Hardware name: HiKey Development Board (DT) [ 149.197985] Call trace: [ 149.200458] [] dump_backtrace+0x0/0x1e0 [ 149.205915] [] show_stack+0x20/0x28 [ 149.211021] [] dump_stack+0xa8/0xe0 [ 149.216126] [] spin_dump+0x78/0x9c [ 149.221144] [] do_raw_spin_lock+0x180/0x1b4 [ 149.226952] [] _raw_spin_lock+0x6c/0x88 [ 149.232411] [] task_rq_lock+0x58/0xdc [ 149.237868] [] wake_up_new_task+0xdc/0x318 [ 149.243588] [] _do_fork+0xfc/0x6f0 [ 149.248606] [] SyS_clone+0x44/0x50 [ 149.253623] [] el0_svc_naked+0x24/0x28 [ 149.640303] BUG: spinlock lockup suspected on CPU#3, swapper/3/0 [ 149.646376] lock: 0xffffffc0794a6f80, .magic: dead4ead, .owner: swapper/3/0, .owner_cpu: 3 [ 149.654819] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D 4.4.43-HCBS-Demotion-05354-g332859bfbe08-dirty #4 [ 149.665542] Hardware name: HiKey Development Board (DT) [ 149.670820] Call trace: [ 149.673291] [] dump_backtrace+0x0/0x1e0 [ 149.678748] [] show_stack+0x20/0x28 [ 149.683853] [] dump_stack+0xa8/0xe0 [ 149.688959] [] spin_dump+0x78/0x9c [ 149.693976] [] do_raw_spin_lock+0x180/0x1b4 [ 149.699783] [] _raw_spin_lock+0x6c/0x88 [ 149.705240] [] scheduler_tick+0x50/0x2ac [ 149.710785] [] update_process_times+0x58/0x70 [ 149.716769] [] tick_sched_timer+0x7c/0xfc [ 149.722401] [] hrtimer_run_queues+0x164/0x624 [ 149.728560] [] hrtimer_interrupt+0xb0/0x1f4 [ 149.734369] [] arch_timer_handler_phys+0x3c/0x48 [ 149.740618] [] handle_percpu_devid_irq+0xe8/0x3d0 [ 149.746954] [] generic_handle_irq+0x34/0x4c [ 149.752761] [] __handle_domain_irq+0x90/0xf8 [ 149.758656] [] gic_handle_irq+0x64/0xc4 [ 149.764113] Exception stack(0xffffffc0792e0050 to 0xffffffc0792e0180) [ 149.770622] 0040: ffffffc03515b900 0000008000000000 [ 149.778537] 0060: ffffffc03515ba30 ffffff8008d47230 0000000060000145 ffffffc035156100 [ 149.786452] 0080: ffffffc03515ba30 ffffffc03515b900 0000000000000000 0000000000000000 [ 149.794366] 00a0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 149.802281] 00c0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 149.810196] 00e0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 149.818111] 0100: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 149.826026] 0120: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 149.833940] 0140: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 149.841855] 0160: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 149.849770] [] el1_irq+0xb8/0x130 [ 149.854699] [] _raw_spin_unlock_irq+0x3c/0x74 [ 149.860682] [] die+0xc8/0x1b4 [ 149.865262] [] do_kernel_fault.part.6+0x7c/0x90 [ 149.871601] [] do_translation_fault+0x0/0xec [ 149.877498] [] do_translation_fault+0xc8/0xec [ 149.883481] [] do_mem_abort+0x54/0xb4 [ 149.888761] Exception stack(0xffffffc03515bb80 to 0xffffffc03515bcb0) [ 149.895272] bb80: 0000000000000000 0000008000000000 ffffffc03515bd50 ffffff800810a3d8 [ 149.903187] bba0: 0000000000000055 0000000000000114 ffffffc03515bcd0 ffffff8008136434 [ 149.911102] bbc0: ffffffc035158000 ffffff800a6f0288 0000000000000000 0000000000000000 [ 149.919017] bbe0: 0000000000000002 0000000000000001 0000000000000000 ffffff800816cae8 [ 149.926932] bc00: 00000000000001c0 ffffff80099a0468 0000000000000000 0000000000000000 [ 149.934847] bc20: ffffff800811908c 0000000000000000 ffffff80081069ec 0000000000000001 [ 149.942762] bc40: ffffff8008118fdc 0000000000000080 0000000000000000 ffffff8008d40980 [ 149.950676] bc60: 0000000000000004 ffffff80098f7000 0000000000000005 ffffff8008d60420 [ 149.958591] bc80: 0000000034d5d91d 0000000000000000 0000000000000000 0000000000000000 [ 149.966505] bca0: 0000000000000000 0000000000000000 [ 149.971434] [] el1_da+0x18/0x78 [ 149.976189] [] pick_next_task_fair+0xb0/0xd10 [ 149.982174] [] schedule+0x420/0xc10 [ 149.987456] [] schedule+0x40/0xa0 [ 149.992387] [] schedule_preempt_disabled+0x1c/0x2c [ 149.998809] [] cpu_startup_entry+0x13c/0x464 [ 150.004705] [] secondary_start_kernel+0x164/0x1b4 [ 150.011038] [<0000000000d4d03c>] 0xd4d03c

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jlelli/linux/pull/2#issuecomment-310363838, or mute the thread https://github.com/notifications/unsubscribe-auth/AEC-4YWfzBPD-4HPG8jqsK4QVis1e1Kfks5sGlxGgaJpZM4N_e0M .

jlelli commented 7 years ago

While switching between the two classes yes. Exactly when I'm not sure without adding some debug output.

lucabe72 commented 7 years ago

Uhm... So, I do not understand... The script seem to switch beteen FIFO and OTHER for 10 seconds (20 cycles with sleep 0.5), and the crash happens more than 10s after the start of the test, right?

Luca

On 22 June 2017 at 15:46, Juri Lelli notifications@github.com wrote:

While switching between the two classes yes. Exactly when I'm not sure without adding some debug output.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jlelli/linux/pull/2#issuecomment-310385007, or mute the thread https://github.com/notifications/unsubscribe-auth/AEC-4aLGH6XsyLfOa86PeXFdQLN-8ijMks5sGnBSgaJpZM4N_e0M .

jlelli commented 7 years ago

No sorry I wasn't clear. I extended the test to 200s and crash seems to happens after 100s (but this varies).

lucabe72 commented 7 years ago

On 22 June 2017 at 17:26, Juri Lelli notifications@github.com wrote:

No sorry I wasn't clear. I extended the test to 200s and crash seems to happens after 100s (but this varies).

Ok; I will increase the number of cycles to 400 and retest

Luca

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jlelli/linux/pull/2#issuecomment-310414341, or mute the thread https://github.com/notifications/unsubscribe-auth/AEC-4VI9WDELNUUIJQAvBIFj3pb5HQ1kks5sGoeJgaJpZM4N_e0M .