Linux system programming : Differences between User Space and Kernel Space
Here we list a few :
>userspace :the processor regulates direct access to hardware
and unauthorized access to memory.
>kernel space : access to the hardware is possible directly , depends upon previledge levels
> both have different address space
>user spece request is translaetd to a system call that lets the processor to switch mode to
enter the kernel space , here kernel threads handle the execution
> exceptions in user space are less fatal .. while kenel space exceptions will kill the process
>kernel space supports module load /unload
>userspace :the processor regulates direct access to hardware
and unauthorized access to memory.
>kernel space : access to the hardware is possible directly , depends upon previledge levels
> both have different address space
>user spece request is translaetd to a system call that lets the processor to switch mode to
enter the kernel space , here kernel threads handle the execution
> exceptions in user space are less fatal .. while kenel space exceptions will kill the process
>kernel space supports module load /unload
Comments
Post a Comment