public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* distinguish kernel thread / user task
@ 2004-12-03 17:16 Sylvain
  2004-12-03 19:24 ` Brian Gerst
  0 siblings, 1 reply; 5+ messages in thread
From: Sylvain @ 2004-12-03 17:16 UTC (permalink / raw)
  To: Linux Kernel

Hi all,

I have little question while doing some kernel implementation.
How can I distinguish whether a task_struct is actually kernel thread
or mere user task?

My idea was to look at task_struct "mm" field to discriminate them,
but that was wrong...

Thanks,

Sylvain

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

end of thread, other threads:[~2004-12-03 21:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-03 17:16 distinguish kernel thread / user task Sylvain
2004-12-03 19:24 ` Brian Gerst
2004-12-03 20:15   ` Sylvain
2004-12-03 20:50     ` Brian Gerst
2004-12-03 21:32       ` Sylvain

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