The linux/shed.h contains the following forward declaration:
extern rwlock_t tasklist_lock;
But where is tasklist_lock defined?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
tasklist_lockis references insched.h, and defined infork.cI use “gid” as a tool to spelunk through the kernel source. I simply:
1) Install idutils
2) Run “
mkid” (to generate a searchable index) from the root of my kernel source3) run “
gid MYVARIABLE | less” any time I want to look something up“idutils” is freely available on most Linux distros, and on the Internet.
Here’s the documentation:
http://www.gnu.org/software/idutils/manual/idutils.html