Home
last modified time | relevance | path

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

/kernel/sched/
Didle.c177 if (need_resched()) { in cpuidle_idle_call()
279 while (!need_resched()) { in do_idle()
Dcore.c1196 if (rq->idle_balance && !need_resched()) { in nohz_csd_func()
5620 if (!need_resched() || !latency_warn_ms) in cpu_resched_latency()
6386 if (need_resched()) in steal_cookie_task()
6405 if (need_resched()) in sched_core_balance()
6807 } while (need_resched()); in schedule()
6834 } while (need_resched()); in schedule_idle()
6875 } while (need_resched()); in schedule_rtlock()
6906 } while (need_resched()); in preempt_schedule_common()
6996 } while (need_resched()); in preempt_schedule_notrace()
7044 } while (need_resched()); in preempt_schedule_irq()
Dfair.c11539 if (need_resched()) { in _nohz_idle_balance()
11626 if ((flags == NOHZ_NEWILB_KICK) && !need_resched()) in nohz_run_idle_balance()
/kernel/entry/
Dkvm.c27 } while (ti_work & XFER_TO_GUEST_MODE_WORK || need_resched()); in xfer_to_guest_mode_work()
Dcommon.c389 if (need_resched()) in raw_irqentry_exit_cond_resched()
/kernel/trace/
Dtrace_output.c444 char need_resched; in trace_print_lat_fmt() local
466 need_resched = 'N'; in trace_print_lat_fmt()
469 need_resched = 'n'; in trace_print_lat_fmt()
472 need_resched = 'p'; in trace_print_lat_fmt()
475 need_resched = '.'; in trace_print_lat_fmt()
488 irqs_off, need_resched, hardsoft_irq); in trace_print_lat_fmt()
/kernel/locking/
Dmutex.c389 if (!owner_on_cpu(owner) || need_resched()) { in mutex_spin_on_owner()
415 if (need_resched()) in mutex_can_spin_on_owner()
523 if (need_resched()) { in mutex_optimistic_spin()
Dosq_lock.c143 if (smp_cond_load_relaxed(&node->locked, VAL || need_resched() || in osq_lock()
Drwsem.c719 if (need_resched()) { in rwsem_can_spin_on_owner()
799 if (need_resched() || !owner_on_cpu(owner)) { in rwsem_spin_on_owner()
938 if (need_resched()) in rwsem_optimistic_spin()
Drtmutex.c1438 if (!owner_on_cpu(owner) || need_resched() || in rtmutex_spin_on_owner()
/kernel/
Dsoftirq.c640 if (time_before(jiffies, end) && !need_resched() && in __do_softirq()
683 if ((idle_cpu(cpu) && !need_resched()) || tick_nohz_full_cpu(cpu)) { in tick_irq_exit()
/kernel/cgroup/
Drstat.c211 if (may_sleep && (need_resched() || in cgroup_rstat_flush_locked()
/kernel/rcu/
Dtree.c583 if (do_nocb_deferred_wakeup(rdp) && need_resched()) { in rcu_irq_work_resched()
2250 need_resched(), is_idle_task(current), in rcu_do_batch()
2304 if (count >= bl && (need_resched() || !is_idle_task(current))) in rcu_do_batch()
2328 trace_rcu_batch_end(rcu_state.name, count, !!rcl.head, need_resched(), in rcu_do_batch()
Drcutorture.c2564 if (need_resched() || (iter & 0xfff)) in rcu_torture_fwd_prog_cond_resched()
2648 if (!fwd_progress_need_resched || need_resched()) in rcu_torture_fwd_prog_nr()
/kernel/time/
Dtick-sched.c1089 if (need_resched()) in can_stop_idle_tick()
/kernel/bpf/
Dverifier.c12507 if (need_resched()) in do_check()