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