/linux-6.1.9/io_uring/ ! |
D | io-wq.c | 80 atomic_t nr_running; member 138 int nr_running; member 190 atomic_dec(&acct->nr_running); in io_worker_cancel_cb() 308 atomic_inc(&acct->nr_running); in io_wqe_create_worker() 317 atomic_inc(&acct->nr_running); in io_wqe_inc_running() 341 atomic_dec(&acct->nr_running); in create_worker_cb() 390 atomic_dec(&acct->nr_running); in io_queue_worker_create() 403 if (!atomic_dec_and_test(&acct->nr_running)) in io_wqe_dec_running() 408 atomic_inc(&acct->nr_running); in io_wqe_dec_running() 759 atomic_dec(&acct->nr_running); in create_worker_cont() [all …]
|
/linux-6.1.9/Documentation/translations/zh_CN/scheduler/ ! |
D | sched-design-CFS.rst | 24 相同的速度并行运行,速度均为1/nr_running。举例来说,如果有两个任务正在运行,那么每个 137 当任务进入可运行状态时,被调用。它将调度实体(任务)放到红黑树中,增加nr_running变量 142 当任务不再可运行时,这个函数被调用,对应的调度实体被移出红黑树。它减少nr_running变量
|
/linux-6.1.9/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 | 550 EXPORT_SYMBOL_GPL(nr_running);
|
/linux-6.1.9/kernel/sched/ ! |
D | fair.c | 710 static u64 __sched_period(unsigned long nr_running) in __sched_period() argument 712 if (unlikely(nr_running > sched_nr_latency)) in __sched_period() 713 return nr_running * sysctl_sched_min_granularity; in __sched_period() 728 unsigned int nr_running = cfs_rq->nr_running; in sched_slice() local 734 nr_running = rq_of(cfs_rq)->cfs.h_nr_running; in sched_slice() 736 slice = __sched_period(nr_running + !se->on_rq); in sched_slice() 1685 unsigned int nr_running; member 1732 if ((ns->nr_running > ns->weight) && in numa_classify() 1737 if ((ns->nr_running < ns->weight) || in numa_classify() 1792 ns->nr_running += rq->cfs.h_nr_running; in update_numa_stats() [all …]
|
D | loadavg.c | 82 nr_active = this_rq->nr_running - adjust; in calc_load_fold_active()
|
D | sched.h | 552 unsigned int nr_running; member 962 unsigned int nr_running; member 2271 return rq->cfs.nr_running > 0; in sched_fair_runnable() 2399 unsigned prev_nr = rq->nr_running; in add_nr_running() 2401 rq->nr_running = prev_nr + count; in add_nr_running() 2407 if (prev_nr < 2 && rq->nr_running >= 2) { in add_nr_running() 2418 rq->nr_running -= count; in sub_nr_running()
|
D | core.c | 257 if (!(flags & DEQUEUE_SAVE) && rq->nr_running == 1 && in sched_core_dequeue() 1207 if (rq->nr_running > 1) in sched_can_stop_tick() 3862 if (!cpu_rq(cpu)->nr_running) in ttwu_queue_cond() 5250 unsigned int nr_running(void) in nr_running() function 5255 sum += cpu_rq(i)->nr_running; in nr_running() 5275 return raw_rq()->nr_running == 1; in single_task_running() 5859 rq->nr_running == rq->cfs.h_nr_running)) { in __pick_next_task() 6069 if (rq_i->nr_running) { in pick_next_task() 6249 if (!rq->nr_running) /* not forced idle */ in queue_core_balance() 7188 if (rq->nr_running) in idle_cpu() [all …]
|
D | debug.c | 622 SEQ_printf(m, " .%-30s: %d\n", "nr_running", cfs_rq->nr_running); in print_cfs_rq() 742 P(nr_running); in print_cpu()
|
D | rt.c | 1097 BUG_ON(!rq->nr_running); in dequeue_top_rt_rq()
|
/linux-6.1.9/include/linux/sched/ ! |
D | stat.h | 20 extern unsigned int nr_running(void);
|
/linux-6.1.9/include/uapi/linux/ ! |
D | cgroupstats.h | 34 __u64 nr_running; /* Number of tasks running */ member
|
/linux-6.1.9/fs/proc/ ! |
D | loadavg.c | 24 nr_running(), nr_threads, in loadavg_proc_show()
|
D | stat.c | 208 nr_running(), in show_stat()
|
/linux-6.1.9/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-6.1.9/Documentation/dev-tools/ ! |
D | gdb-kernel-debugging.rst | 126 (gdb) p $lx_per_cpu("runqueues").nr_running 128 (gdb) p $lx_per_cpu("runqueues", 2).nr_running
|
/linux-6.1.9/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-6.1.9/kernel/ ! |
D | workqueue.c | 163 int nr_running; member 785 return !pool->nr_running; in __need_more_worker() 810 return !list_empty(&pool->worklist) && (pool->nr_running <= 1); in keep_working() 880 worker->pool->nr_running++; in wq_worker_running() 924 pool->nr_running--; in wq_worker_sleeping() 980 pool->nr_running--; in worker_set_flags() 1012 pool->nr_running++; in worker_clr_flags() 1813 WARN_ON_ONCE(pool->nr_workers == pool->nr_idle && pool->nr_running); in worker_enter_idle() 4998 pool->nr_running = 0; in unbind_workers()
|
/linux-6.1.9/tools/accounting/ ! |
D | getdelays.c | 258 (unsigned long long)c->nr_running, in print_cgroupstats()
|
/linux-6.1.9/kernel/cgroup/ ! |
D | cgroup-v1.c | 728 stats->nr_running++; in cgroupstats_build()
|