Home
last modified time | relevance | path

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

12345678910

/OK3568_Linux_fs/kernel/Documentation/scheduler/
H 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.
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 …]
H A Dindex.rst17 sched-nice-design
/OK3568_Linux_fs/kernel/kernel/sched/
H 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()
H A Dautogroup.h14 int nice; member
/OK3568_Linux_fs/kernel/include/linux/sched/
H A Dprio.h33 #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()
H A Dautogroup.h18 extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice);
/OK3568_Linux_fs/kernel/fs/proc/
H A Dstat.c110 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/
H A 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 …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/coreutils/
H A Dcoreutils_9.0.bb54 # [ df mktemp nice printenv base64 gets a special treatment and is not included in this
104 for i in df mktemp nice printenv base64; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${BPN}; done
123 …racket ${bindir_progs} ${base_bindir_progs} ${sbindir_progs} base32 base64 nice printenv mktemp df"
124 ALTERNATIVE:${PN}-doc = "base64.1 nice.1 mktemp.1 df.1 groups.1 kill.1 uptime.1 stat.1 hostname.1"
140 ALTERNATIVE_LINK_NAME[nice] = "${base_bindir}/nice"
141 ALTERNATIVE_TARGET[nice] = "${bindir}/nice.${BPN}"
142 ALTERNATIVE_LINK_NAME[nice.1] = "${mandir}/man1/nice.1"
/OK3568_Linux_fs/kernel/drivers/block/paride/
H A Dpseudo.h52 int timeout, int nice) in ps_set_intr() argument
61 ps_nice = nice; in ps_set_intr()
H A Dpf.c133 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()
H 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()
1011 name, name, PD_VERSION, major, cluster, nice); in pd_init()
H A Dpcd.c117 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()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/namespaces/
H 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.
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/farsight/
H A Dlibnice_0.1.18.bb3 HOMEPAGE = "http://nice.freedesktop.org/wiki/"
11 SRC_URI = "http://nice.freedesktop.org/releases/libnice-${PV}.tar.gz"
/OK3568_Linux_fs/kernel/Documentation/block/
H 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.
/OK3568_Linux_fs/kernel/Documentation/fb/
H 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.
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Dbuild.py597 nice = localdata.getVar("BB_TASK_NICE_LEVEL")
598 if nice:
599 curnice = os.nice(0)
600 nice = int(nice) - curnice
601 newnice = os.nice(nice)
/OK3568_Linux_fs/kernel/Documentation/userspace-api/ioctl/
H A Dhdio.rst29 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.
/OK3568_Linux_fs/buildroot/package/python-configshell-fb/
H A DConfig.in10 for building simple but nice CLI-based applications.
/OK3568_Linux_fs/buildroot/package/alsamixergui/
H A DConfig.in12 A nice GUI mixer for Alsa using fltk
/OK3568_Linux_fs/buildroot/package/nano/
H A DConfig.in8 A nice ncurses-based editor. Started out as a clone of pico.
/OK3568_Linux_fs/kernel/drivers/leds/
H A DTODO67 It would be also nice to have useful listing mode -- name, type,
74 ethernet interface would be nice.
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-configshell-fb_1.1.29.bb3 building simple but nice CLI-based applications. This runs with Python 2 and \
/OK3568_Linux_fs/kernel/kernel/
H A Dworkqueue.c1953 pool->attrs->nice < 0 ? "H" : ""); in create_worker()
1962 set_user_nice(worker->task, pool->attrs->nice); in create_worker()
1966 if (pool->attrs->nice == 0) in create_worker()
3409 to->nice = from->nice; in copy_workqueue_attrs()
3424 hash = jhash_1word(attrs->nice, hash); in wqattrs_hash()
3434 if (a->nice != b->nice) in wqattrs_equal()
4708 pr_cont(" flags=0x%x nice=%d", pool->flags, pool->attrs->nice); in pr_cont_pool_info()
5496 written = scnprintf(buf, PAGE_SIZE, "%d\n", wq->unbound_attrs->nice); in wq_nice_show()
5530 if (sscanf(buf, "%d", &attrs->nice) == 1 && in wq_nice_store()
5531 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
[all …]

12345678910