hold task lock question

From: Coywolf Qi Hunt
Date: Mon Mar 14 2005 - 08:19:28 EST


Hello,

Should we hold some lock (like task_lock(tsk)) when test tsk->mm == &init_mm
or any things else like tsk->mm ==0 ? Suppose it's the final test.

Thanks

--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
-
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/