PDA

View Full Version : Is it always necessary to hold task_lock when accessing task struct



DBQ
May 31st, 2010, 04:02 AM
Hi, I have a question. In the kernel, is it always necessary to hold task_lock when accessing task_struct of a process?

Thank You!

StephenF
May 31st, 2010, 04:39 PM
Looks like a question for the Linux kernel mailing list.

DBQ
May 31st, 2010, 05:39 PM
I did try posting this on kerneltrap.com, but no matter what I post, its always flagged as spam.