* how to distinguish if a task_struct belong to a kernel thread or a user task?
@ 2004-12-02 21:48 Sylvain
0 siblings, 0 replies; only message in thread
From: Sylvain @ 2004-12-02 21:48 UTC (permalink / raw)
To: Linux Kernel
Hi all,
I have little question while doing some kernel implementation.
How to distinguish if a task_struct belongs to a kernel thread or 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] only message in thread
only message in thread, other threads:[~2004-12-02 21:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-02 21:48 how to distinguish if a task_struct belong to a kernel thread or a user task? Sylvain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox