linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* An alternative for tasklist_lock in a module?
@ 2012-01-30 19:03 Arokux B.
  0 siblings, 0 replies; 3+ messages in thread
From: Arokux B. @ 2012-01-30 19:03 UTC (permalink / raw)
  To: linux-kernel

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] 3+ messages in thread
* An alternative for tasklist_lock in a module?
@ 2012-01-31 18:58 Arokux B.
  2012-02-02 18:03 ` Arokux B.
  0 siblings, 1 reply; 3+ messages in thread
From: Arokux B. @ 2012-01-31 18:58 UTC (permalink / raw)
  To: Andrew Morton, Christoph Hellwig; +Cc: linux-kernel

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? Or I'm supposed
not to use this list at all?

Thanks

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

end of thread, other threads:[~2012-02-02 18:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-30 19:03 An alternative for tasklist_lock in a module? Arokux B.
2012-01-31 18:58 Arokux B.
2012-02-02 18:03 ` Arokux B.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).