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??
I think you can check the atrributes in task_struct that leads to affinity setting. Another way is by parsing "comm" attribute and see if it contains numbers (0,1, and so on) :) regards, Mulyadi -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ