[PATCH] lib/core/fiber: Initialize stack_watermark where appropriate
Cyrill Gorcunov
gorcunov at gmail.com
Mon Mar 18 21:07:06 MSK 2019
On Mon, Mar 18, 2019 at 08:52:46PM +0300, Vladimir Davydov wrote:
> On Mon, Mar 18, 2019 at 08:23:52PM +0300, Cyrill Gorcunov wrote:
> > The stack_watermark member declared with HAVE_MADV_DONTNEED wrap,
> > so need to guard it here the same way.
>
> Yep, overlooked it, my bad. I also lost fiber_stack_recycle() stub.
> Weird, but it did compile on OS X as is. Looks like OS X supports
> MADV_DONTNEED after all :)
>
> Applied to 2.1 and 1.10 with fiber_stack_recycle() fix squashed.
> Thanks!
Thanks! It was actually my nit in first place ;)
More information about the Tarantool-patches
mailing list