Home
last modified time | relevance | path

Searched refs:nice (Results 1 – 25 of 132) sorted by relevance

123456

/Linux-v5.15/Documentation/scheduler/
Dsched-nice-design.rst6 nice-levels implementation in the new Linux scheduler.
9 pestered us to make nice +19 tasks use up much less CPU time.
12 scheduler, (otherwise we'd have done it long ago) because nice level
16 In the O(1) scheduler (in 2003) we changed negative nice levels to be
19 rule so that nice +19 level would be _exactly_ 1 jiffy. To better
34 -*----------------------------------*-----> [nice level]
49 people were running number crunching apps at nice +19.)
51 So for HZ=1000 we changed nice +19 to 5msecs, because that felt like the
53 But the fundamental HZ-sensitive property for nice+19 still remained,
54 and we never got a single complaint about nice +19 being too _weak_ in
[all …]
Dindex.rst17 sched-nice-design
/Linux-v5.15/kernel/sched/
Dautogroup.c208 int proc_sched_autogroup_set_nice(struct task_struct *p, int nice) in proc_sched_autogroup_set_nice() argument
215 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice()
218 err = security_task_setnice(current, nice); in proc_sched_autogroup_set_nice()
222 if (nice < 0 && !can_nice(current, nice)) in proc_sched_autogroup_set_nice()
232 idx = array_index_nospec(nice + 20, 40); in proc_sched_autogroup_set_nice()
238 ag->nice = nice; in proc_sched_autogroup_set_nice()
254 seq_printf(m, "/autogroup-%ld nice %d\n", ag->id, ag->nice); in proc_sched_autogroup_show_task()
Dautogroup.h14 int nice; member
/Linux-v5.15/include/linux/sched/
Dprio.h26 #define NICE_TO_PRIO(nice) ((nice) + DEFAULT_PRIO) argument
32 static inline long nice_to_rlimit(long nice) in nice_to_rlimit() argument
34 return (MAX_NICE - nice + 1); in nice_to_rlimit()
Dautogroup.h18 extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice);
/Linux-v5.15/fs/proc/
Dstat.c111 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local
118 user = nice = system = idle = iowait = in show_stat()
132 nice += cpustat[CPUTIME_NICE]; in show_stat()
154 seq_put_decimal_ull(p, " ", nsec_to_clock_t(nice)); in show_stat()
173 nice = cpustat[CPUTIME_NICE]; in show_stat()
184 seq_put_decimal_ull(p, " ", nsec_to_clock_t(nice)); in show_stat()
/Linux-v5.15/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c1035 static void text_map(char **map, int xdiv, char *nice, int yd, int x0, int x1) in text_map() argument
1038 int w = (map_width(xdiv, x0, x1) - strlen(nice)) / 2; in text_map()
1041 while (*nice) in text_map()
1042 *p++ = *nice++; in text_map()
1046 static void map_1d_info(char **map, int xdiv, int ydiv, char *nice, in map_1d_info() argument
1049 sprintf(nice, "%dK", tcm_sizeof(*a) * 4); in map_1d_info()
1051 text_map(map, xdiv, nice, (a->p0.y + a->p1.y) / 2 / ydiv, 0, in map_1d_info()
1054 if (strlen(nice) < map_width(xdiv, a->p0.x, 256 - 1)) in map_1d_info()
1055 text_map(map, xdiv, nice, a->p0.y / ydiv, in map_1d_info()
1057 else if (strlen(nice) < map_width(xdiv, 0, a->p1.x)) in map_1d_info()
[all …]
/Linux-v5.15/drivers/block/paride/
Dpseudo.h52 int timeout, int nice) in ps_set_intr() argument
61 ps_nice = nice; in ps_set_intr()
Dpf.c133 static int nice = 0; variable
167 module_param(nice, int, 0);
727 name, name, PF_VERSION, major, cluster, nice); in pf_detect()
917 ps_set_intr(do_pf_read_start, NULL, 0, nice); in do_pf_read()
935 ps_set_intr(do_pf_read_drq, pf_ready, PF_TMO, nice); in do_pf_read_start()
963 ps_set_intr(do_pf_write_start, NULL, 0, nice); in do_pf_write()
998 ps_set_intr(do_pf_write_done, pf_ready, PF_TMO, nice); in do_pf_write_start()
Dpd.c133 static int nice = 0; variable
168 module_param(nice, int, 0);
373 if (!nice) in schedule_fsm()
376 schedule_delayed_work(&fsm_tq, nice-1); in schedule_fsm()
995 name, name, PD_VERSION, major, cluster, nice); in pd_init()
Dpcd.c117 static int nice = 0; variable
150 module_param(nice, int, 0);
717 name, name, PCD_VERSION, major, nice); in pcd_detect()
810 ps_set_intr(do_pcd_read, NULL, 0, nice); in pcd_request()
882 ps_set_intr(do_pcd_read_drq, pcd_ready, PCD_TMO, nice); in pcd_start()
/Linux-v5.15/Documentation/admin-guide/namespaces/
Dresource-control.rst9 users programs to play nice this problems becomes more acute.
14 memory user's they don't trust to play nice can use.
/Linux-v5.15/Documentation/block/
Dioprio.rst10 priorities are supported for reads on files. This enables users to io nice
33 to the cpu nice levels just more coarsely implemented. 0 is the highest
34 BE prio level, 7 is the lowest. The mapping between cpu nice level and io
35 nice level is determined as: io_nice = (cpu_nice + 20) / 5.
/Linux-v5.15/Documentation/fb/
Dpvr2fb.rst10 * It provides a nice large console (128 cols + 48 lines with 1024x768)
30 SUN12x22 font which is very nice at high resolutions.
Dlxfb.rst14 * It provides a nice large console (128 cols + 48 lines with 1024x768)
Dgxfb.rst13 * It provides a nice large console (128 cols + 48 lines with 1024x768)
/Linux-v5.15/drivers/parport/
DTODO-parport9 a) ECP support would be nice. This can only work if both the port and
/Linux-v5.15/drivers/leds/
DTODO67 It would be also nice to have useful listing mode -- name, type,
74 ethernet interface would be nice.
/Linux-v5.15/Documentation/admin-guide/aoe/
Dtodo.rst9 not been observed, but it would be nice to eliminate any potential for
/Linux-v5.15/Documentation/cpu-freq/
Dindex.rst10 fly. This is a nice method to save battery power, because the lower
/Linux-v5.15/Documentation/translations/zh_CN/admin-guide/
Dcpu-load.rst12 avg-cpu: %user %nice %system %iowait %steal %idle
/Linux-v5.15/Documentation/translations/zh_TW/admin-guide/
Dcpu-load.rst18 avg-cpu: %user %nice %system %iowait %steal %idle
/Linux-v5.15/kernel/
Dworkqueue.c1953 pool->attrs->nice < 0 ? "H" : ""); in create_worker()
1962 set_user_nice(worker->task, pool->attrs->nice); in create_worker()
3411 to->nice = from->nice; in copy_workqueue_attrs()
3426 hash = jhash_1word(attrs->nice, hash); in wqattrs_hash()
3436 if (a->nice != b->nice) in wqattrs_equal()
4710 pr_cont(" flags=0x%x nice=%d", pool->flags, pool->attrs->nice); in pr_cont_pool_info()
5512 written = scnprintf(buf, PAGE_SIZE, "%d\n", wq->unbound_attrs->nice); in wq_nice_show()
5546 if (sscanf(buf, "%d", &attrs->nice) == 1 && in wq_nice_store()
5547 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
5636 __ATTR(nice, 0644, wq_nice_show, wq_nice_store),
[all …]
/Linux-v5.15/Documentation/leds/
Dwell-known-leds.txt5 directories in /sys/class/leds. It would be nice if userland would

123456