Home
last modified time | relevance | path

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

123456

/linux/Documentation/scheduler/
A 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.
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.)
66 nice level as well, while the nice API itself is fundamentally
69 int nice(int inc);
75 bash's "nice" command mirror this relative API.
79 depend on the nice level of the parent shell - if it was at nice -10 the
101 scheduler, running a nice +10 and a nice 11 task has the same CPU
[all …]
A Dindex.rst17 sched-nice-design
/linux/kernel/sched/
A 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()
A Dautogroup.h14 int nice; member
A Dcore.c2045 prio = NICE_TO_PRIO(nice); in __normal_prio()
6855 if (task_nice(p) == nice || nice < MIN_NICE || nice > MAX_NICE) in set_user_nice()
6871 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()
6881 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()
6910 int nice_rlim = nice_to_rlimit(nice); in can_nice()
6925 SYSCALL_DEFINE1(nice, int, increment) in SYSCALL_DEFINE1() argument
6927 long nice, retval; in SYSCALL_DEFINE1() local
6937 nice = clamp_val(nice, MIN_NICE, MAX_NICE); in SYSCALL_DEFINE1()
6945 set_user_nice(current, nice); in SYSCALL_DEFINE1()
7567 .sched_nice = nice, in sched_set_normal()
[all …]
/linux/include/linux/sched/
A 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()
A Dautogroup.h18 extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice);
/linux/fs/proc/
A 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/drivers/gpu/drm/omapdrm/
A Domap_dmm_tiler.c1038 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()
1049 sprintf(nice, "%dK", tcm_sizeof(*a) * 4); 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()
1058 text_map(map, xdiv, nice, a->p1.y / ydiv, in map_1d_info()
1084 char nice[128]; in tiler_map_show() local
1125 map_2d_info(map, xdiv, ydiv, nice, in tiler_map_show()
[all …]
/linux/drivers/block/paride/
A Dpseudo.h52 int timeout, int nice) in ps_set_intr() argument
61 ps_nice = nice; in ps_set_intr()
A Dpf.c133 static int nice = 0; variable
167 module_param(nice, int, 0);
824 ps_set_intr(do_pf_read_start, NULL, 0, nice); in do_pf_read()
842 ps_set_intr(do_pf_read_drq, pf_ready, PF_TMO, nice); in do_pf_read_start()
870 ps_set_intr(do_pf_write_start, NULL, 0, nice); in do_pf_write()
905 ps_set_intr(do_pf_write_done, pf_ready, PF_TMO, nice); in do_pf_write_start()
995 name, name, PF_VERSION, major, cluster, nice); in pf_init()
A 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()
969 name, name, PD_VERSION, major, cluster, nice); in pd_init()
A Dpcd.c117 static int nice = 0; variable
150 module_param(nice, int, 0);
701 ps_set_intr(do_pcd_read, NULL, 0, nice); in pcd_request()
773 ps_set_intr(do_pcd_read_drq, pcd_ready, PCD_TMO, nice); in pcd_start()
975 name, name, PCD_VERSION, major, nice); in pcd_init()
/linux/Documentation/admin-guide/namespaces/
A 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/Documentation/block/
A 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/Documentation/fb/
A Dpvr2fb.rst10 * It provides a nice large console (128 cols + 48 lines with 1024x768)
30 SUN12x22 font which is very nice at high resolutions.
A Dlxfb.rst14 * It provides a nice large console (128 cols + 48 lines with 1024x768)
A Dgxfb.rst13 * It provides a nice large console (128 cols + 48 lines with 1024x768)
/linux/drivers/leds/
A DTODO67 It would be also nice to have useful listing mode -- name, type,
74 ethernet interface would be nice.
/linux/drivers/parport/
A DTODO-parport9 a) ECP support would be nice. This can only work if both the port and
/linux/kernel/
A Dworkqueue.c1954 pool->attrs->nice < 0 ? "H" : ""); in create_worker()
1963 set_user_nice(worker->task, pool->attrs->nice); in create_worker()
3412 to->nice = from->nice; in copy_workqueue_attrs()
3427 hash = jhash_1word(attrs->nice, hash); in wqattrs_hash()
3437 if (a->nice != b->nice) in wqattrs_equal()
5573 if (sscanf(buf, "%d", &attrs->nice) == 1 && in wq_nice_store()
5574 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
5663 __ATTR(nice, 0644, wq_nice_show, wq_nice_store),
6039 pool->attrs->nice = std_nice[i++]; in workqueue_init_early()
6054 attrs->nice = std_nice[i]; in workqueue_init_early()
[all …]
/linux/Documentation/admin-guide/aoe/
A Dtodo.rst9 not been observed, but it would be nice to eliminate any potential for
/linux/Documentation/cpu-freq/
A Dindex.rst10 fly. This is a nice method to save battery power, because the lower
/linux/Documentation/translations/zh_CN/admin-guide/
A Dcpu-load.rst12 avg-cpu: %user %nice %system %iowait %steal %idle
/linux/Documentation/translations/zh_TW/admin-guide/
A Dcpu-load.rst18 avg-cpu: %user %nice %system %iowait %steal %idle

Completed in 51 milliseconds

123456