From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id F32E0469719 for ; Fri, 14 Feb 2020 16:22:24 +0300 (MSK) Received: by mail-lj1-f194.google.com with SMTP id x7so10730153ljc.1 for ; Fri, 14 Feb 2020 05:22:24 -0800 (PST) From: Cyrill Gorcunov Date: Fri, 14 Feb 2020 16:22:18 +0300 Message-Id: <20200214132220.29830-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v8 0/2] fiber: Handle stack madvise/mprotect errors List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Cc: Vladislav Shpilevoy in v8: - address Vlad's comments - include slab stat condition into the test issue https://github.com/tarantool/tarantool/issues/4722 branch https://github.com/tarantool/tarantool/tree/gorcunov/gh-4722-mprotect-diag-error-8 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 | 2 + test/unit/CMakeLists.txt | 4 ++ test/unit/fiber_stack.c | 109 +++++++++++++++++++++++++++++++++++ test/unit/fiber_stack.result | 11 ++++ test/unit/suite.ini | 2 +- 7 files changed, 204 insertions(+), 19 deletions(-) create mode 100644 test/unit/fiber_stack.c create mode 100644 test/unit/fiber_stack.result base-commit: 95b9a48daf00b6686b8e1993a023daa0755b460e -- 2.20.1