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

RE: Pid lkm

 From: Zwane Mwaikambo [mailto:zwane@xxxxxxx.sz]
> Modules and PIDs bear no relation.
well if the code in a module aren't executed by a process and thereby a pid,
how is this executed then?
How can you call schedule from a module and say go to sleep, if you are not
in process context?

/bin/bash don't have a pid either. but when a process is executing the code
inside /bin/bash, this process has a pid.

Martin Hansen
Student at SDU Sonderborg. www.sdu.dk
Writing final project at Danfoss drives A/S. http://drives.danfoss.com

Tlf: 74 88 54 62