From: "Shirish Pargaonkar" <shirishpargaonkar@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: valid task structure and wake_up_process
Date: Mon, 14 Apr 2008 13:36:42 -0500 [thread overview]
Message-ID: <4a4634330804141136xcaf098esf02539bf76917781@mail.gmail.com> (raw)
How do I check whether a task is valid before calling wake_up_process() with
that task structure pointer?
I could call wake_up_process with a task structure that is corrupt or incorrect
and that could cause a system crash, so I wanted to do a sanity check of
the task structure.
I do not subscribe to this list, so please copy me you responses.
Regards,
Shirish
next reply other threads:[~2008-04-14 18:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-14 18:36 Shirish Pargaonkar [this message]
2008-04-14 19:11 ` Arjan van de Ven
2008-04-14 20:01 ` Shirish Pargaonkar
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=4a4634330804141136xcaf098esf02539bf76917781@mail.gmail.com \
--to=shirishpargaonkar@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®