/kernel/linux/linux-5.10/Documentation/scheduler/ |
D | sched-nice-design.rst | 6 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 …]
|
D | index.rst | 17 sched-nice-design
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | autogroup.c | 208 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()
|
D | autogroup.h | 14 int nice; member
|
/kernel/linux/linux-5.10/include/linux/sched/ |
D | prio.h | 33 #define NICE_TO_PRIO(nice) ((nice) + DEFAULT_PRIO) argument 48 static inline long nice_to_rlimit(long nice) in nice_to_rlimit() argument 50 return (MAX_NICE - nice + 1); in nice_to_rlimit()
|
D | autogroup.h | 18 extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice);
|
/kernel/linux/linux-5.10/fs/proc/ |
D | stat.c | 110 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local 117 user = nice = system = idle = iowait = in show_stat() 129 nice += cpustat[CPUTIME_NICE]; in show_stat() 151 seq_put_decimal_ull(p, " ", nsec_to_clock_t(nice)); in show_stat() 170 nice = cpustat[CPUTIME_NICE]; in show_stat() 181 seq_put_decimal_ull(p, " ", nsec_to_clock_t(nice)); in show_stat()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 1035 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 …]
|
/kernel/liteos_a/testsuites/unittest/libc/sys/full/ |
D | sys_test_028.cpp | 42 ret = nice(0); in TestCase() 50 ret = nice(-40); /* -40, set invalid priority for test */ in TestCase()
|
/kernel/linux/linux-5.10/drivers/block/paride/ |
D | pseudo.h | 52 int timeout, int nice) in ps_set_intr() argument 61 ps_nice = nice; in ps_set_intr()
|
D | pf.c | 133 static int nice = 0; variable 167 module_param(nice, int, 0); 729 name, name, PF_VERSION, major, cluster, nice); in pf_detect() 921 ps_set_intr(do_pf_read_start, NULL, 0, nice); in do_pf_read() 939 ps_set_intr(do_pf_read_drq, pf_ready, PF_TMO, nice); in do_pf_read_start() 967 ps_set_intr(do_pf_write_start, NULL, 0, nice); in do_pf_write() 1002 ps_set_intr(do_pf_write_done, pf_ready, PF_TMO, nice); in do_pf_write_start()
|
D | pcd.c | 117 static int nice = 0; variable 150 module_param(nice, int, 0); 718 name, name, PCD_VERSION, major, nice); in pcd_detect() 813 ps_set_intr(do_pcd_read, NULL, 0, nice); in pcd_request() 885 ps_set_intr(do_pcd_read_drq, pcd_ready, PCD_TMO, nice); in pcd_start()
|
D | pd.c | 133 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() 1011 name, name, PD_VERSION, major, cluster, nice); in pd_init()
|
/kernel/linux/common_modules/qos_auth/auth_ctl/ |
D | qos_ctrl.c | 87 attr.sched_nice = item->nice; in sched_set_task_qos_attr() 494 static inline bool valid_nice(int nice) in valid_nice() argument 496 return nice >= MIN_NICE && nice <= MAX_NICE; in valid_nice() 550 if (!valid_nice(data->nice)) { in valid_qos_item() 601 item->nice = data->nice; in do_qos_policy_change()
|
D | qos_ctrl.h | 23 int nice; member
|
/kernel/linux/linux-5.10/Documentation/admin-guide/namespaces/ |
D | resource-control.rst | 9 users programs to play nice this problems becomes more acute. 14 memory user's they don't trust to play nice can use.
|
/kernel/linux/linux-5.10/Documentation/block/ |
D | ioprio.rst | 10 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.
|
/kernel/linux/linux-5.10/Documentation/fb/ |
D | pvr2fb.rst | 10 * It provides a nice large console (128 cols + 48 lines with 1024x768) 30 SUN12x22 font which is very nice at high resolutions.
|
/kernel/linux/common_modules/qos_auth/include/ |
D | qos_ctrl.h | 82 int nice; member
|
/kernel/linux/linux-5.10/drivers/parport/ |
D | TODO-parport | 9 a) ECP support would be nice. This can only work if both the port and
|
/kernel/linux/linux-5.10/drivers/leds/ |
D | TODO | 67 It would be also nice to have useful listing mode -- name, type, 74 ethernet interface would be nice.
|
/kernel/linux/linux-5.10/Documentation/userspace-api/ioctl/ |
D | hdio.rst | 29 HDIO_GET_NICE get nice flags 54 HDIO_SET_NICE set nice flags 437 get nice flags 442 long nice; 444 ioctl(fd, HDIO_GET_NICE, &nice); 452 The drive's "nice" values. 466 set nice flags 471 unsigned long nice; 474 ioctl(fd, HDIO_SET_NICE, nice); 477 bitmask of nice flags.
|
/kernel/linux/linux-5.10/Documentation/admin-guide/aoe/ |
D | todo.rst | 9 not been observed, but it would be nice to eliminate any potential for
|
/kernel/linux/linux-5.10/Documentation/cpu-freq/ |
D | index.rst | 10 fly. This is a nice method to save battery power, because the lower
|
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/admin-guide/ |
D | cpu-load.rst | 12 avg-cpu: %user %nice %system %iowait %steal %idle
|