Home
last modified time | relevance | path

Searched refs:task_cpu (Results 1 – 20 of 20) sorted by relevance

/linux/Documentation/translations/zh_CN/scheduler/
H A Dsched-capacity.rst302 task_util(p) < capacity(task_cpu(p))
358 则任务可能变为CPU受限的,也就是说 ``task_util(p) > capacity(task_cpu(p))`` ;CPU算力
374 task_uclamp_min(p) <= capacity(task_cpu(cpu))
387 task_bandwidth(p) < capacity(task_cpu(p))
/linux/kernel/sched/
H A Dcore.c353 int cpu = task_cpu(p); in sched_core_next()
2240 return cpu_curr(task_cpu(p)) == p; in task_curr()
2519 WARN_ON_ONCE(task_cpu(p) != new_cpu); in move_queued_task()
2620 if (cpumask_test_cpu(task_cpu(p), &p->cpus_mask)) in migration_cpu_stop()
2653 if (cpumask_test_cpu(task_cpu(p), p->cpus_ptr)) { in migration_cpu_stop()
2668 stop_one_cpu_nowait(task_cpu(p), migration_cpu_stop, in migration_cpu_stop()
2933 if (cpumask_test_cpu(task_cpu(p), &p->cpus_mask) || in affine_move_task()
3121 !cpumask_test_cpu(task_cpu(p), ctx->new_mask))) { in __set_cpus_allowed_ptr_locked()
3343 if (task_cpu(p) != new_cpu) { in set_task_cpu()
3402 if (task_cpu(arg->dst_task) != arg->dst_cpu) in migrate_swap_stop()
[all …]
H A Dpsi.c900 task->pid, task->comm, task_cpu(task), in psi_flags_change()
911 int cpu = task_cpu(task); in psi_task_change()
930 int cpu = task_cpu(prev); in psi_task_switch()
1008 int cpu = task_cpu(curr); in psi_account_irqtime()
H A Ddeadline.c445 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); in task_non_contending()
450 __dl_sub(dl_b, dl_se->dl_bw, dl_bw_cpus(task_cpu(p))); in task_non_contending()
1981 struct dl_bw *dl_b = dl_bw_of(task_cpu(p)); in inactive_task_timer()
1990 __dl_sub(dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); in inactive_task_timer()
2721 int cpu = task_cpu(task); in find_later_rq()
2826 WARN_ON_ONCE(rq->cpu != task_cpu(p)); in pick_next_pushable_dl_task()
3131 __dl_sub(src_dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); in set_cpus_allowed_dl()
3566 int cpus, err = -1, cpu = task_cpu(p); in sched_dl_overflow()
H A Dcpudeadline.c138 (cpu == task_cpu(p) && cap == max_cap)) { in cpudl_find()
H A Didle.c461 return task_cpu(p); /* IDLE tasks as never migrated */ in select_task_rq_idle()
H A Dcpuacct.c338 unsigned int cpu = task_cpu(tsk); in cpuacct_charge()
H A Dfair.c2688 .src_cpu = task_cpu(p), in task_numa_migrate()
3823 int src_nid = cpu_to_node(task_cpu(p)); in update_scan_period()
7497 if (cpu_of(rq) != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) in cpu_load_without()
7520 if (cpu_of(rq) != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) in cpu_runnable_without()
8278 if (p && task_cpu(p) == cpu && dst_cpu != cpu) in cpu_util()
8280 else if (p && task_cpu(p) != cpu && dst_cpu == cpu) in cpu_util()
8351 if (cpu != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) in cpu_util_without()
10977 if (cpu != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time)) in task_running_on_cpu()
13926 set_task_rq(p, task_cpu(p)); in task_change_group_fair()
H A Ddebug.c895 if (task_cpu(p) != rq_cpu) in print_rq()
H A Dsched.h1401 #define task_rq(p) cpu_rq(task_cpu(p))
2593 int (*select_task_rq)(struct task_struct *p, int task_cpu, int flags);
/linux/kernel/trace/
H A Dtrace_sched_wakeup.c408 entry->next_cpu = task_cpu(next); in tracing_sched_switch_trace()
434 entry->next_cpu = task_cpu(wakee); in tracing_sched_wakeup_trace()
579 wakeup_cpu = task_cpu(p); in probe_wakeup()
H A Dtrace_osnoise.c1216 long cpu = task_cpu(p); in trace_sched_migrate_callback()
/linux/Documentation/scheduler/
H A Dsched-capacity.rst342 task_util(p) < capacity(task_cpu(p))
405 then it might become CPU-bound, IOW ``task_util(p) > capacity(task_cpu(p))``;
424 task_uclamp_min(p) <= capacity(task_cpu(cpu))
438 task_bandwidth(p) < capacity(task_cpu(p))
/linux/include/linux/
H A Dsched.h2294 static inline unsigned int task_cpu(const struct task_struct *p) in task_cpu() function
2303 static inline unsigned int task_cpu(const struct task_struct *p) in task_cpu() function
2351 return READ_ONCE(owner->on_cpu) && !vcpu_is_preempted(task_cpu(owner)); in owner_on_cpu()
2410 return task_cpu(t); in task_mm_cid()
H A Drseq_entry.h639 .cpu_id = task_cpu(t), in rseq_exit_user_update()
/linux/kernel/
H A Dstop_machine.c58 struct cpu_stopper *stopper = per_cpu_ptr(&cpu_stopper, task_cpu(task)); in print_stop_info()
H A Drseq.c294 ids.cpu_id = task_cpu(t); in rseq_slowpath_update_usr()
/linux/arch/parisc/kernel/
H A Dtraps.c154 level, task_cpu(current), cr30, cr31); in show_regs()
/linux/kernel/time/
H A Dtick-sched.c477 cpu = task_cpu(tsk); in tick_nohz_kick_task()
/linux/kernel/events/
H A Dcore.c82 if (task_cpu(p) != smp_processor_id()) in remote_function()
123 ret = smp_call_function_single(task_cpu(p), remote_function, in task_function_call()