On 2013/03/18 11:19, Osier Yang wrote: > On 2013年03月18日 10:27, Gao feng wrote: >> On 2013/03/15 17:24, Osier Yang wrote: >>> On 2013年03月01日 14:52, Gao feng wrote: >>>> This patch adds cpuset cgroup support for LXC. >>>> also set cpuset cgroup before setting cpu >>>> affinity and numa policy. >>> >>> Any special reason to move lxcSetupCgroup before the CPU affinity >>> and NUMA setttings? >>> >> >> Through it has no functional difference which step is done first. >> But consider sched_setaffinity will be affected by cpuset cgroup, > > Not sure if this solve the affection. As sched_setaffinity after > the cgroup setting might fail? But this is the history problem, > and we don't have a way yet. > Yes, set cpu cgroup before sched_setaffinity may cause libvirt lxc start failed. I will drop this change. Thanks! -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list