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

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

 



This may not be directly related to the solution, but can someone tell me the difference between the two types of threads that you are talking here.

Thanks
Mahesh
On 7/3/07, srinivasa ds <srinivasa.ds@xxxxxxxxx> wrote:


On 7/3/07, Thomas Petazzoni < thomas.petazzoni@xxxxxxxx> wrote:
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 ?

It was just an Idea, I was just thinking, is there any way to differentiate b/w kernel threads itself. 

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




--
============================
Thanks
  Srinivas DS
===========================


[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