Traversing task list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
few days ago, I asked you for a method to traverse the task list "atomically", and some of you pointed me out to read_lock(&tasklist_lock), which I found it the right solution. But I forgot to mention I am outside the kernel, I am writing a kernel module I mean. And those symbols aren't exported.
After some searches, I found rcu_read_lock() could do the job, and now I want to confirm this, please.

Thank you very much.
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux