All of lore.kernel.org
 help / color / mirror / Atom feed
From: Francesco Casadei <fr.casadei@tiscali.it>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: task_struct reference counting
Date: Fri, 24 Sep 2004 16:59:27 +0200	[thread overview]
Message-ID: <4154364F.6060405@tiscali.it> (raw)

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

             reply	other threads:[~2004-09-24 15:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-24 14:59 Francesco Casadei [this message]
2004-09-24 19:13 ` task_struct reference counting Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4154364F.6060405@tiscali.it \
    --to=fr.casadei@tiscali.it \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.