From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp57.i.mail.ru (smtp57.i.mail.ru [217.69.128.37]) (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 DB36B445320 for ; Wed, 29 Jul 2020 19:50:46 +0300 (MSK) From: Ilya Kosarev Date: Wed, 29 Jul 2020 19:50:40 +0300 Message-Id: Subject: [Tarantool-patches] [PATCH 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 Ilya Kosarev (2): fiber: set diagnostics at madvise/mprotect failure fiber: leak slab if unable to bring prots back src/errinj.h | 32 +++--- src/fiber.c | 192 ++++++++++++++++++++++------------- 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, 268 insertions(+), 83 deletions(-) create mode 100644 test/unit/fiber_stack.c create mode 100644 test/unit/fiber_stack.result -- 2.17.1