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

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