public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* task_struct reference counting
@ 2004-09-24 14:59 Francesco Casadei
  2004-09-24 19:13 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Francesco Casadei @ 2004-09-24 14:59 UTC (permalink / raw)
  To: Linux Kernel

How one is supposed to handle the reference count of a task_struct from a 
kernel module?

get_task_struct() and put_task_struct() do not work, because the latter can't 
be used from a module, since it calls __put_task_struct(), which is not 
EXPORT_SYMBOL()'d.

I'm running 2.6.8.1.

Thanks in advance for your time,

	Francesco Casadei

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

end of thread, other threads:[~2004-09-24 19:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-24 14:59 task_struct reference counting Francesco Casadei
2004-09-24 19:13 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox