Searched refs:cpuset (Results 1 - 25 of 67) sorted by path

123

/linux-master/tools/power/cpupower/bench/
H A Dsystem.c77 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 Dfork.c32 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 Dsysret_ss_attrs.c55 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 Dmain.c78 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 Dmips-mt-fpaff.c7 #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 Dnuma.c21 #include <linux/cpuset.h>
/linux-master/arch/s390/kernel/
H A Dtopology.c13 #include <linux/cpuset.h>
/linux-master/arch/x86/kernel/
H A Ditmt.c21 #include <linux/cpuset.h>
/linux-master/drivers/base/
H A Darch_topology.c17 #include <linux/cpuset.h>
/linux-master/fs/proc/
H A Darray.c83 #include <linux/cpuset.h>
H A Dbase.c80 #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 Dcgroup_subsys.h13 SUBSYS(cpuset)
/linux-master/include/linux/sched/
H A Disolation.h5 #include <linux/cpuset.h>
/linux-master/init/
H A Dmain.c52 #include <linux/cpuset.h>
/linux-master/kernel/cgroup/
H A DMakefile7 obj-$(CONFIG_CPUSETS) += cpuset.o
H A Dcgroup.c4 * 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 Dcpuset.c2 * 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 Dcpu.c37 #include <linux/cpuset.h>
H A Dkthread.c20 #include <linux/cpuset.h>
/linux-master/kernel/power/
H A Dprocess.c21 #include <linux/cpuset.h>
/linux-master/kernel/sched/
H A Dbuild_utility.c24 #include <linux/cpuset.h>
H A Dcore.c42 #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 Ddeadline.c19 #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 Dfilemap.c36 #include <linux/cpuset.h>
H A Dhugetlb.c17 #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...]

Completed in 388 milliseconds

123