Recently, I started learning about linux and there is a series of question, I am going to ask.
While reading, I encountered a term 'kernel stack' and I am not able to understand why does the linux kernel use kernel stack for each process ?
when a process is executing, why does it happen that the esp register has address of top of
the kernel stack of the process and why not the address of top of the user mode stack of the respective process ?