All of lore.kernel.org
 help / color / mirror / Atom feed
* Iterating through all the processes in a module
@ 2012-02-07 17:45 Arokux B.
  2012-02-07 19:17 ` Greg KH
  0 siblings, 1 reply; 8+ messages in thread
From: Arokux B. @ 2012-02-07 17:45 UTC (permalink / raw)
  To: kernelnewbies

Hi,

(for learning purposes) I would like to iterate through all the tasks
in a module and output different information about them. For this task
I need to lock the list of all tasks (need I?). I've seen some example
in the kernel code which lock tasklist_lock. However this symbol
cannot be used by modules. Its export was removed by
c59923a15c12d2b3597af913bf234a0ef264a38b commit.

Is there any other way I can lock the list of tasks then?

Thanks

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-02-23 11:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-07 17:45 Iterating through all the processes in a module Arokux B.
2012-02-07 19:17 ` Greg KH
2012-02-22 13:07   ` Arokux B.
2012-02-22 14:53     ` Greg KH
2012-02-23 11:12       ` Srivatsa Bhat
2012-02-22 15:30     ` Ezequiel García
2012-02-22 16:43       ` Javier Martinez Canillas
2012-02-23 11:07         ` Arokux B.

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.