Messages in this thread | | | Date | Thu, 2 Dec 2004 22:48:04 +0100 | From | Sylvain <> | Subject | how to distinguish if a task_struct belong to a kernel thread or a user task? |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |