Re: What is this function doing

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

 



On Sat, 30 Oct 2004 19:28:11 -0400, Brandon Niemczyk
<bniemczyk@xxxxxxxxx> wrote:

> I'm also a newbie, but It looks to me like it's just finding the init
> process and then printing some info about it.  Is this actually in the
> kernel or is it part of a tutorial of sorts?

It's an Intel specific module which displays some statistics as you
mentioned above. By accessing the thread_struct in this way it's
assuming this running on an x86 box. It's also possibly badly written
since it doesn't need to locate the init_task in this fashion.

Jon.

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