Skip to contentSkip to conversation

sched.c function

DISCUSSION sounak chakraborty 2 participants 2 messages Mar 24, 2005

lore
Share & tools
lore
#0 lore raw

Dear sir,

I am new to kernel. I want to know which function in
the file sched.c or procedure is called to bring a process for processing in the CPU after context switching.

Thanks in advance,
Sounak

________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/

#1 lore raw
Quoted 6 lines

Dear sir,

I am new to kernel. I want to know which function in the file sched.c or procedure is called to bring a process for processing in the CPU after context switching.

In schedule(), context_switch() is called -- there is not any processing needed, the task state is just copied from memory back into CPU and.. +finished.
There's a finish_task_switch(), though.

Jan Engelhardt