Results 1 to 1 of 1
Hi,
I am new to the kernel development area.I just want to know:
1. What is the difference between user mode stack and kernel mode stack (except that one is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-02-2012 #1Just Joined!
- Join Date
- Jan 2012
- Posts
- 1
Kernel Stack vs User Stack
Hi,
I am new to the kernel development area.I just want to know:
1. What is the difference between user mode stack and kernel mode stack (except that one is accessed while user mode and other in kernel mode) ?
2. Does each procees/thread in Linux has a user mode stack and a kernel mode stack or Each process has its own user mode stack and there is only one kernel mode stack that is shared by all processes/threads?
I was reading that during creation of a process clone() system call creates a kernel stack. Then when the user stack is created. How it comes into the picture? I am puzzled


Reply With Quote
