Re: [PATCH] Fix race between attach_task and cpuset_exit

From: Paul Jackson
Date: Tue Mar 27 2007 - 04:45:42 EST


> 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@xxxxxxx> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/