/linux-4.4.14/Documentation/scheduler/ |
D | sched-nice-design.txt | 2 nice-levels implementation in the new Linux scheduler. 5 pestered us to make nice +19 tasks use up much less CPU time. 8 scheduler, (otherwise we'd have done it long ago) because nice level 12 In the O(1) scheduler (in 2003) we changed negative nice levels to be 15 rule so that nice +19 level would be _exactly_ 1 jiffy. To better 30 -*----------------------------------*-----> [nice level] 45 people were running number crunching apps at nice +19.) 47 So for HZ=1000 we changed nice +19 to 5msecs, because that felt like the 49 But the fundamental HZ-sensitive property for nice+19 still remained, 50 and we never got a single complaint about nice +19 being too _weak_ in [all …]
|
D | 00-INDEX | 11 sched-nice-design.txt 12 - How and why the scheduler's nice levels are implemented.
|
D | sched-design-CFS.txt | 46 with a few add-on embellishments like nice levels, multiprocessing and various 104 The CFS scheduler has a much stronger handling of nice levels and SCHED_BATCH 127 - SCHED_IDLE: This is even weaker than nice 19, but its not a true
|
/linux-4.4.14/kernel/sched/ |
D | auto_group.c | 191 int proc_sched_autogroup_set_nice(struct task_struct *p, int nice) in proc_sched_autogroup_set_nice() argument 197 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice() 200 err = security_task_setnice(current, nice); in proc_sched_autogroup_set_nice() 204 if (nice < 0 && !can_nice(current, nice)) in proc_sched_autogroup_set_nice() 215 err = sched_group_set_shares(ag->tg, prio_to_weight[nice + 20]); in proc_sched_autogroup_set_nice() 217 ag->nice = nice; in proc_sched_autogroup_set_nice() 233 seq_printf(m, "/autogroup-%ld nice %d\n", ag->id, ag->nice); in proc_sched_autogroup_show_task()
|
D | auto_group.h | 16 int nice; member
|
D | core.c | 3453 void set_user_nice(struct task_struct *p, long nice) in set_user_nice() argument 3459 if (task_nice(p) == nice || nice < MIN_NICE || nice > MAX_NICE) in set_user_nice() 3473 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice() 3480 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice() 3505 int can_nice(const struct task_struct *p, const int nice) in can_nice() argument 3508 int nice_rlim = nice_to_rlimit(nice); in can_nice() 3523 SYSCALL_DEFINE1(nice, int, increment) in SYSCALL_DEFINE1() argument 3525 long nice, retval; in SYSCALL_DEFINE1() local 3533 nice = task_nice(current) + increment; in SYSCALL_DEFINE1() 3535 nice = clamp_val(nice, MIN_NICE, MAX_NICE); in SYSCALL_DEFINE1() [all …]
|
/linux-4.4.14/include/linux/sched/ |
D | prio.h | 32 #define NICE_TO_PRIO(nice) ((nice) + DEFAULT_PRIO) argument 47 static inline long nice_to_rlimit(long nice) in nice_to_rlimit() argument 49 return (MAX_NICE - nice + 1); in nice_to_rlimit()
|
/linux-4.4.14/fs/proc/ |
D | stat.c | 84 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local 91 user = nice = system = idle = iowait = in show_stat() 99 nice += kcpustat_cpu(i).cpustat[CPUTIME_NICE]; in show_stat() 122 seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(nice)); in show_stat() 136 nice = kcpustat_cpu(i).cpustat[CPUTIME_NICE]; in show_stat() 147 seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(nice)); in show_stat()
|
D | array.c | 379 int priority, nice; in do_task_stat() local 469 nice = task_nice(task); in do_task_stat() 490 seq_put_decimal_ll(m, ' ', nice); in do_task_stat()
|
D | base.c | 1439 int nice; in sched_autogroup_write() local 1448 err = kstrtoint(strstrip(buffer), 0, &nice); in sched_autogroup_write() 1456 err = proc_sched_autogroup_set_nice(p, nice); in sched_autogroup_write()
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 831 static void text_map(char **map, int xdiv, char *nice, int yd, int x0, int x1) in text_map() argument 834 int w = (map_width(xdiv, x0, x1) - strlen(nice)) / 2; in text_map() 837 while (*nice) in text_map() 838 *p++ = *nice++; in text_map() 842 static void map_1d_info(char **map, int xdiv, int ydiv, char *nice, in map_1d_info() argument 845 sprintf(nice, "%dK", tcm_sizeof(*a) * 4); in map_1d_info() 847 text_map(map, xdiv, nice, (a->p0.y + a->p1.y) / 2 / ydiv, 0, in map_1d_info() 850 if (strlen(nice) < map_width(xdiv, a->p0.x, 256 - 1)) in map_1d_info() 851 text_map(map, xdiv, nice, a->p0.y / ydiv, in map_1d_info() 853 else if (strlen(nice) < map_width(xdiv, 0, a->p1.x)) in map_1d_info() [all …]
|
/linux-4.4.14/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); 705 name, name, PF_VERSION, major, cluster, nice); in pf_detect() 856 ps_set_intr(do_pf_read_start, NULL, 0, nice); in do_pf_read() 874 ps_set_intr(do_pf_read_drq, pf_ready, PF_TMO, nice); in do_pf_read_start() 902 ps_set_intr(do_pf_write_start, NULL, 0, nice); in do_pf_write() 937 ps_set_intr(do_pf_write_done, pf_ready, PF_TMO, nice); in do_pf_write_start()
|
D | pd.c | 133 static int nice = 0; variable 168 module_param(nice, int, 0); 366 if (!nice) in schedule_fsm() 369 schedule_delayed_work(&fsm_tq, nice-1); in schedule_fsm() 935 name, name, PD_VERSION, major, cluster, nice); in pd_init()
|
D | pcd.c | 117 static int nice = 0; variable 150 module_param(nice, int, 0); 692 name, name, PCD_VERSION, major, nice); in pcd_detect() 760 ps_set_intr(do_pcd_read, NULL, 0, nice); in do_pcd_request() 818 ps_set_intr(do_pcd_read_drq, pcd_ready, PCD_TMO, nice); in pcd_start()
|
/linux-4.4.14/drivers/staging/iio/ |
D | TODO | 11 Would be nice 28 Would be nice 39 Currently minimal driver, would be nice to add: 46 Would be nice
|
/linux-4.4.14/Documentation/namespaces/ |
D | resource-control.txt | 5 users programs to play nice this problems becomes more acute. 10 memory user's they don't trust to play nice can use.
|
/linux-4.4.14/Documentation/block/ |
D | ioprio.txt | 9 priorities are supported for reads on files. This enables users to io nice 32 to the cpu nice levels just more coarsely implemented. 0 is the highest 33 BE prio level, 7 is the lowest. The mapping between cpu nice level and io 34 nice level is determined as: io_nice = (cpu_nice + 20) / 5.
|
/linux-4.4.14/Documentation/sound/oss/ |
D | OPL3 | 1 A pure OPL3 card is nice and easy to configure. Simply do
|
D | README.OSS | 1345 implement nice real-time signal processing audio effect software and
|
/linux-4.4.14/Documentation/fb/ |
D | pvr2fb.txt | 11 * It provides a nice large console (128 cols + 48 lines with 1024x768) 29 SUN12x22 font which is very nice at high resolutions.
|
D | gxfb.txt | 12 * It provides a nice large console (128 cols + 48 lines with 1024x768)
|
D | lxfb.txt | 12 * It provides a nice large console (128 cols + 48 lines with 1024x768)
|
D | aty128fb.txt | 11 * It provides a nice large console (128 cols + 48 lines with 1024x768)
|
D | tgafb.txt | 44 SUN12x22 font which is very nice at high resolutions.
|
D | vesafb.txt | 18 * It provides a nice large console (128 cols + 48 lines with 1024x768)
|
D | matroxfb.txt | 11 * It provides a nice large console (128 cols + 48 lines with 1024x768)
|
/linux-4.4.14/Documentation/video4linux/ |
D | README.ir | 38 The input layer tools are nice for trouble shooting, i.e. to check 63 It likely is possible to make that fly with a nice xkb config file,
|
/linux-4.4.14/drivers/parport/ |
D | TODO-parport | 9 a) ECP support would be nice. This can only work if both the port and
|
/linux-4.4.14/Documentation/ioctl/ |
D | hdio.txt | 27 HDIO_GET_NICE get nice flags 50 HDIO_SET_NICE set nice flags 349 HDIO_GET_NICE get nice flags 353 long nice; 354 ioctl(fd, HDIO_GET_NICE, &nice); 360 The drive's "nice" values. 371 HDIO_SET_NICE set nice flags 375 unsigned long nice; 377 ioctl(fd, HDIO_SET_NICE, nice); 380 bitmask of nice flags.
|
D | botching-up-ioctls.txt | 12 Which is nice, since there's no more insanity in the form of fake-generic, but 69 and reject the ioctl if that's not the case. Otherwise your nice plan for
|
/linux-4.4.14/Documentation/aoe/ |
D | todo.txt | 6 not been observed, but it would be nice to eliminate any potential for
|
/linux-4.4.14/kernel/ |
D | workqueue.c | 1746 pool->attrs->nice < 0 ? "H" : ""); in create_worker() 1755 set_user_nice(worker->task, pool->attrs->nice); in create_worker() 3062 to->nice = from->nice; in copy_workqueue_attrs() 3077 hash = jhash_1word(attrs->nice, hash); in wqattrs_hash() 3087 if (a->nice != b->nice) in wqattrs_equal() 4212 pr_cont(" flags=0x%x nice=%d", pool->flags, pool->attrs->nice); in pr_cont_pool_info() 4944 written = scnprintf(buf, PAGE_SIZE, "%d\n", wq->unbound_attrs->nice); in wq_nice_show() 4978 if (sscanf(buf, "%d", &attrs->nice) == 1 && in wq_nice_store() 4979 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store() 5068 __ATTR(nice, 0644, wq_nice_show, wq_nice_store), [all …]
|
/linux-4.4.14/Documentation/cpu-freq/ |
D | index.txt | 14 fly. This is a nice method to save battery power, because the lower
|
D | governors.txt | 17 fly. This is a nice method to save battery power, because the lower 153 run with a 'nice' value will not count (and thus be ignored) in the 156 takes to complete as you can 'nice' it and prevent it from taking part
|
D | core.txt | 15 fly. This is a nice method to save battery power, because the lower
|
D | user-guide.txt | 14 fly. This is a nice method to save battery power, because the lower
|
D | cpu-drivers.txt | 16 fly. This is a nice method to save battery power, because the lower
|
/linux-4.4.14/Documentation/vm/ |
D | remap_file_pages.txt | 13 architectures. It would be nice to free up the flag for other usage.
|
D | cleancache.txt | 116 "page-object-oriented" specification provides a nice way to read and
|
D | frontswap.txt | 76 cleancache) interface to transcendent memory provides a nice way to read
|
/linux-4.4.14/drivers/pnp/pnpbios/ |
D | Kconfig | 37 See the latest pcmcia-cs (stand-alone package) for a nice set of
|
/linux-4.4.14/Documentation/dvb/ |
D | faq.txt | 29 have to zap using [sct]zap. If you want a nice application for 41 a nice DVB application which includes a builtin software MPEG
|
D | ci.txt | 79 This is one of the most commonly asked question. Well a nice question.
|
/linux-4.4.14/include/linux/ |
D | security.h | 95 extern int cap_task_setnice(struct task_struct *p, int nice); 310 int security_task_setnice(struct task_struct *p, int nice); 895 static inline int security_task_setnice(struct task_struct *p, int nice) in security_task_setnice() argument 897 return cap_task_setnice(p, nice); in security_task_setnice()
|
D | workqueue.h | 131 int nice; /* nice level */ member
|
D | sched.h | 2357 extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice); 2367 extern void set_user_nice(struct task_struct *p, long nice); 2379 extern int can_nice(const struct task_struct *p, const int nice);
|
D | lsm_hooks.h | 1462 int (*task_setnice)(struct task_struct *p, int nice);
|
/linux-4.4.14/Documentation/ |
D | cpu-load.txt | 11 avg-cpu: %user %nice %system %iowait %steal %idle
|
D | eisa.txt | 8 has been possible through sysfs, which defines a nice enough set of
|
D | applying-patches.txt | 86 A few other nice arguments for patch are -s which causes patch to be silent 87 except for errors which is nice to prevent errors from scrolling out of the 206 Other nice tools are diffstat, which shows a summary of changes made by a
|
D | robust-futexes.txt | 159 locks to be held at a time. Nevertheless it's nice to know that this
|
D | sysrq.txt | 97 'n' - Used to make RT tasks nice-able
|
D | oops-tracing.txt | 34 the screen with a digital camera - not nice, but better than
|
D | workqueue.txt | 203 served by worker threads with elevated nice level.
|
D | bcache.txt | 2 nice if you could use them as cache... Hence bcache.
|
D | kobject.txt | 58 nice to have in other objects. The C language does not allow for the
|
D | adding-syscalls.txt | 418 For completeness, it's also nice to set up a mapping so that user-mode Linux
|
D | kernel-docs.txt | 286 Description: Very nice 92 pages GPL book on the topic of modules
|
D | kernel-parameters.txt | 4049 functions are at fixed addresses, they make nice
|
/linux-4.4.14/Documentation/usb/ |
D | iuu_phoenix.txt | 62 so sad to have a nice device like the iuu without seeing all color range available.
|
D | CREDITS | 71 quite lousy :). Now I know where to acquire nice USB stuff! 136 - Ric Klaren <ia_ric@cs.utwente.nl> for doing nice
|
D | gadget_multi.txt | 142 [6] To put it in some other nice words, Windows failed to respond to
|
D | WUSB-Design-overview.txt | 171 spec creators have been nice enough to make the message format the same
|
/linux-4.4.14/Documentation/video4linux/bttv/ |
D | PROBLEMS | 39 Would be nice if somebody could get this to work with XFree since
|
D | Sound-FAQ | 27 and other nice features. The msp34xx chips are used by Hauppauge for
|
D | Cards | 42 Very nice card if you only have satellite TV but several tuners connected
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | head.S | 139 wsr a0, ccount # not really necessary, but nice
|
/linux-4.4.14/Documentation/scsi/ |
D | scsi-parameters.txt | 101 There is also a nice 'scsi_logging_level' script in the
|
D | osst.txt | 23 Nevertheless, the OnStream tapes are nice pieces of hardware and therefore 181 platform such an interesting, nice and stable platform.
|
D | ChangeLog.1992-1997 | 713 occur, but a nice message is better than a kernel segfault.
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-bus-fcoe | 107 is present in fcoe_sysfs. It is nice to have so that a
|
D | sysfs-devices-system-cpu | 135 CPUs on the fly. This is a nice method to save battery
|
/linux-4.4.14/Documentation/trace/ |
D | ftrace.txt | 613 # | task: ps-6143 (uid:0 nice:0 policy:0 rt_prio:0) 944 # | task: swapper/0-0 (uid:0 nice:0 policy:0 rt_prio:0) 995 # | task: bash-2042 (uid:0 nice:0 policy:0 rt_prio:0) 1090 # | task: sshd-1991 (uid:0 nice:0 policy:0 rt_prio:0) 1127 # | task: bash-1994 (uid:0 nice:0 policy:0 rt_prio:0) 1240 # | task: ls-2230 (uid:0 nice:0 policy:0 rt_prio:0) 1293 # | task: ls-2269 (uid:0 nice:0 policy:0 rt_prio:0) 1409 # | task: kworker/3:1H-312 (uid:0 nice:-20 policy:0 rt_prio:0) 1427 the kworker with a nice priority of -20 (not very nice), took 1477 # | task: sleep-2389 (uid:0 nice:0 policy:1 rt_prio:5) [all …]
|
D | ftrace-design.txt | 39 nice and simple in the examples.
|
/linux-4.4.14/Documentation/networking/ |
D | radiotap-headers.txt | 49 present. See the comments in ./include/net/ieee80211_radiotap.h for a nice
|
D | arcnet.txt | 19 nice, but after that even FEWER people started writing to me because they 246 oak.oakland.edu:/simtel/msdos/nfs has some nice DOS clients. There
|
D | bonding.txt | 267 it is nice to allow duplicate frames to be delivered. 788 slaves based on the load in that interval. This gives nice lb
|
/linux-4.4.14/arch/parisc/kernel/ |
D | syscall_table.S | 101 ENTRY_SAME(nice)
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | systbl.h | 40 SYSCALL_SPU(nice)
|
/linux-4.4.14/drivers/s390/char/ |
D | Kconfig | 88 gives you a nice name for the system on the service element.
|
/linux-4.4.14/Documentation/x86/ |
D | earlyprintk.txt | 126 …l-all-tasks(I) saK show-backtrace-all-active-cpus(L) show-memory-usage(M) nice-all-RT-tasks(N) pow…
|
/linux-4.4.14/Documentation/device-mapper/ |
D | cache-policies.txt | 126 haven't found a nice general solution.
|
/linux-4.4.14/fs/ |
D | Kconfig.binfmt | 162 You can do other nice things, too. Read the file
|
/linux-4.4.14/security/ |
D | commoncap.c | 860 int cap_task_setnice(struct task_struct *p, int nice) in cap_task_setnice() argument
|
D | security.c | 941 int security_task_setnice(struct task_struct *p, int nice) in security_task_setnice() argument 943 return call_int_hook(task_setnice, 0, p, nice); in security_task_setnice()
|
/linux-4.4.14/Documentation/laptops/ |
D | laptop-mode.txt | 174 this nice and low. This corresponds to the /proc/sys/vm/dirty_background_ratio 266 # amount of dirty memory to dirty_background_ratio. Set this nice and low, 388 # amount of dirty memory to dirty_background_ratio. Set this nice and low,
|
/linux-4.4.14/arch/x86/entry/syscalls/ |
D | syscall_32.tbl | 43 34 i386 nice sys_nice
|
/linux-4.4.14/drivers/cpufreq/ |
D | Kconfig | 8 CPUs on the fly. This is a nice method to save power, because
|
/linux-4.4.14/Documentation/filesystems/ |
D | ramfs-rootfs-initramfs.txt | 223 device) but the separate packaging of initrd (which is nice if you have 275 When debugging a normal root filesystem, it's nice to be able to boot with
|
D | seq_file.txt | 219 So far, we have a nice set of functions which can produce output within the
|
D | proc.txt | 300 nice nice level 1052 The most interesting file is settings. This file contains a nice overview of 1296 - nice: niced processes executing in user mode
|
/linux-4.4.14/Documentation/timers/ |
D | timekeeping.txt | 145 Some architectures may have a limited set of time sources and lack a nice
|
/linux-4.4.14/kernel/trace/ |
D | trace.h | 148 unsigned long nice; member
|
D | trace.c | 1056 max_data->nice = tsk->static_prio - 20 - MAX_RT_PRIO; in __update_max_tr() 2643 from_kuid_munged(seq_user_ns(m), data->uid), data->nice, in print_trace_header()
|
/linux-4.4.14/drivers/android/ |
D | binder.c | 439 static void binder_set_nice(long nice) in binder_set_nice() argument 443 if (can_nice(current, nice)) { in binder_set_nice() 444 set_user_nice(current, nice); in binder_set_nice() 450 current->pid, nice, min_nice); in binder_set_nice()
|
/linux-4.4.14/Documentation/PCI/ |
D | pci.txt | 287 if Mem-Wr-Inval would be nice to have but is not required, call 443 will stop functioning properly. Not a nice situation.
|
/linux-4.4.14/drivers/ide/ |
D | Kconfig | 615 The nice thing about it is that you can mix Ultra/DMA/PIO devices 617 look-a-like to the PIIX4 it should be a nice addition.
|
/linux-4.4.14/Documentation/cgroups/ |
D | unified-hierarchy.txt | 192 nice levels to cgroup weights. This works for some cases but falls 196 other issues. The mapping from nice level to weight isn't obvious or
|
/linux-4.4.14/arch/blackfin/ |
D | Kconfig | 1064 This can give a nice increase in performance, but beware of 1081 This can give a nice increase in performance, but beware of
|
/linux-4.4.14/Documentation/RCU/ |
D | whatisRCU.txt | 201 In addition, the synchronize_rcu() API has the nice property 539 One of the nice things about RCU is that it has extremely simple "toy"
|
D | RTFP.txt | 2528 nice about it is that it actually improves performance a lot even for
|
/linux-4.4.14/Documentation/blockdev/ |
D | paride.txt | 230 pd: pd version 1.0, major 45, cluster 64, nice 0
|
/linux-4.4.14/Documentation/crypto/ |
D | descore-readme.txt | 86 this is a very nice package which implements the most important
|
/linux-4.4.14/Documentation/locking/ |
D | rt-mutex-design.txt | 344 This is really nice to have, since it allows you to only update a variable 588 play nice for those architectures that do have CMPXCHG. By setting this flag
|
/linux-4.4.14/Documentation/filesystems/configfs/ |
D | configfs.txt | 72 for its configuration. Obviously, there will be a nice program that
|
/linux-4.4.14/tools/perf/Documentation/ |
D | perf-script-python.txt | 344 A nice side effect of doing this is that you also then capture the
|
/linux-4.4.14/net/ipv4/ |
D | Kconfig | 533 MIMD congestion control algorithm which has some nice scaling
|
/linux-4.4.14/Documentation/mtd/ |
D | nand_ecc.txt | 160 end filter out the relevant bits. This is pretty nice as it will bring
|
/linux-4.4.14/Documentation/DocBook/ |
D | device-drivers.xml.db | 20 API-task-nice
|
/linux-4.4.14/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 4353 Adam Heath - Made a bunch of nice cleanups to the initialization code, 4358 is doing a real nice job of it. He also noticed and fixed a number of 4364 driver and is doing a nice job of it.
|
/linux-4.4.14/security/smack/ |
D | smack_lsm.c | 2131 static int smack_task_setnice(struct task_struct *p, int nice) in smack_task_setnice() argument
|
/linux-4.4.14/security/selinux/ |
D | hooks.c | 3676 static int selinux_task_setnice(struct task_struct *p, int nice) in selinux_task_setnice() argument
|
/linux-4.4.14/drivers/staging/speakup/ |
D | spkguide.txt | 804 sites. It would be nice if you could cut and paste these urls into your
|
/linux-4.4.14/arch/x86/ |
D | Kconfig | 685 It has a minimal impact on native kernels and gives a nice performance
|