Home
last modified time | relevance | path

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

/linux-3.4.99/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.txt276 For NUMA, migration is an another special case. To do easy test, cpuset
279 mount -t cgroup -o cpuset none /opt/cpuset
281 mkdir /opt/cpuset/01
282 echo 1 > /opt/cpuset/01/cpuset.cpus
283 echo 0 > /opt/cpuset/01/cpuset.mems
284 echo 1 > /opt/cpuset/01/cpuset.memory_migrate
285 mkdir /opt/cpuset/02
286 echo 1 > /opt/cpuset/02/cpuset.cpus
287 echo 1 > /opt/cpuset/02/cpuset.mems
288 echo 1 > /opt/cpuset/02/cpuset.memory_migrate
[all …]
Dcgroups.txt113 CPU : "Top cpuset"
305 subsystem, this is the case for the cpuset.
311 the "cpuset" cgroup subsystem, the steps are something like:
314 2) mkdir /sys/fs/cgroup/cpuset
315 3) mount -t cgroup -ocpuset cpuset /sys/fs/cgroup/cpuset
320 /sys/fs/cgroup/cpuset/tasks file for that cgroup.
328 mkdir /sys/fs/cgroup/cpuset
329 mount -t cgroup cpuset -ocpuset /sys/fs/cgroup/cpuset
330 cd /sys/fs/cgroup/cpuset
333 /bin/echo 2-3 > cpuset.cpus
[all …]
/linux-3.4.99/kernel/
Dcpuset.c80 struct cpuset;
91 struct cpuset { struct
98 struct cpuset *parent; /* my parent */ argument
113 static inline struct cpuset *cgroup_cs(struct cgroup *cont) in cgroup_cs()
116 struct cpuset, css); in cgroup_cs()
120 static inline struct cpuset *task_cs(struct task_struct *task) in task_cs()
123 struct cpuset, css); in task_cs()
151 static inline int is_cpu_exclusive(const struct cpuset *cs) in is_cpu_exclusive()
156 static inline int is_mem_exclusive(const struct cpuset *cs) in is_mem_exclusive()
161 static inline int is_mem_hardwall(const struct cpuset *cs) in is_mem_hardwall()
[all …]
DMakefile61 obj-$(CONFIG_CPUSETS) += cpuset.o
/linux-3.4.99/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-3.4.99/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-3.4.99/include/linux/
Dcgroup_subsys.h11 SUBSYS(cpuset)
/linux-3.4.99/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
229 nodes allowed by the task's cpuset, then the memory policy is
233 For example, consider a task that is attached to a cpuset with
235 the cpuset's mems change to 3-5, the Interleave will now occur
275 For example, consider a task that is attached to a cpuset with
277 MPOL_F_RELATIVE_NODES. If the cpuset's mems change to 3-7, the
278 interleave now occurs over nodes 3,5-6. If the cpuset's mems
284 disregard their current, actual cpuset imposed memory placement
288 set of memory nodes allowed by the task's cpuset, as that may
437 nodes whose memories are allowed by the cpuset constraints. If the nodemask
[all …]
Dhugetlbpage.txt220 interleaving over all nodes in the system or cpuset.
223 the resource limits of any cpuset in which the task runs. Thus, there will
224 be no way for a task with non-default policy running in a cpuset with a
225 subset of the system nodes to allocate huge pages outside the cpuset
226 without first moving to a cpuset that contains all of the desired nodes.
253 resources exist, regardless of the task's mempolicy or cpuset constraints.
/linux-3.4.99/Documentation/filesystems/
Dtmpfs.txt100 if any, modified by the calling task's cpuset constraints
Dproc.txt1333 was called. If it is due to the memory assigned to the allocating task's cpuset
1335 cpuset. If it is due to a mempolicy's node(s) being exhausted, the allowed
1352 same system, cpuset, mempolicy, or memory controller resources to use at least
/linux-3.4.99/Documentation/
Dcpu-hotplug.txt227 The new CPU is chosen from each process' current cpuset, which may be
Dkernel-parameters.txt1180 "isolated" CPU via the CPU affinity syscalls or cpuset.
/linux-3.4.99/kernel/sched/
Dcore.c1267 enum { cpuset, possible, fail } state = cpuset; in select_fallback_rq() enumerator
1291 case cpuset: in select_fallback_rq()
1309 if (state != cpuset) { in select_fallback_rq()
/linux-3.4.99/Documentation/sysctl/
Dvm.txt698 node unless explicitly overridden by memory policies or cpuset
/linux-3.4.99/init/
DKconfig628 bool "Include legacy /proc/<pid>/cpuset file"
/linux-3.4.99/
DMAINTAINERS1992 W: http://www.bullopensource.org/cpuset/
1996 F: include/linux/cpuset.h
1997 F: kernel/cpuset.c