[uClinux-dev] Has Kernel space and user space?

Weiguang Shi wgshizz at yahoo.com
Mon Mar 5 14:42:51 EST 2007


I'm speaking from a Linux (not uCLinux) point of view. Hope it's just as
relevant, at least for processors with MMUs.

--- Rui.Zhou at nokia.com wrote:

>  hi there,
> 
> As I know, uclinux has flat address memory space,all the applications
> are in the same address space,right?
>
Each process has the idea that it has all the memory. Each process is divided
into kernel and user spaces. Processes are selected to run (scheduling).

Different processes share the kernel (and maybe some other memory if so arranged).
This is the view if you have 4 processes in the system.

           +------+
           |      |
           |  P1  |
           |      |
+----------+------+--------------+
|  P4      |kernel|   P2         |
+----------+------+--------------+
           |      |
           |  P3  |
           |      |
           +------+


> So,does it mean it doesn't differentiate  kernel space and user space?
It does differentiate.

> 
> Some confusion
Understood. I had the same ;-)

Wei

> 
> Regards
> rui
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 



 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index


More information about the uClinux-dev mailing list