On 2013/6/6 3:45, Tejun Heo wrote:
> Hello, Li.
>
> On Wed, Jun 05, 2013 at 05:16:24PM +0800, Li Zefan wrote:
>> @@ -1425,7 +1435,6 @@ static void cpuset_attach(struct cgroup *cgrp, struct
>> cgroup_taskset *tset)
>> * Change mm, possibly for multiple threads in a threadgroup. This is
>>
Hello, Li.
On Wed, Jun 05, 2013 at 05:16:24PM +0800, Li Zefan wrote:
> @@ -1425,7 +1435,6 @@ static void cpuset_attach(struct cgroup *cgrp, struct
> cgroup_taskset *tset)
>* Change mm, possibly for multiple threads in a threadgroup. This is
>* expensive and may sleep.
>*/
When we update a cpuset's mems_allowed and thus update tasks'
mems_allowed, it's required to pass the old mems_allowed and new
mems_allowed to cpuset_migrate_mm().
Currently we save old mems_allowed in a temp local variable before
changing cpuset->mems_allowed. This patch changes it by saving
old
3 matches
Mail list logo