On Fri, 2009-09-11 at 15:15 +0800, Lai Jiangshan wrote: > > I have different concept. cpuset_cpus_allowed() is not called at atomic > context nor non-preemptable context nor other critical context. > So it should be allowed to use mutexs. That's what I think.
It hardly does any work at all, so why bother with a mutex?