Re: How differentiate between kernel threads and Per-CPU thresds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





----- 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
===========================



Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux