Hi, Le Mon, 25 Jun 2007 17:35:34 +0530, "srinivasa ds" <srinivasa.ds@xxxxxxxxx> a écrit : > 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?? Why do you need to differentiate them in the first place ? Sincerly, Thomas -- Thomas Petazzoni - thomas.petazzoni@xxxxxxxx http://{thomas,sos,kos}.enix.org - http://www.toulibre.org http://www.{livret,agenda}dulibre.org -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ