Re: [PATCH] Fix race between attach_task and cpuset_exit

Paul Jackson
2007-03-27T08:45:28Z

> Yes, but the cpuset is not made invisible to userspace (in filesystem)
> yet. So as cpuset_exit() discovers that cpuset B has zero refcount now
> and blocks on mutex_lock(&manage_mutex) [ to do a check_for_release
> later ], someone could have done a attach_task to that cpuset.

Agreed.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401