Re: kernel thread

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

 



On 12/14/05, Saumender Dash <sdash@xxxxxxxxxxxxxxxxxxx> wrote:
>
> >I want to distinguish between a kernel thread and a normal user process in
> my KLM.
>
> I got it, If the mm field in the of the process is null then it's a kernel
> thread.
>

Yes, but keep in mind you can't say that mm of the kernel thread is
always NULL as if the kernel thread won't call daemonize then the mm
will be there (some one CMIIW) .

> ******************************************************************************************
> Network Programs is a SEI-CMM Level 5 & ISO 9001:2000 Certified Company
> ******************************************************************************************
> The information contained in this communication (including any attachments)
> is intended solely for the use of the individual or entity to whom it is
> addressed and others authorized to receive it. It may contain confidential
> or legally privileged information. If you are not the intended recipient you
> are hereby notified that any disclosure, copying, distribution or taking any
> action in reliance on the contents of this information is strictly
> prohibited and may be unlawful. If you have received this communication in
> error, please notify us immediately by responding to this email and delete
> it from your system. Network Programs is neither liable for the proper and
> complete transmission of the information contained in this communication nor
> for any delay in its receipt.
> *******************************************************************************************

And please do get rid of this disclaimer :)

--
Fawad Lateef

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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