[ILUG-BOM]info!

Tapeshwar Nath gtapeshwar@[EMAIL-PROTECTED]
Tue Oct 14 09:27:56 IST 2003


--- Rahul Saxena <rahul.saxena at SoftHome.net> wrote:

> >The name of the kernel process that calls
> schedule when any

[SNIP]

Whenever the time slice or the process needs I/O
operation or is getting blocked then an interrupt
(TRAP) is generated, and the action is taken
accordingly. 
Have a look at the task_struct structure in
kernel/sched.c , that should give some insight.

> >    i.e. process (0).

[SNIP]

AFAIK process(0) is idle task, which is continously
run whenever there is no process in the ready queue.
At this point of time even scheduler is not run. It
gets invoked only when an interrupt has occured.

Regards
Tapesh

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com



More information about the Linuxers mailing list