/Linux-v6.6/io_uring/ |
D | io-wq.c | 81 atomic_t nr_running; member 131 int nr_running; member 192 atomic_dec(&acct->nr_running); in io_worker_cancel_cb() 322 atomic_inc(&acct->nr_running); in io_wq_create_worker() 331 atomic_inc(&acct->nr_running); in io_wq_inc_running() 355 atomic_dec(&acct->nr_running); in create_worker_cb() 403 atomic_dec(&acct->nr_running); in io_queue_worker_create() 416 if (!atomic_dec_and_test(&acct->nr_running)) in io_wq_dec_running() 422 atomic_inc(&acct->nr_running); in io_wq_dec_running() 782 atomic_dec(&acct->nr_running); in create_worker_cont() [all …]
|
/Linux-v6.6/Documentation/translations/zh_CN/scheduler/ |
D | sched-design-CFS.rst | 24 相同的速度并行运行,速度均为1/nr_running。举例来说,如果有两个任务正在运行,那么每个 137 当任务进入可运行状态时,被调用。它将调度实体(任务)放到红黑树中,增加nr_running变量 142 当任务不再可运行时,这个函数被调用,对应的调度实体被移出红黑树。它减少nr_running变量
|
/Linux-v6.6/arch/s390/appldata/ |
D | appldata_os.c | 64 u32 nr_running; /* number of runnable threads */ member 102 os_data->nr_running = nr_running(); in appldata_get_os_data()
|
D | appldata_base.c | 427 EXPORT_SYMBOL_GPL(nr_running);
|
/Linux-v6.6/kernel/sched/ |
D | fair.c | 1039 if (cfs_rq->nr_running > 1) { in update_deadline() 1968 unsigned int nr_running; member 1998 if ((ns->nr_running > ns->weight) && in numa_classify() 2003 if ((ns->nr_running < ns->weight) || in numa_classify() 2058 ns->nr_running += rq->cfs.h_nr_running; in update_numa_stats() 2061 if (find_idle && idle_core < 0 && !rq->nr_running && idle_cpu(cpu)) { in update_numa_stats() 2378 src_running = env->src_stats.nr_running - 1; in task_numa_find_cpu() 2379 dst_running = env->dst_stats.nr_running + 1; in task_numa_find_cpu() 3537 cfs_rq->nr_running++; in account_entity_enqueue() 3552 cfs_rq->nr_running--; in account_entity_dequeue() [all …]
|
D | loadavg.c | 82 nr_active = this_rq->nr_running - adjust; in calc_load_fold_active()
|
D | sched.h | 548 unsigned int nr_running; member 970 unsigned int nr_running; member 2357 return rq->cfs.nr_running > 0; in sched_fair_runnable() 2485 unsigned prev_nr = rq->nr_running; in add_nr_running() 2487 rq->nr_running = prev_nr + count; in add_nr_running() 2493 if (prev_nr < 2 && rq->nr_running >= 2) { in add_nr_running() 2504 rq->nr_running -= count; in sub_nr_running()
|
D | core.c | 263 if (!(flags & DEQUEUE_SAVE) && rq->nr_running == 1 && in sched_core_dequeue() 1196 if (rq->nr_running != 1) in __need_bw_check() 1240 if (rq->nr_running > 1) in sched_can_stop_tick() 3993 if (!cpu_rq(cpu)->nr_running) in ttwu_queue_cond() 5394 unsigned int nr_running(void) in nr_running() function 5399 sum += cpu_rq(i)->nr_running; in nr_running() 5419 return raw_rq()->nr_running == 1; in single_task_running() 6002 rq->nr_running == rq->cfs.h_nr_running)) { in __pick_next_task() 6212 if (rq_i->nr_running) { in pick_next_task() 6396 if (!rq->nr_running) /* not forced idle */ in queue_core_balance() [all …]
|
D | debug.c | 668 SEQ_printf(m, " .%-30s: %d\n", "nr_running", cfs_rq->nr_running); in print_cfs_rq() 788 P(nr_running); in print_cpu()
|
D | rt.c | 1097 BUG_ON(!rq->nr_running); in dequeue_top_rt_rq()
|
/Linux-v6.6/include/linux/sched/ |
D | stat.h | 20 extern unsigned int nr_running(void);
|
/Linux-v6.6/include/uapi/linux/ |
D | cgroupstats.h | 32 __u64 nr_running; /* Number of tasks running */ member
|
/Linux-v6.6/fs/proc/ |
D | loadavg.c | 24 nr_running(), nr_threads, in loadavg_proc_show()
|
D | stat.c | 182 nr_running(), in show_stat()
|
/Linux-v6.6/Documentation/translations/zh_CN/dev-tools/ |
D | gdb-kernel-debugging.rst | 119 (gdb) p $lx_per_cpu("runqueues").nr_running 121 (gdb) p $lx_per_cpu("runqueues", 2).nr_running
|
/Linux-v6.6/Documentation/dev-tools/ |
D | gdb-kernel-debugging.rst | 130 (gdb) p $lx_per_cpu("runqueues").nr_running 132 (gdb) p $lx_per_cpu("runqueues", 2).nr_running
|
/Linux-v6.6/Documentation/scheduler/ |
D | sched-design-CFS.rst | 19 1/nr_running speed. For example: if there are 2 tasks running, then it runs 169 increments the nr_running variable. 175 the nr_running variable.
|
/Linux-v6.6/kernel/ |
D | workqueue.c | 169 int nr_running; member 829 return !list_empty(&pool->worklist) && !pool->nr_running; in need_more_worker() 841 return !list_empty(&pool->worklist) && (pool->nr_running <= 1); in keep_working() 876 pool->nr_running--; in worker_set_flags() 905 pool->nr_running++; in worker_clr_flags() 948 WARN_ON_ONCE(pool->nr_workers == pool->nr_idle && pool->nr_running); in worker_enter_idle() 1259 worker->pool->nr_running++; in wq_worker_running() 1310 pool->nr_running--; in wq_worker_sleeping() 5431 pool->nr_running = 0; in unbind_workers()
|
/Linux-v6.6/tools/accounting/ |
D | getdelays.c | 264 (unsigned long long)c->nr_running, in print_cgroupstats()
|
/Linux-v6.6/kernel/cgroup/ |
D | cgroup-v1.c | 727 stats->nr_running++; in cgroupstats_build()
|