Re: Allocating and switching to larger stack during syscall

2018-02-03 Thread Waldek Kozaczuk
I actually managed to modify entry.S to call C function to set up large stack lazily and it works. I will be sending patch soon. On Friday, February 2, 2018 at 4:43:07 PM UTC-5, Waldek Kozaczuk wrote: > > I am trying to implement the idea that Nadav proposed to save memory when > implementing

Allocating and switching to larger stack during syscall

2018-02-02 Thread Waldek Kozaczuk
I am trying to implement the idea that Nadav proposed to save memory when implementing callstack switch during syscall. Here is excerpt from our conversation: " > > I was also wondering that existing implementation of syscall stack makes > every app thread allocate it upon creation eagerly