hi,
I need to the following things ,
= 1)The name of the kernel process that calls schedule when any process ha= s to be blocked.
2)The name of the kernel process that calls the swap= per process i.e. process (0).
regards,
Shweta.
[1] [RealM=]
References
1. 3D"http://clients.=/
Hi,
how are you doing ?
On Monday 13 October 2003 09:52 pm, Shweta Aroskar wrote:
Next LUG meet: 9 Nov 2003 around 4 pm - VJTI
hi,
I need to the following things ,
=0A1)The name of the kernel process that calls schedule when any process has to be blocked.
i dont think there is a kernel process as such, user processes "trap" ( if thats the right word ) and execute kernel code.
2)The name of the kernel process that calls the swapper process i.e. process (0).
i dont think what you have written here is right, swapper is not the process 0 ( i dont think there is a process zero ), although its one of the first processes to be created and by the above logic the kswapd is the user process which makes sure there is enough free physical memory.
this information might not be completly true, you should read "the Linux Kernel" or "Understanding the Linux Kernel". the first book can be fond online.
rahul
--- Rahul Saxena rahul.saxena@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
how about some reading at our own backyard . Glug site contains a lot of docs . enjoy it !
http://db.ilug-bom.org.in/Documentation/tlk-0.8-3.html/kernel/processes.html
With Regards Sachin Rase Unitek Information System .