From: Alexander Turenko <alexander.turenko@tarantool.org>
To: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: tml <tarantool-patches@dev.tarantool.org>
Subject: Re: [Tarantool-patches] [PATCH v5 0/2] fiber: Handle stack madvise/mprotect errors
Date: Thu, 6 Feb 2020 14:20:28 +0300 [thread overview]
Message-ID: <20200206112028.tonvbqhiqi2oppcl@tkn_work_nb> (raw)
In-Reply-To: <20200205220624.8764-1-gorcunov@gmail.com>
LGTM (except several minor points; fixes for them are obvious and it is
not necessary to re-review the patchset with me).
Please, fix those points and send the patch to Vlad for the second
review.
WBR, Alexander Turenko.
On Thu, Feb 06, 2020 at 01:06:22AM +0300, Cyrill Gorcunov wrote:
> issue https://github.com/tarantool/tarantool/issues/4722
> branch gorcunov/gh-4722-mprotect-diag-error-5
>
> In v5:
> - merged errinj together with test into the patch itself
> - on guard page restore we print error and continue instead
> of immeadiate exit
>
> Cyrill Gorcunov (2):
> fiber: use diag_ logger in fiber_madvise/mprotect failures
> fiber: leak slab if unable to bring prots back
>
> src/lib/core/errinj.h | 2 +
> src/lib/core/fiber.c | 92 +-
> test/box/errinj.result | 2616 ++++++++++++++++++----------------
> test/unit/CMakeLists.txt | 4 +
> test/unit/fiber_stack.cc | 83 ++
> test/unit/fiber_stack.result | 6 +
> test/unit/suite.ini | 2 +-
> 7 files changed, 1530 insertions(+), 1275 deletions(-)
> create mode 100644 test/unit/fiber_stack.cc
> create mode 100644 test/unit/fiber_stack.result
>
> --
> 2.20.1
>
prev parent reply other threads:[~2020-02-06 11:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-05 22:06 Cyrill Gorcunov
2020-02-05 22:06 ` [Tarantool-patches] [PATCH v5 1/2] fiber: use diag_ logger in fiber_madvise/mprotect failures Cyrill Gorcunov
2020-02-06 11:10 ` Alexander Turenko
2020-02-05 22:06 ` [Tarantool-patches] [PATCH v5 2/2] fiber: leak slab if unable to bring prots back Cyrill Gorcunov
2020-02-06 11:10 ` Alexander Turenko
2020-02-06 11:20 ` Alexander Turenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200206112028.tonvbqhiqi2oppcl@tkn_work_nb \
--to=alexander.turenko@tarantool.org \
--cc=gorcunov@gmail.com \
--cc=tarantool-patches@dev.tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH v5 0/2] fiber: Handle stack madvise/mprotect errors' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox