[PATCH] Implement switch to separate SYSCALL call stack

2018-02-04 Thread Waldemar Kozaczuk
This patch implements separate syscall call stack needed when runtimes like Golang use SYSCALL instruction to make system call. More specifically each application thread pre-alllocates "tiny" (1024 bytes deep) syscall call stack. When SYSCALL instruction is called the call stack is switched to

Re: [PATCH] Implement switch to separate SYSCALL call stack

2018-02-04 Thread Waldek Kozaczuk
I am expecting this patch will need some tweaking but I think it fundamentally implements SYSCALL call stack switch. I have tested in using my golang working branch. First of all I am assembly novice so I am not sure if I have not messed some stuff in entry.S. For example I am not sure I have