Re: Kernel Thread and Kernel Module

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

 



Since this is a simple educational exercise, how about having the thread wake up every x seconds and do this? Would get you a bit of experience with timers too.
-r


On 8/4/06, Dinesh Ahuja <mdlinux7@xxxxxxxxxxx> wrote:
Hi All,

I want to use Kernel thread in Kernel module. The
purpose of Kernel thread is to access task list
maintained by Kernel and see if any zombie exists. If
zombie exists, it should notify a administrator about
this.

As per my understanding, I will be able to use
kernel_thread in my module as it is exported by a
static kernel. But to have an access to task list, I
need to export this from kernel and recompile a
kernel. Am I right in my understanding. Please let me
know about my understanding.

Regards
Dinesh




__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

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