From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp61.i.mail.ru (smtp61.i.mail.ru [217.69.128.41]) (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 C5194445320 for ; Wed, 29 Jul 2020 22:44:21 +0300 (MSK) From: Ilya Kosarev Date: Wed, 29 Jul 2020 22:44:16 +0300 Message-Id: Subject: [Tarantool-patches] [PATCH v2 0/2] fiber: backport for stack madvise/mprotect errors handling List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: gorcunov@gmail.com Cc: tarantool-patches@dev.tarantool.org This patchset is a backport for c67522973b32fae955835109d4f86eada8f67ae5 and 8d53fadc0cb15a45ea0cd461d2d5243be51b37e0 patches on stack madvise/mprotect errors handling. Branch: https://github.com/tarantool/tarantool/tree/i.kosarev/gh-5211-diag-at-fiber-mprotect-and-madvise Issue: https://github.com/tarantool/tarantool/issues/5211 Changes in v2: - fixed spaces vs tabs problems Ilya Kosarev (2): fiber: set diagnostics at madvise/mprotect failure fiber: leak slab if unable to bring prots back src/errinj.h | 2 + src/fiber.c | 92 +++++++++++++++++++++++------ 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 | 1 + 7 files changed, 203 insertions(+), 18 deletions(-) create mode 100644 test/unit/fiber_stack.c create mode 100644 test/unit/fiber_stack.result -- 2.17.1