[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPNxggbTGeDE34kKPEza4iedJ+ZLOgw+mn9mir6N=fx9DpXcfg@mail.gmail.com>
Date: Tue, 31 Jan 2012 19:58:19 +0100
From: "Arokux B." <arokux@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Christoph Hellwig <hch@....de>
Cc: linux-kernel@...r.kernel.org
Subject: An alternative for tasklist_lock in a module?
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists