[Tarantool-patches] [PATCH v6 2/2] fiber: leak slab if unable to bring prots back
Cyrill Gorcunov
gorcunov at gmail.com
Thu Feb 13 11:20:39 MSK 2020
On Thu, Feb 13, 2020 at 01:08:45AM +0100, Vladislav Shpilevoy wrote:
> > - diag_log();
> > + say_syserror("fiber: Can't put guard page to slab. "
> > + "Leak %zu bytes", (size_t)fiber->stack_size);
>
> This behaviour actually should be testable, no? You could not test
> diag, but you should be able to detect a leak. Using slab_cache_used(),
> for example. Before and after a test.
Will try, thanks!
More information about the Tarantool-patches
mailing list