Home
last modified time | relevance | path

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

/linux-4.4.14/Documentation/cgroups/
Dcpusets.txt45 the resources within a task's current cpuset. They form a nested
56 policy, are both filtered through that task's cpuset, filtering out any
57 CPUs or Memory Nodes not in that cpuset. The scheduler will not
64 cpusets and which CPUs and Memory Nodes are assigned to each cpuset,
65 specify and query to which cpuset a task is assigned, and list the
66 task pids assigned to a cpuset.
100 The kernel cpuset patch provides the minimum essential kernel
121 - Each task in the system is attached to a cpuset, via a pointer
124 allowed in that task's cpuset.
126 those Memory Nodes allowed in that task's cpuset.
[all …]
Dmemcg_test.txt138 For NUMA, migration is an another special case. To do easy test, cpuset
141 mount -t cgroup -o cpuset none /opt/cpuset
143 mkdir /opt/cpuset/01
144 echo 1 > /opt/cpuset/01/cpuset.cpus
145 echo 0 > /opt/cpuset/01/cpuset.mems
146 echo 1 > /opt/cpuset/01/cpuset.memory_migrate
147 mkdir /opt/cpuset/02
148 echo 1 > /opt/cpuset/02/cpuset.cpus
149 echo 1 > /opt/cpuset/02/cpuset.mems
150 echo 1 > /opt/cpuset/02/cpuset.memory_migrate
[all …]
Dcgroups.txt113 CPU : "Top cpuset"
301 This flag only affects the cpuset controller. If the clone_children
302 flag is enabled (1) in a cgroup, a new cpuset cgroup will copy its
309 the "cpuset" cgroup subsystem, the steps are something like:
312 2) mkdir /sys/fs/cgroup/cpuset
313 3) mount -t cgroup -ocpuset cpuset /sys/fs/cgroup/cpuset
315 the /sys/fs/cgroup/cpuset virtual file system.
318 /sys/fs/cgroup/cpuset tasks file for that cgroup.
326 mkdir /sys/fs/cgroup/cpuset
327 mount -t cgroup cpuset -ocpuset /sys/fs/cgroup/cpuset
[all …]
Dunified-hierarchy.txt31 5-4-2. cpuset
502 5-4-2. cpuset
507 - A task can be moved into an empty cpuset, and again it takes on the
/linux-4.4.14/kernel/
Dcpuset.c74 struct cpuset { struct
134 static inline struct cpuset *css_cs(struct cgroup_subsys_state *css) in css_cs() argument
136 return css ? container_of(css, struct cpuset, css) : NULL; in css_cs()
140 static inline struct cpuset *task_cs(struct task_struct *task) in task_cs()
145 static inline struct cpuset *parent_cs(struct cpuset *cs) in parent_cs()
176 static inline bool is_cpuset_online(const struct cpuset *cs) in is_cpuset_online()
181 static inline int is_cpu_exclusive(const struct cpuset *cs) in is_cpu_exclusive()
186 static inline int is_mem_exclusive(const struct cpuset *cs) in is_mem_exclusive()
191 static inline int is_mem_hardwall(const struct cpuset *cs) in is_mem_hardwall()
196 static inline int is_sched_load_balance(const struct cpuset *cs) in is_sched_load_balance()
[all …]
DMakefile60 obj-$(CONFIG_CPUSETS) += cpuset.o
/linux-4.4.14/tools/testing/selftests/x86/
Dsysret_ss_attrs.c63 cpu_set_t cpuset; in main() local
64 CPU_ZERO(&cpuset); in main()
65 CPU_SET(0, &cpuset); in main()
66 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) in main()
Dldt_gdt.c370 cpu_set_t cpuset; in threadproc() local
371 CPU_ZERO(&cpuset); in threadproc()
372 CPU_SET(1, &cpuset); in threadproc()
373 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) in threadproc()
419 cpu_set_t cpuset; in do_multicpu_tests() local
424 CPU_ZERO(&cpuset); in do_multicpu_tests()
425 CPU_SET(1, &cpuset); in do_multicpu_tests()
426 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { in do_multicpu_tests()
431 CPU_ZERO(&cpuset); in do_multicpu_tests()
432 CPU_SET(0, &cpuset); in do_multicpu_tests()
[all …]
/linux-4.4.14/tools/power/cpupower/bench/
Dsystem.c89 cpu_set_t cpuset; in set_cpu_affinity() local
91 CPU_ZERO(&cpuset); in set_cpu_affinity()
92 CPU_SET(cpu, &cpuset); in set_cpu_affinity()
96 if (sched_setaffinity(getpid(), sizeof(cpu_set_t), &cpuset) < 0) { in set_cpu_affinity()
/linux-4.4.14/tools/perf/bench/
Dfutex.h95 cpu_set_t *cpuset) in pthread_attr_setaffinity_np() argument
99 cpuset = cpuset; in pthread_attr_setaffinity_np()
/linux-4.4.14/Documentation/x86/x86_64/
Dfake-numa-for-cpusets40 [root@xroads /]# mount -t cpuset none exampleset
46 Now this cpuset, 'ddset', will only allowed access to fake nodes 0 and 1 for
57 /proc/meminfo between the restricted cpuset case above and the unrestricted
59 cpuset):
/linux-4.4.14/include/linux/
Dcgroup_subsys.h18 SUBSYS(cpuset)
/linux-4.4.14/Documentation/vm/
Dpage_migration40 move pages when a task is moved to another cpuset (See
43 a new cpuset then also all its pages are moved with it so that the
45 of processes in a cpuset are moved if the allowed memory nodes of a
46 cpuset are changed.
Dnuma_memory_policy.txt16 both cpusets and policies are applied to a task, the restrictions of the cpuset
228 nodes allowed by the task's cpuset, then the memory policy is
232 For example, consider a task that is attached to a cpuset with
234 the cpuset's mems change to 3-5, the Interleave will now occur
274 For example, consider a task that is attached to a cpuset with
276 MPOL_F_RELATIVE_NODES. If the cpuset's mems change to 3-7, the
277 interleave now occurs over nodes 3,5-7. If the cpuset's mems
283 disregard their current, actual cpuset imposed memory placement
287 set of memory nodes allowed by the task's cpuset, as that may
436 nodes whose memories are allowed by the cpuset constraints. If the nodemask
[all …]
Dhugetlbpage.txt221 interleaving over all nodes in the system or cpuset.
224 the resource limits of any cpuset in which the task runs. Thus, there will
225 be no way for a task with non-default policy running in a cpuset with a
226 subset of the system nodes to allocate huge pages outside the cpuset
227 without first moving to a cpuset that contains all of the desired nodes.
255 resources exist, regardless of the task's mempolicy or cpuset constraints.
/linux-4.4.14/Documentation/scheduler/
Dsched-deadline.txt421 and the cpuset mechanism is used to implement partitioned scheduling (see
434 through the cpuset facility (Documentation/cgroups/cpusets.txt).
442 mkdir /dev/cpuset
443 mount -t cgroup -o cpuset cpuset /dev/cpuset
444 cd /dev/cpuset
446 echo 0 > cpu0/cpuset.cpus
447 echo 0 > cpu0/cpuset.mems
448 echo 1 > cpuset.cpu_exclusive
449 echo 0 > cpuset.sched_load_balance
450 echo 1 > cpu0/cpuset.cpu_exclusive
[all …]
/linux-4.4.14/Documentation/
Dgdb-kernel-debugging.txt96 [ 0.000000] Initializing cgroup subsys cpuset
Dcpu-hotplug.txt251 The new CPU is chosen from each process' current cpuset, which may be
Dkernel-parameters.txt1658 "isolated" CPU via the CPU affinity syscalls or cpuset.
/linux-4.4.14/Documentation/filesystems/
Dtmpfs.txt100 if any, modified by the calling task's cpuset constraints
Dproc.txt1454 was called. If it is due to the memory assigned to the allocating task's cpuset
1456 cpuset. If it is due to a mempolicy's node(s) being exhausted, the allowed
1473 same system, cpuset, mempolicy, or memory controller resources to use at least
/linux-4.4.14/kernel/sched/
Dcore.c1551 enum { cpuset, possible, fail } state = cpuset; in select_fallback_rq() enumerator
1585 case cpuset: in select_fallback_rq()
1604 if (state != cpuset) { in select_fallback_rq()
/linux-4.4.14/Documentation/sysctl/
Dvm.txt812 node unless explicitly overridden by memory policies or cpuset
/linux-4.4.14/init/
DKconfig992 bool "Include legacy /proc/<pid>/cpuset file"
/linux-4.4.14/
DMAINTAINERS2967 W: http://www.bullopensource.org/cpuset/
2972 F: include/linux/cpuset.h
2973 F: kernel/cpuset.c