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

2016-08-11 Thread Stefan Hajnoczi
On Mon, Aug 08, 2016 at 08:29:58PM +0200, Peter Lieven wrote: > Am 08.08.2016 um 12:37 schrieb Stefan Hajnoczi: > > On Tue, Jul 12, 2016 at 06:23:01PM +0200, Peter Lieven wrote: > >> the allocated stack will be adjusted to the minimum supported stack size > >> by the OS and rounded up to be a multi

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

2016-08-08 Thread Peter Lieven
Am 08.08.2016 um 12:37 schrieb Stefan Hajnoczi: > On Tue, Jul 12, 2016 at 06:23:01PM +0200, 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

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

2016-08-08 Thread Stefan Hajnoczi
On Tue, Jul 12, 2016 at 06:23:01PM +0200, 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 ove

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

2016-07-12 Thread Eric Blake
On 07/12/2016 10:23 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. > > Signe

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

2016-07-12 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. Signed-off-by: Peter Lieven --- include/sysemu/os-posix.h |