Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v8 0/2] fiber: Handle stack madvise/mprotect errors
@ 2020-02-14 13:22 Cyrill Gorcunov
  2020-02-14 13:22 ` [Tarantool-patches] [PATCH v8 1/2] fiber: set diagnostics at madvise/mprotect failure Cyrill Gorcunov
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Cyrill Gorcunov @ 2020-02-14 13:22 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-02-24 19:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-14 13:22 [Tarantool-patches] [PATCH v8 0/2] fiber: Handle stack madvise/mprotect errors Cyrill Gorcunov
2020-02-14 13:22 ` [Tarantool-patches] [PATCH v8 1/2] fiber: set diagnostics at madvise/mprotect failure Cyrill Gorcunov
2020-02-20 21:30   ` Vladislav Shpilevoy
2020-02-14 13:22 ` [Tarantool-patches] [PATCH v8 2/2] fiber: leak slab if unable to bring prots back Cyrill Gorcunov
2020-02-14 14:17   ` Konstantin Osipov
2020-02-14 14:22     ` Cyrill Gorcunov
2020-02-14 14:29       ` Konstantin Osipov
2020-02-14 14:31         ` Cyrill Gorcunov
2020-02-20 21:00           ` Alexander Turenko
2020-02-21  7:15             ` Konstantin Osipov
2020-02-24 19:25 ` [Tarantool-patches] [PATCH v8 0/2] fiber: Handle stack madvise/mprotect errors Kirill Yukhin
2020-02-24 19:31   ` Cyrill Gorcunov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox