Tarantool development patches archive
 help / color / mirror / Atom feed
From: Ilya Kosarev <i.kosarev@tarantool.org>
To: gorcunov@gmail.com
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH 0/2] fiber: backport for stack	madvise/mprotect errors handling
Date: Wed, 29 Jul 2020 19:50:40 +0300	[thread overview]
Message-ID: <cover.1596040943.git.i.kosarev@tarantool.org> (raw)

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

             reply	other threads:[~2020-07-29 16:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29 16:50 Ilya Kosarev [this message]
2020-07-29 16:50 ` [Tarantool-patches] [PATCH 1/2] fiber: set diagnostics at madvise/mprotect failure Ilya Kosarev
2020-07-29 17:04   ` Cyrill Gorcunov
2020-07-29 16:50 ` [Tarantool-patches] [PATCH 2/2] fiber: leak slab if unable to bring prots back Ilya Kosarev

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=cover.1596040943.git.i.kosarev@tarantool.org \
    --to=i.kosarev@tarantool.org \
    --cc=gorcunov@gmail.com \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH 0/2] fiber: backport for stack	madvise/mprotect errors handling' \
    /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