hold task lock question

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


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.


Coywolf Qi Hunt
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/