RE: Pid lkm

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

 



On Wed, 29 May 2002, Hansen Martin wrote:

> well if the code in a module aren't executed by a process and thereby a pid,
> how is this executed then?

Yes a lot of kernel code gets called on behalf of a userland process, 
however that does not give the kernel code a process id. In fact kernel 
code gets called for things like interrupts too.

Don't consider it as kernel code with process ids, but rather as kernel 
code executing on behalf of the calling "thread of execution". Be it 
interrupt context, user context, kernel context etc etc...

Regards,
	Zwane Mwaikambo
-- 
http://function.linuxpower.ca
		

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