Is kernel a seperate process or a set of system program( code )/kernel
which becomes a part of the current process under execution in kernel
mode...
if so then there should be a thread running to do all these booking
keeping operations like , scheduling, memory management., etc..
etc.. ?
> Is kernel a seperate process or a set of system program( code )/kernel
> which becomes a part of the current process under execution in kernel
> mode...
It's implementation dependent. In "micro-kernel" architectures, the
kernel is a bunch of separate processes, and the micro-kernel is a
simple set of message passing routines. But most implementations are
"monolithic kernel", and the kernel is part of all processes, which they
enter into by performing a system call operation.
> if so then there should be a thread running to do all these booking
> keeping operations like , scheduling, memory management., etc..
> etc.. ?
Which case does your "if so" refer to? Many kernels do have threads
running for these things.
--
Barry Margolin, bar...@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
Thanks Barry,
i.e, if the kernel becomes part of current process by executing system
call, then these kernel threads for the book keeping operation
mentioned above becomes part of which process?.,
I think there's typically a system process that all the background
threads are associated with.