actually, the above is wrong - there is no need for task_lock/unlock
around get_task_struct because the count is atomic. Also, where is
put_task_struct() (which should atomic_dec() the same count).
regards,
Tigran
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/