Linux Cgroups详解(九)
摘要:
cpuset子系统cpuset子系统为cgroup中的任务分配独立CPU(在多核系统)和内存节点。Cpuset子系统为定义了一个叫cpuset的数据结构来管理cgroup中的任务能够使用的cpu和内存节点。Cpuset定义如下:structcpuset{structcgroup_subsys_statecss;unsignedlongflags; /*"unsignedlong"sobitopswork*/cpumask_var_tcpus_allowed; /*CPUsallowedtotasksincpuset*/nodemask_tmems_allowed; /*Me 阅读全文