Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3762193pxb; Tue, 17 Nov 2020 02:55:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJy3bJrOFKN2f120PvPgAJwP9hpT9GvIObozP4yLs9EhvEGkO1NMCIJYHY0iP9GQXyeWBidU X-Received: by 2002:a17:906:6a4e:: with SMTP id n14mr1780133ejs.194.1605610558150; Tue, 17 Nov 2020 02:55:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605610558; cv=none; d=google.com; s=arc-20160816; b=WIRWuOKTDtPCiUu60ivMFH9GYX6UGGZS1f2h2ezRk3CCeMD6HYBV/xcNS8xXZ+c6Iu NeMHcK90QPQPab+vE5+w/+ptPoB9VMMayFRDX8rLG+xl0lq6uI7/cvPtRjAMXNCtMUMX NAMDZGT/Ynd41QzPJX8uB3paP39DQINuD74phwK8XwdqG2GCkId8+M0wHQyg79GNl/E3 ggPBl45m+FoNeYxEaNFEABYY1P3LJx1mdOtTLMKM/6uiLZ/VXhxZBrk0X4Zy7Yyw1jc/ SP4TExgXzsu4zq4ZqmYxmYfO3cRKZwsUtoLAiHymPYbQAy9Q6Mg63+s+cKTXjbnR1ttx O6Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=QQROMh+9BnCoDz5knPZBApc3aEl7baqeK6HQ68ZBd3E=; b=iccFSe7jV8OXnbO4/GuCMXv7+k1p/lE07mYuVzqbJVohIgASS4aemnUjUIBnD+peRg LnKixSOiqcBUj8W9vDkHcJCPw9ULo4m9bgs4vyeXQzqAMVUK4q2Hx+WU44fGNjuQdEXU T9UU23f9k0x2c8/v08f2G2O/IlJQjJ+cGGNEs/dED/VdHGM8sLZt7TuztUXtp1GyHsw2 40Ee/czPvbrCB47sY/vwoYtLvqY39YH32JZ7mUUyZSWPEB/L2X2p0SiTnrNRLhy7peni 9ZZYQ+G5WjJehOjj0w2zNcKqOpbaGTeu5ZXs3+RivX/6KQafTCIJrptXjYik4v2TJTQ2 76rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=AqYtGjDg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q23si18119439edb.127.2020.11.17.02.55.35; Tue, 17 Nov 2020 02:55:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=AqYtGjDg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727815AbgKQKwr (ORCPT + 99 others); Tue, 17 Nov 2020 05:52:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726265AbgKQKwq (ORCPT ); Tue, 17 Nov 2020 05:52:46 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9429DC0617A6 for ; Tue, 17 Nov 2020 02:52:44 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id l1so22677541wrb.9 for ; Tue, 17 Nov 2020 02:52:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=QQROMh+9BnCoDz5knPZBApc3aEl7baqeK6HQ68ZBd3E=; b=AqYtGjDg4q94+4+ywk4QgsrMpk8cdW3uJU+S8n6eNJztwaauoIlrqjRteqvRgNDViS zyr0L/3pz2lDPrbSvant3PBHQV5RSEZWRA+sXuY7ULDL13J9y5k3bhEtt+ZLSSRnc53C UCOHtZNTjEgOwoi3HrHMn2VBSkJ+0i9f3hIO21AtseQvDvGONKdP2eJoDFC/OXwZp6WF BxJzbGh7B3hHjVcW30XYpsp8uCwkBTO+DV4N+EYBJpGofnNImC/wkgXY38Dude7ZAq8K mA8SMJC6+ayJoLhpzDn6jcTVqEJabFAjVI1GOUFlC/cJd/x2bURMIxMj+3593lgCDOJe WQPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QQROMh+9BnCoDz5knPZBApc3aEl7baqeK6HQ68ZBd3E=; b=b4w5CCAfQa5WTRutRBc2OCG+c7rjTKkxtmQK2NZjR1+u06VlqKNWeyUUSabjtPrtjG nh4/Ck0/RVKzq+URRl9EWMUYvINbQFh9ngPFq5XPMi/1YfTWzRxPtncReKJFx7f1Q+zF o2kbUHaGhrm6VYzStxI7MDZHs/VUXDMN094BQBTEiVBBF1F0Y3uIuU7UmryXJWAI0ko7 9VFhWVowWMbuhB6rH74c7UPikBDnxckNmVisqdXuwxbBMExsjbXzgIWoX9iOqOlC5Lyh 31HsEuivNswtsRZaCina0CdfwWSxcmVurhP/yvfF8XA5c/MgFEZ+N1eyTYAuCriISGj8 bQkw== X-Gm-Message-State: AOAM533vuZ6RU5h1yDOweW/s5r7tvoprKu09I5VCCfasn97XHA8qLsch poMHEJYokdQJaU+8MrNG380zrg== X-Received: by 2002:adf:9d44:: with SMTP id o4mr25847113wre.229.1605610362994; Tue, 17 Nov 2020 02:52:42 -0800 (PST) Received: from elver.google.com ([2a00:79e0:15:13:f693:9fff:fef4:2449]) by smtp.gmail.com with ESMTPSA id f19sm2895675wml.21.2020.11.17.02.52.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2020 02:52:42 -0800 (PST) Date: Tue, 17 Nov 2020 11:52:36 +0100 From: Marco Elver To: "Paul E. McKenney" Cc: Steven Rostedt , Anders Roxell , Andrew Morton , Alexander Potapenko , Dmitry Vyukov , Jann Horn , Mark Rutland , Linux Kernel Mailing List , Linux-MM , kasan-dev , rcu@vger.kernel.org, Peter Zijlstra , Tejun Heo , Lai Jiangshan Subject: Re: [PATCH] kfence: Avoid stalling work queue task without allocations Message-ID: <20201117105236.GA1964407@elver.google.com> References: <20201111130543.27d29462@gandalf.local.home> <20201111182333.GA3249@paulmck-ThinkPad-P72> <20201111183430.GN517454@elver.google.com> <20201111192123.GB3249@paulmck-ThinkPad-P72> <20201111202153.GT517454@elver.google.com> <20201112001129.GD3249@paulmck-ThinkPad-P72> <20201112161439.GA2989297@elver.google.com> <20201112175406.GF3249@paulmck-ThinkPad-P72> <20201113175754.GA6273@paulmck-ThinkPad-P72> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201113175754.GA6273@paulmck-ThinkPad-P72> User-Agent: Mutt/1.14.6 (2020-07-11) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 13, 2020 at 09:57AM -0800, Paul E. McKenney wrote: > On Thu, Nov 12, 2020 at 09:54:06AM -0800, Paul E. McKenney wrote: > > On Thu, Nov 12, 2020 at 05:14:39PM +0100, Marco Elver wrote: > > [ . . . ] > > > > | [ 334.160218] BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 15s! > > > > It might be instructive to cause this code to provoke a backtrace. > > I suggest adding something like "trigger_single_cpu_backtrace(cpu)" > > in kernel/workqueue.c's function named wq_watchdog_timer_fn() > > somewhere within its "if" statement that is preceded with the "did we > > stall?" comment. Or just search for "BUG: workqueue lockup - pool" > > within kernel/workqueue.c. > > And I did get a small but unexpected gift of time, so here is an > (untested) patch. > > Thanx, Paul > > ------------------------------------------------------------------------ > > diff --git a/kernel/workqueue.c b/kernel/workqueue.c > index 437935e..f3d4ff7 100644 > --- a/kernel/workqueue.c > +++ b/kernel/workqueue.c > @@ -5792,6 +5792,7 @@ static void wq_watchdog_timer_fn(struct timer_list *unused) > pr_cont_pool_info(pool); > pr_cont(" stuck for %us!\n", > jiffies_to_msecs(jiffies - pool_ts) / 1000); > + trigger_single_cpu_backtrace(cpu); > } > } > That didn't quite work, although the system this is running on only has 1 CPU, so dump_stack() should give us the information we want (see below). Not sure if that helps though. Thanks, -- Marco ------ >8 ------ | Testing all events: OK | Running tests again, along with the function tracer | Running tests on all trace events: | Testing all events: | hrtimer: interrupt took 10322624 ns | BUG: workqueue lockup - pool cpus=0 flags=0x4 nice=0 stuck for 19s! | CPU: 0 PID: 26 Comm: kcompactd0 Not tainted 5.10.0-rc3-next-20201110-00001-gc07b306d7fa5-dirty #2 | Hardware name: linux,dummy-virt (DT) | Call trace: | dump_backtrace+0x0/0x240 arch/arm64/kernel/stacktrace.c:100 | show_stack+0x34/0x88 arch/arm64/kernel/stacktrace.c:196 | __dump_stack lib/dump_stack.c:77 [inline] | dump_stack+0x140/0x1bc lib/dump_stack.c:118 | wq_watchdog_timer_fn+0x338/0x340 kernel/workqueue.c:5796 | call_timer_fn+0xe8/0x480 kernel/time/timer.c:1410 | expire_timers kernel/time/timer.c:1455 [inline] | __run_timers.part.0+0x2e8/0x470 kernel/time/timer.c:1747 | __run_timers kernel/time/timer.c:1728 [inline] | run_timer_softirq+0x90/0xa8 kernel/time/timer.c:1762 | __do_softirq+0x188/0x6b4 kernel/softirq.c:298 | do_softirq_own_stack include/linux/interrupt.h:568 [inline] | invoke_softirq kernel/softirq.c:393 [inline] | __irq_exit_rcu kernel/softirq.c:423 [inline] | irq_exit+0x1cc/0x1e0 kernel/softirq.c:447 | __handle_domain_irq+0xb4/0x130 kernel/irq/irqdesc.c:690 | handle_domain_irq include/linux/irqdesc.h:170 [inline] | gic_handle_irq+0x70/0x108 drivers/irqchip/irq-gic.c:370 | el1_irq+0xc0/0x180 arch/arm64/kernel/entry.S:651 | arch_local_irq_restore arch/arm64/include/asm/irqflags.h:124 [inline] | rcu_irq_exit_irqson+0x40/0x78 kernel/rcu/tree.c:832 | trace_preempt_enable_rcuidle include/trace/events/preemptirq.h:55 [inline] | trace_preempt_on+0x144/0x1a0 kernel/trace/trace_preemptirq.c:123 | preempt_latency_stop kernel/sched/core.c:4197 [inline] | preempt_latency_stop kernel/sched/core.c:4194 [inline] | preempt_schedule_common+0xf8/0x1a8 kernel/sched/core.c:4682 | preempt_schedule+0x38/0x40 kernel/sched/core.c:4706 | __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] | _raw_spin_unlock_irqrestore+0x90/0xa0 kernel/locking/spinlock.c:191 | spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] | finish_wait+0x78/0xa0 kernel/sched/wait.c:382 | kcompactd+0x3a0/0x4b8 mm/compaction.c:2817 | kthread+0x13c/0x188 kernel/kthread.c:292 | ret_from_fork+0x10/0x34 arch/arm64/kernel/entry.S:961 | Showing busy workqueues and worker pools: | workqueue events: flags=0x0 | pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 | pending: vmstat_shepherd | workqueue events_power_efficient: flags=0x82 | pwq 2: cpus=0 flags=0x4 nice=0 active=3/256 refcnt=5 | in-flight: 7:check_lifetime | pending: do_cache_clean, neigh_periodic_work | pool 2: cpus=0 flags=0x4 nice=0 hung=19s workers=2 idle: 61 | rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: | (detected by 0, t=3752 jiffies, g=2501, q=1) | rcu: All QSes seen, last rcu_preempt kthread activity 2981 (4295017301-4295014320), jiffies_till_next_fqs=1, root ->qsmask 0x0 | rcu: rcu_preempt kthread starved for 2981 jiffies! g2501 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 | rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. | rcu: RCU grace-period kthread stack dump: | task:rcu_preempt state:R running task stack: 0 pid: 10 ppid: 2 flags:0x00000428 | Call trace: | __switch_to+0x10c/0x200 arch/arm64/kernel/process.c:578 | context_switch kernel/sched/core.c:3773 [inline] | __schedule+0x2d8/0x980 kernel/sched/core.c:4522 | preempt_schedule_notrace+0x70/0x1c0 kernel/sched/core.c:4754 | __ftrace_ops_list_func kernel/trace/ftrace.c:6956 [inline] | ftrace_ops_list_func+0x108/0x230 kernel/trace/ftrace.c:6977 | ftrace_graph_call+0x0/0x4 | preempt_count_add+0x8/0x1a0 arch/arm64/include/asm/atomic.h:65 | schedule+0x44/0x100 kernel/sched/core.c:4599 | schedule_timeout+0x240/0x538 kernel/time/timer.c:1871 | rcu_gp_fqs_loop kernel/rcu/tree.c:1942 [inline] | rcu_gp_kthread+0x618/0x1bd8 kernel/rcu/tree.c:2115 | kthread+0x13c/0x188 kernel/kthread.c:292 | ret_from_fork+0x10/0x34 arch/arm64/kernel/entry.S:961 | | ================================ | WARNING: inconsistent lock state | 5.10.0-rc3-next-20201110-00001-gc07b306d7fa5-dirty #2 Not tainted | -------------------------------- | inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage. | event_benchmark/105 [HC0[0]:SC0[0]:HE0:SE1] takes: | ffffbb6e0b804458 (rcu_node_0){?.-.}-{2:2}, at: print_other_cpu_stall kernel/rcu/tree_stall.h:493 [inline] | ffffbb6e0b804458 (rcu_node_0){?.-.}-{2:2}, at: check_cpu_stall kernel/rcu/tree_stall.h:652 [inline] | ffffbb6e0b804458 (rcu_node_0){?.-.}-{2:2}, at: rcu_pending kernel/rcu/tree.c:3752 [inline] | ffffbb6e0b804458 (rcu_node_0){?.-.}-{2:2}, at: rcu_sched_clock_irq+0x428/0xd40 kernel/rcu/tree.c:2581 | {IN-HARDIRQ-W} state was registered at: | mark_lock kernel/locking/lockdep.c:4374 [inline] | mark_usage kernel/locking/lockdep.c:4302 [inline] | __lock_acquire+0xab8/0x1a50 kernel/locking/lockdep.c:4785 | lock_acquire kernel/locking/lockdep.c:5436 [inline] | lock_acquire+0x268/0x508 kernel/locking/lockdep.c:5401 | __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] | _raw_spin_lock_irqsave+0x78/0x14c kernel/locking/spinlock.c:159 | print_other_cpu_stall kernel/rcu/tree_stall.h:493 [inline] | check_cpu_stall kernel/rcu/tree_stall.h:652 [inline] | rcu_pending kernel/rcu/tree.c:3752 [inline] | rcu_sched_clock_irq+0x428/0xd40 kernel/rcu/tree.c:2581 | update_process_times+0x6c/0xb8 kernel/time/timer.c:1709 | tick_sched_handle.isra.0+0x58/0x88 kernel/time/tick-sched.c:176 | tick_sched_timer+0x68/0xe0 kernel/time/tick-sched.c:1328 | __run_hrtimer kernel/time/hrtimer.c:1519 [inline] | __hrtimer_run_queues+0x288/0x730 kernel/time/hrtimer.c:1583 | hrtimer_interrupt+0x114/0x288 kernel/time/hrtimer.c:1645 | timer_handler drivers/clocksource/arm_arch_timer.c:647 [inline] | arch_timer_handler_virt+0x50/0x70 drivers/clocksource/arm_arch_timer.c:658 | handle_percpu_devid_irq+0x104/0x4c0 kernel/irq/chip.c:930 | generic_handle_irq_desc include/linux/irqdesc.h:152 [inline] | generic_handle_irq+0x54/0x78 kernel/irq/irqdesc.c:650 | __handle_domain_irq+0xac/0x130 kernel/irq/irqdesc.c:687 | handle_domain_irq include/linux/irqdesc.h:170 [inline] | gic_handle_irq+0x70/0x108 drivers/irqchip/irq-gic.c:370 | el1_irq+0xc0/0x180 arch/arm64/kernel/entry.S:651 | arch_local_irq_enable arch/arm64/include/asm/irqflags.h:37 [inline] | preempt_schedule_irq+0x44/0xa0 kernel/sched/core.c:4782 | arm64_preempt_schedule_irq+0xd0/0x118 arch/arm64/kernel/process.c:726 | el1_irq+0xd8/0x180 arch/arm64/kernel/entry.S:664 | arch_local_irq_enable arch/arm64/include/asm/irqflags.h:37 [inline] | trace_do_benchmark kernel/trace/trace_benchmark.c:56 [inline] | benchmark_event_kthread+0x144/0x4b0 kernel/trace/trace_benchmark.c:154 | kthread+0x13c/0x188 kernel/kthread.c:292 | ret_from_fork+0x10/0x34 arch/arm64/kernel/entry.S:961 | irq event stamp: 12978 | hardirqs last enabled at (12977): [] preempt_schedule_irq+0x40/0xa0 kernel/sched/core.c:4782 | hardirqs last disabled at (12978): [] el1_irq+0x80/0x180 arch/arm64/kernel/entry.S:648 | softirqs last enabled at (8540): [] __do_softirq+0x630/0x6b4 kernel/softirq.c:325 | softirqs last disabled at (8531): [] do_softirq_own_stack include/linux/interrupt.h:568 [inline] | softirqs last disabled at (8531): [] invoke_softirq kernel/softirq.c:393 [inline] | softirqs last disabled at (8531): [] __irq_exit_rcu kernel/softirq.c:423 [inline] | softirqs last disabled at (8531): [] irq_exit+0x1cc/0x1e0 kernel/softirq.c:447 | | other info that might help us debug this: | Possible unsafe locking scenario: | | CPU0 | ---- | lock(rcu_node_0); | | lock(rcu_node_0); | | *** DEADLOCK *** | | 1 lock held by event_benchmark/105: | #0: ffffbb6e0b804458 (rcu_node_0){?.-.}-{2:2}, at: print_other_cpu_stall kernel/rcu/tree_stall.h:493 [inline] | #0: ffffbb6e0b804458 (rcu_node_0){?.-.}-{2:2}, at: check_cpu_stall kernel/rcu/tree_stall.h:652 [inline] | #0: ffffbb6e0b804458 (rcu_node_0){?.-.}-{2:2}, at: rcu_pending kernel/rcu/tree.c:3752 [inline] | #0: ffffbb6e0b804458 (rcu_node_0){?.-.}-{2:2}, at: rcu_sched_clock_irq+0x428/0xd40 kernel/rcu/tree.c:2581 | | stack backtrace: | CPU: 0 PID: 105 Comm: event_benchmark Not tainted 5.10.0-rc3-next-20201110-00001-gc07b306d7fa5-dirty #2 | Hardware name: linux,dummy-virt (DT) | Call trace: | dump_backtrace+0x0/0x240 arch/arm64/kernel/stacktrace.c:100 | show_stack+0x34/0x88 arch/arm64/kernel/stacktrace.c:196 | __dump_stack lib/dump_stack.c:77 [inline] | dump_stack+0x140/0x1bc lib/dump_stack.c:118 | print_usage_bug kernel/locking/lockdep.c:3739 [inline] | print_usage_bug+0x2a0/0x2f0 kernel/locking/lockdep.c:3706 | valid_state kernel/locking/lockdep.c:3750 [inline] | mark_lock_irq kernel/locking/lockdep.c:3953 [inline] | mark_lock.part.0+0x438/0x4e8 kernel/locking/lockdep.c:4410 | mark_lock kernel/locking/lockdep.c:4008 [inline] | mark_held_locks+0x54/0x90 kernel/locking/lockdep.c:4011 | __trace_hardirqs_on_caller kernel/locking/lockdep.c:4029 [inline] | lockdep_hardirqs_on_prepare+0xe0/0x290 kernel/locking/lockdep.c:4097 | trace_hardirqs_on+0x90/0x370 kernel/trace/trace_preemptirq.c:49 | el1_irq+0xdc/0x180 arch/arm64/kernel/entry.S:685 | arch_local_irq_enable arch/arm64/include/asm/irqflags.h:37 [inline] | preempt_schedule_irq+0x44/0xa0 kernel/sched/core.c:4782 | arm64_preempt_schedule_irq+0xd0/0x118 arch/arm64/kernel/process.c:726 | el1_irq+0xd8/0x180 arch/arm64/kernel/entry.S:664 | arch_local_irq_enable arch/arm64/include/asm/irqflags.h:37 [inline] | trace_do_benchmark kernel/trace/trace_benchmark.c:56 [inline] | benchmark_event_kthread+0x144/0x4b0 kernel/trace/trace_benchmark.c:154 | kthread+0x13c/0x188 kernel/kthread.c:292 | ret_from_fork+0x10/0x34 arch/arm64/kernel/entry.S:961 | BUG: scheduling while atomic: event_benchmark/105/0x00000002 | INFO: lockdep is turned off. | Modules linked in: | Preemption disabled at: | [] preempt_schedule_irq+0x3c/0xa0 kernel/sched/core.c:4781 | CPU: 0 PID: 105 Comm: event_benchmark Not tainted 5.10.0-rc3-next-20201110-00001-gc07b306d7fa5-dirty #2 | Hardware name: linux,dummy-virt (DT) | Call trace: | dump_backtrace+0x0/0x240 arch/arm64/kernel/stacktrace.c:100 | show_stack+0x34/0x88 arch/arm64/kernel/stacktrace.c:196 | __dump_stack lib/dump_stack.c:77 [inline] | dump_stack+0x140/0x1bc lib/dump_stack.c:118 | __schedule_bug+0xcc/0xe0 kernel/sched/core.c:4262 | schedule_debug kernel/sched/core.c:4289 [inline] | __schedule+0x878/0x980 kernel/sched/core.c:4417 | preempt_schedule_irq+0x4c/0xa0 kernel/sched/core.c:4783 | arm64_preempt_schedule_irq+0xd0/0x118 arch/arm64/kernel/process.c:726 | el1_irq+0xd8/0x180 arch/arm64/kernel/entry.S:664 | arch_local_irq_enable arch/arm64/include/asm/irqflags.h:37 [inline] | trace_do_benchmark kernel/trace/trace_benchmark.c:56 [inline] | benchmark_event_kthread+0x144/0x4b0 kernel/trace/trace_benchmark.c:154 | kthread+0x13c/0x188 kernel/kthread.c:292 | ret_from_fork+0x10/0x34 arch/arm64/kernel/entry.S:961