|
|
|
|
|
by bogomipz
2976 days ago
|
|
>"x86 requires some kernel memeory to be mapped always, for example the stack for syscall and trap handlers." Can you elaborate on what you mean be x86 requires that the kernel stack always be mapped into a process address space in order for system calls? The kernel always knows where a process's kernel stack is located as there is a pointer to it in the user process's task_struct. It is only in kernel mode that the kernel switches the CPU's stack pointer to use that that processes kernel stack. |
|