hold task lock question

2005-03-14 Thread Coywolf Qi Hunt
Hello,

Should we hold some lock (like task_lock(tsk)) when test tsk->mm == _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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


hold task lock question

2005-03-14 Thread Coywolf Qi Hunt
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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/