difference between User space and Kernel space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have very much confusion about the difference
between user space and kernel space.
I mean as far as I know when a programme is executed
i.e simple C prog. it contains three sections in
memory such as gobal, data and text section.
There is somthing called user stack and kernel stack
there. whenever a process get the turn to be executed
by the scedular its stack contain is copied to the
kernel stack(correct me if I'm goin wrong.) 
Now when we say we execute a system call it jumps to
the kernel level. Now if we see the it by kernel stack
when the stack frame is executed on which the call to
system call is made, how come it jumps to kernel
mode..
Now related to this, we say kernel code doesnt have
address space, now what does that mean..I mean to
execute the code it has to have some memory on which
to be reside and get executed..

I think I am much confused and making some furious
statements..Please help me out..Really it's burning my
midnight oil..

Thanx in Advance,

Regards,
Jaydeep.


	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux