linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* __put_task_struct
@ 2003-07-16 14:58 Frank Cornelis
  2003-07-17 16:01 ` __put_task_struct Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Cornelis @ 2003-07-16 14:58 UTC (permalink / raw)
  To: linux-kernel


Hi,

When using get/put_task_struct from inside a module, kbuild warns about
__put_task_struct being undefined. Can someone export this function?

Frank.


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

* Re: __put_task_struct
  2003-07-16 14:58 __put_task_struct Frank Cornelis
@ 2003-07-17 16:01 ` Christoph Hellwig
  2003-07-18  6:10   ` __put_task_struct Frank Cornelis
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2003-07-17 16:01 UTC (permalink / raw)
  To: Frank Cornelis; +Cc: linux-kernel

On Wed, Jul 16, 2003 at 04:58:15PM +0200, Frank Cornelis wrote:
> 
> Hi,
> 
> When using get/put_task_struct from inside a module, kbuild warns about
> __put_task_struct being undefined. Can someone export this function?

Why would you use it in a module?


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

* Re: __put_task_struct
  2003-07-17 16:01 ` __put_task_struct Christoph Hellwig
@ 2003-07-18  6:10   ` Frank Cornelis
  0 siblings, 0 replies; 3+ messages in thread
From: Frank Cornelis @ 2003-07-18  6:10 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Frank Cornelis, linux-kernel

On Thu, 17 Jul 2003, Christoph Hellwig wrote:

> On Wed, Jul 16, 2003 at 04:58:15PM +0200, Frank Cornelis wrote:

> > When using get/put_task_struct from inside a module, kbuild warns about
> > __put_task_struct being undefined. Can someone export this function?
> 
> Why would you use it in a module?

To make sure nobody destroys the task_struct while I'm manipulating it
(of course using task_lock/unlock). I'm just using the same 'lock 
strategy' as done in asm/i386/kernel/ptrace.c and I guess that code is 
correct.

Frank.


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

end of thread, other threads:[~2003-07-18  5:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-16 14:58 __put_task_struct Frank Cornelis
2003-07-17 16:01 ` __put_task_struct Christoph Hellwig
2003-07-18  6:10   ` __put_task_struct Frank Cornelis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).