[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080414121105.5f9e5482@laptopd505.fenrus.org>
Date: Mon, 14 Apr 2008 12:11:05 -0700
From: Arjan van de Ven <arjan@...radead.org>
To: "Shirish Pargaonkar" <shirishpargaonkar@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: valid task structure and wake_up_process
On Mon, 14 Apr 2008 13:36:42 -0500
"Shirish Pargaonkar" <shirishpargaonkar@...il.com> wrote:
> How do I check whether a task is valid before calling
> wake_up_process() with that task structure pointer?
Hi,
how did you get the pointer you got?
That part (the guy who gave you the pointer) should have taken a reference on the task basically,
or otherwise locked against the task going away.
In giving you advice it would help tremendously if you actually posted your code...
--
If you want to reach me at my work email, use arjan@...ux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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