Re: [Qemu-devel] [PATCH V7 1/6] oslib-posix: add helpers for stack alloc and free

2016-08-23 Thread Richard Henderson
On 08/23/2016 07:21 AM, Peter Lieven wrote: > the allocated stack will be adjusted to the minimum supported stack size > by the OS and rounded up to be a multiple of the system pagesize. > Additionally an architecture dependent guard page is added to the stack > to catch stack overflows. The

[Qemu-devel] [PATCH V7 1/6] oslib-posix: add helpers for stack alloc and free

2016-08-23 Thread Peter Lieven
the allocated stack will be adjusted to the minimum supported stack size by the OS and rounded up to be a multiple of the system pagesize. Additionally an architecture dependent guard page is added to the stack to catch stack overflows. The memory for the guard page is deductated from stack memory