On 16-01-08 13:56, srinivas bakki wrote:
No they aren't. The stack _is_ switched though.
And how do the arguments reach the kernel stack from the user space if
they were supposed to be fetched from the stack ?
The flow of things is that the arguments survive the actual context switch
in registers and are then pushed onto the kernel stack by the common syscall
entry code in entry.S -- specifically, by the SAVE_ALL macro.
Rene.
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ