----- Original Message ----
From: srinivasa ds <srinivasa.ds@xxxxxxxxx>
To: kernelnewbies@xxxxxxxxxxxx
Sent: Monday, June 25, 2007 5:35:34 PM
Subject: How differentiate between kernel threads and Per-CPU thresds
Hi
I have task_struct of one process and I need to find out whether that process is a kernel thread(like pdflush etc) or Per-CPU kernel thread like(like migration/0 or migration/1). Is there any way to do that??
Thanks in advance.
a sheer guess ...
task_struct-> mm->useres==0;
CMIIW
regards
kanishk
--
============================
Thanks
Srinivas DS
===========================
From: srinivasa ds <srinivasa.ds@xxxxxxxxx>
To: kernelnewbies@xxxxxxxxxxxx
Sent: Monday, June 25, 2007 5:35:34 PM
Subject: How differentiate between kernel threads and Per-CPU thresds
Hi
I have task_struct of one process and I need to find out whether that process is a kernel thread(like pdflush etc) or Per-CPU kernel thread like(like migration/0 or migration/1). Is there any way to do that??
Thanks in advance.
a sheer guess ...
task_struct-> mm->useres==0;
CMIIW
regards
kanishk
--
============================
Thanks
Srinivas DS
===========================
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.