Searched refs:need_resched (Results 1 – 16 of 16) sorted by relevance
/kernel/sched/ |
D | idle.c | 177 if (need_resched()) { in cpuidle_idle_call() 279 while (!need_resched()) { in do_idle()
|
D | core.c | 1196 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()
|
D | fair.c | 11539 if (need_resched()) { in _nohz_idle_balance() 11626 if ((flags == NOHZ_NEWILB_KICK) && !need_resched()) in nohz_run_idle_balance()
|
/kernel/entry/ |
D | kvm.c | 27 } while (ti_work & XFER_TO_GUEST_MODE_WORK || need_resched()); in xfer_to_guest_mode_work()
|
D | common.c | 389 if (need_resched()) in raw_irqentry_exit_cond_resched()
|
/kernel/trace/ |
D | trace_output.c | 444 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/ |
D | mutex.c | 389 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()
|
D | osq_lock.c | 143 if (smp_cond_load_relaxed(&node->locked, VAL || need_resched() || in osq_lock()
|
D | rwsem.c | 719 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()
|
D | rtmutex.c | 1438 if (!owner_on_cpu(owner) || need_resched() || in rtmutex_spin_on_owner()
|
/kernel/ |
D | softirq.c | 640 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/ |
D | rstat.c | 211 if (may_sleep && (need_resched() || in cgroup_rstat_flush_locked()
|
/kernel/rcu/ |
D | tree.c | 583 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()
|
D | rcutorture.c | 2564 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/ |
D | tick-sched.c | 1089 if (need_resched()) in can_stop_idle_tick()
|
/kernel/bpf/ |
D | verifier.c | 12507 if (need_resched()) in do_check()
|