Home
last modified time | relevance | path

Searched refs:is_idle_task (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/kernel/rcu/
Dtiny.c194 if (unlikely(is_idle_task(current))) { in call_rcu()
229 if (unlikely(is_idle_task(current))) { in start_poll_synchronize_rcu()
Dtasks.h818 if (t != current && READ_ONCE(t->on_rq) && !is_idle_task(t)) { in rcu_tasks_pertask()
849 !is_idle_task(t) && t->rcu_tasks_idle_cpu >= 0)) { in check_holdout_task()
864 t, ".I"[is_idle_task(t)], in check_holdout_task()
1372 WARN_ON_ONCE(ofl && task_curr(t) && !is_idle_task(t)); in trc_inspect_reader()
1567 bool is_idle_tsk = is_idle_task(t); in show_stalled_task_trace()
Dtree.c395 WARN_ON_ONCE(!nesting && !is_idle_task(current)); in rcu_is_cpu_rrupt_from_idle()
2204 need_resched(), is_idle_task(current), in rcu_do_batch()
2258 if (count >= bl && (need_resched() || !is_idle_task(current))) in rcu_do_batch()
2283 is_idle_task(current), rcu_is_callbacks_kthread(rdp)); in rcu_do_batch()
2536 if (t && (status != RCU_KTHREAD_YIELDING || is_idle_task(current))) in rcu_wake_cond()
/linux-6.1.9/kernel/
Dcontext_tracking.c141 WARN_ON_ONCE(IS_ENABLED(CONFIG_RCU_EQS_DEBUG) && !user && !is_idle_task(current)); in ct_kernel_exit()
186 WARN_ON_ONCE(IS_ENABLED(CONFIG_RCU_EQS_DEBUG) && !user && !is_idle_task(current)); in ct_kernel_enter()
Dsoftirq.c612 (is_idle_task(current) && (irq_count() == HARDIRQ_OFFSET))) in irq_enter_rcu()
/linux-6.1.9/include/linux/
Drcutiny.h150 (is_idle_task(current) && !in_nmi() && !in_hardirq() && !in_serving_softirq())
Dsched.h1919 static __always_inline bool is_idle_task(const struct task_struct *p) in is_idle_task() function
/linux-6.1.9/arch/powerpc/kernel/
Dstacktrace.c76 if (!is_idle_task(task)) { in arch_stack_walk_reliable()
/linux-6.1.9/kernel/sched/
Dpelt.h97 if (unlikely(is_idle_task(rq->curr))) { in update_rq_clock_pelt()
Dcputime.c426 if (is_idle_task(prev)) in vtime_task_switch()
445 is_idle_task(tsk)) { in vtime_account_irq()
795 if (is_idle_task(current)) in vtime_task_switch_generic()
Dcore.c3807 if (!is_idle_task(rcu_dereference(rq->curr))) in wake_up_if_idle()
3811 if (is_idle_task(rq->curr)) in wake_up_if_idle()
5595 if (!is_idle_task(curr)) { in sched_tick_remote()
9903 !is_idle_task(current) && !current->non_block_count) || in __might_resched()
Dfair.c1922 if (cur && ((cur->flags & PF_EXITING) || is_idle_task(cur))) in task_numa_compare()
3932 is_idle = is_idle_task(rcu_dereference(rq->curr)); in migrate_se_pelt_lag()
/linux-6.1.9/arch/sparc/kernel/
Dsetup_32.c87 if (!is_idle_task(current)) { in prom_sync_me()
/linux-6.1.9/kernel/entry/
Dcommon.c348 if (!IS_ENABLED(CONFIG_TINY_RCU) && is_idle_task(current)) { in irqentry_enter()
/linux-6.1.9/kernel/debug/kdb/
Dkdb_support.c497 if (is_idle_task(p)) { in kdb_task_state_char()
/linux-6.1.9/arch/arm64/kernel/
Dentry-common.c42 if (!IS_ENABLED(CONFIG_TINY_RCU) && is_idle_task(current)) { in __enter_from_kernel_mode()
/linux-6.1.9/kernel/time/
Dtick-sched.c233 if (is_idle_task(current)) in tick_sched_handle()
/linux-6.1.9/kernel/events/
Dcore.c10774 if (!(event->attr.exclude_idle && is_idle_task(current))) in perf_swevent_hrtimer()