/linux-master/tools/power/cpupower/bench/ |
H A D | system.c | 77 cpu_set_t cpuset; local 79 CPU_ZERO(&cpuset); 80 CPU_SET(cpu, &cpuset); 84 if (sched_setaffinity(getpid(), sizeof(cpu_set_t), &cpuset) < 0) {
|
/linux-master/tools/testing/selftests/powerpc/benchmarks/ |
H A D | fork.c | 32 cpu_set_t cpuset; local 37 CPU_ZERO(&cpuset); 38 CPU_SET(cpu, &cpuset); 40 if (sched_setaffinity(0, sizeof(cpuset), &cpuset)) { 137 cpu_set_t cpuset; local 149 CPU_ZERO(&cpuset); 150 CPU_SET(cpu, &cpuset); 152 rc = pthread_attr_setaffinity_np(&attr, sizeof(cpu_set_t), &cpuset);
|
/linux-master/tools/testing/selftests/x86/ |
H A D | sysret_ss_attrs.c | 55 cpu_set_t cpuset; local 56 CPU_ZERO(&cpuset); 57 CPU_SET(0, &cpuset); 58 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0)
|
/linux-master/tools/virtio/ringtest/ |
H A D | main.c | 78 cpu_set_t cpuset; local 93 CPU_ZERO(&cpuset); 94 CPU_SET(cpu, &cpuset); 96 ret = pthread_setaffinity_np(self, sizeof(cpu_set_t), &cpuset);
|
/linux-master/arch/mips/kernel/ |
H A D | mips-mt-fpaff.c | 7 #include <linux/cpuset.h> 135 * We must have raced with a concurrent cpuset 137 * cpuset's cpus_allowed
|
/linux-master/arch/powerpc/mm/ |
H A D | numa.c | 21 #include <linux/cpuset.h>
|
/linux-master/arch/s390/kernel/ |
H A D | topology.c | 13 #include <linux/cpuset.h>
|
/linux-master/arch/x86/kernel/ |
H A D | itmt.c | 21 #include <linux/cpuset.h>
|
/linux-master/drivers/base/ |
H A D | arch_topology.c | 17 #include <linux/cpuset.h>
|
/linux-master/fs/proc/ |
H A D | array.c | 83 #include <linux/cpuset.h>
|
H A D | base.c | 80 #include <linux/cpuset.h> 3311 ONE("cpuset", S_IRUGO, proc_cpuset_show), 3660 ONE("cpuset", S_IRUGO, proc_cpuset_show),
|
/linux-master/include/linux/ |
H A D | cgroup_subsys.h | 13 SUBSYS(cpuset)
|
/linux-master/include/linux/sched/ |
H A D | isolation.h | 5 #include <linux/cpuset.h>
|
/linux-master/init/ |
H A D | main.c | 52 #include <linux/cpuset.h>
|
/linux-master/kernel/cgroup/ |
H A D | Makefile | 7 obj-$(CONFIG_CPUSETS) += cpuset.o
|
H A D | cgroup.c | 4 * Based originally on the cpuset system, extracted by Paul Menage 11 * Copyright notices from the original cpuset code: 54 #include <linux/cpuset.h> 310 * - cpuset: tasks will be kept in empty cpusets when hotplug happens and 314 * - cpuset: a task can be moved into an empty cpuset, and again it takes 2326 * This is ugly, but preserves the userspace API for existing cpuset 2327 * users. If someone tries to mount the "cpuset" filesystem, we 2357 .name = "cpuset", 2394 * implementations (e.g. cpuset), als [all...] |
H A D | cpuset.c | 2 * kernel/cpuset.c 27 #include <linux/cpuset.h> 53 * There could be abnormal cpuset configurations for cpu or memory 84 [PERR_INVCPUS] = "Invalid cpu list in cpuset.cpus.exclusive", 87 [PERR_NOTEXCL] = "Cpu list in cpuset.cpus not exclusive", 90 [PERR_CPUSEMPTY] = "cpuset.cpus is empty", 94 struct cpuset { struct 103 * cpuset.cpus and cpuset.mems, and won't be limited by the 107 * in the cpuset [all...] |
/linux-master/kernel/ |
H A D | cpu.c | 37 #include <linux/cpuset.h>
|
H A D | kthread.c | 20 #include <linux/cpuset.h>
|
/linux-master/kernel/power/ |
H A D | process.c | 21 #include <linux/cpuset.h>
|
/linux-master/kernel/sched/ |
H A D | build_utility.c | 24 #include <linux/cpuset.h>
|
H A D | core.c | 42 #include <linux/cpuset.h> 3174 * for groups of tasks (ie. cpuset), so that load balancing is not 3281 * up the cpuset hierarchy until we find a suitable mask. 3304 * task, so override it based on its cpuset hierarchy. 3561 enum { cpuset, possible, fail } state = cpuset; enumerator in enum:__anon483 3590 case cpuset: 3613 if (state != cpuset) { 8386 * We must have raced with a concurrent cpuset update. 8387 * Just reset the cpumask to the cpuset' [all...] |
H A D | deadline.c | 19 #include <linux/cpuset.h> 2689 * keep track of that on its cpuset (for correct bandwidth tracking). 2735 * track of that on its cpuset (for correct bandwidth tracking).
|
/linux-master/mm/ |
H A D | filemap.c | 36 #include <linux/cpuset.h>
|
H A D | hugetlb.c | 17 #include <linux/cpuset.h> 4890 * Only enforce MPOL_BIND policy which overlaps with cpuset policy 5132 * When cpuset is configured, it breaks the strict hugetlb page 5134 * reservation is completely rubbish in the presence of cpuset because 5136 * current cpuset. Application can still potentially OOM'ed by kernel 5137 * with lack of free htlb page in cpuset that the task is in. 5138 * Attempt to enforce strict accounting with cpuset is almost 5139 * impossible (or too ugly) because cpuset is too fluid that 5142 * The change of semantics for shared hugetlb mapping with cpuset is 5146 * semantics that cpuset ha [all...] |