Home
last modified time | relevance | path

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

/linux-6.6.21/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.h909 if (is_idle_task(t)) in rcu_tasks_is_holdout()
975 !is_idle_task(t) && t->rcu_tasks_idle_cpu >= 0)) { in check_holdout_task()
990 t, ".I"[is_idle_task(t)], in check_holdout_task()
1748 bool is_idle_tsk = is_idle_task(t); in show_stalled_task_trace()
Dtree.c371 WARN_ON_ONCE(!nesting && !is_idle_task(current)); in rcu_is_cpu_rrupt_from_idle()
2139 need_resched(), is_idle_task(current), in rcu_do_batch()
2197 if (count >= bl && (need_resched() || !is_idle_task(current))) in rcu_do_batch()
2226 is_idle_task(current), rcu_is_callbacks_kthread(rdp)); in rcu_do_batch()
2488 if (t && (status != RCU_KTHREAD_YIELDING || is_idle_task(current))) in rcu_wake_cond()
/linux-6.6.21/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.c594 (is_idle_task(current) && (irq_count() == HARDIRQ_OFFSET))) in irq_enter_rcu()
/linux-6.6.21/kernel/sched/
Dpelt.h97 if (unlikely(is_idle_task(rq->curr))) { in update_rq_clock_pelt()
Dcputime.c430 if (is_idle_task(prev)) in vtime_task_switch()
449 is_idle_task(tsk)) { in vtime_account_irq()
799 if (is_idle_task(current)) in vtime_task_switch_generic()
Dcore.c3948 if (is_idle_task(rcu_dereference(rq->curr))) { in wake_up_if_idle()
3950 if (is_idle_task(rq->curr)) in wake_up_if_idle()
5741 if (!is_idle_task(curr)) { in sched_tick_remote()
10155 !is_idle_task(current) && !current->non_block_count) || in __might_resched()
Dfair.c2188 if (cur && ((cur->flags & PF_EXITING) || is_idle_task(cur))) in task_numa_compare()
4384 is_idle = is_idle_task(rcu_dereference(rq->curr)); in migrate_se_pelt_lag()
/linux-6.6.21/arch/sparc/kernel/
Dsetup_32.c87 if (!is_idle_task(current)) { in prom_sync_me()
/linux-6.6.21/kernel/entry/
Dcommon.c348 if (!IS_ENABLED(CONFIG_TINY_RCU) && is_idle_task(current)) { in irqentry_enter()
/linux-6.6.21/kernel/debug/kdb/
Dkdb_support.c497 if (is_idle_task(p)) { in kdb_task_state_char()
/linux-6.6.21/arch/arm64/kernel/
Dentry-common.c42 if (!IS_ENABLED(CONFIG_TINY_RCU) && is_idle_task(current)) { in __enter_from_kernel_mode()
/linux-6.6.21/kernel/time/
Dtick-sched.c244 if (is_idle_task(current)) in tick_sched_handle()
/linux-6.6.21/include/linux/
Dsched.h1939 static __always_inline bool is_idle_task(const struct task_struct *p) in is_idle_task() function
/linux-6.6.21/kernel/events/
Dcore.c11045 if (!(event->attr.exclude_idle && is_idle_task(current))) in perf_swevent_hrtimer()