From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp3.mail.ru (smtp3.mail.ru [94.100.179.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id E7D23469719 for ; Thu, 13 Feb 2020 03:07:16 +0300 (MSK) References: <20200206123114.8010-1-gorcunov@gmail.com> From: Vladislav Shpilevoy Message-ID: <38ac5807-d262-ecb0-bec8-3e3bb8c8e156@tarantool.org> Date: Thu, 13 Feb 2020 01:07:15 +0100 MIME-Version: 1.0 In-Reply-To: <20200206123114.8010-1-gorcunov@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH v6 0/2] fiber: Handle stack madvise/mprotect errors List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cyrill Gorcunov , tml Hi! Thanks for the patchset! On 06/02/2020 13:31, Cyrill Gorcunov wrote: > Sasha, I put your reviewed-by tag, please let me know if > you're not agreed. > > Vlad, take a look please once time permit. > > v6 (by @alexander.turenko): > - polish unit test (style and results) > - fix bracing in core/fiber.c > > issue https://github.com/tarantool/tarantool/issues/4722 > branch gorcunov/gh-4722-mprotect-diag-error-6 Could you please put a link at the branch next time? Usually link is very useful when you can just click and look whether CI is ok. > Cyrill Gorcunov (2): > fiber: set diagnostics at madvise/mprotect failure > fiber: leak slab if unable to bring prots back > > src/lib/core/errinj.h | 2 + > src/lib/core/fiber.c | 93 +++++++++++++++++++----- > test/box/errinj.result | 136 ++++++++++++++++++----------------- > test/unit/CMakeLists.txt | 4 ++ > test/unit/fiber_stack.cc | 83 +++++++++++++++++++++ > test/unit/fiber_stack.result | 7 ++ > test/unit/suite.ini | 2 +- > 7 files changed, 242 insertions(+), 85 deletions(-) > create mode 100644 test/unit/fiber_stack.cc > create mode 100644 test/unit/fiber_stack.result >