Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v5 0/2] fiber: Handle stack madvise/mprotect errors
@ 2020-02-05 22:06 Cyrill Gorcunov
  2020-02-05 22:06 ` [Tarantool-patches] [PATCH v5 1/2] fiber: use diag_ logger in fiber_madvise/mprotect failures Cyrill Gorcunov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Cyrill Gorcunov @ 2020-02-05 22:06 UTC (permalink / raw)
  To: tml

issue https://github.com/tarantool/tarantool/issues/4722
branch gorcunov/gh-4722-mprotect-diag-error-5

In v5:
 - merged errinj together with test into the patch itself
 - on guard page restore we print error and continue instead
   of immeadiate exit

Cyrill Gorcunov (2):
  fiber: use diag_ logger in fiber_madvise/mprotect failures
  fiber: leak slab if unable to bring prots back

 src/lib/core/errinj.h        |    2 +
 src/lib/core/fiber.c         |   92 +-
 test/box/errinj.result       | 2616 ++++++++++++++++++----------------
 test/unit/CMakeLists.txt     |    4 +
 test/unit/fiber_stack.cc     |   83 ++
 test/unit/fiber_stack.result |    6 +
 test/unit/suite.ini          |    2 +-
 7 files changed, 1530 insertions(+), 1275 deletions(-)
 create mode 100644 test/unit/fiber_stack.cc
 create mode 100644 test/unit/fiber_stack.result

-- 
2.20.1

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

end of thread, other threads:[~2020-02-06 11:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-05 22:06 [Tarantool-patches] [PATCH v5 0/2] fiber: Handle stack madvise/mprotect errors Cyrill Gorcunov
2020-02-05 22:06 ` [Tarantool-patches] [PATCH v5 1/2] fiber: use diag_ logger in fiber_madvise/mprotect failures Cyrill Gorcunov
2020-02-06 11:10   ` Alexander Turenko
2020-02-05 22:06 ` [Tarantool-patches] [PATCH v5 2/2] fiber: leak slab if unable to bring prots back Cyrill Gorcunov
2020-02-06 11:10   ` Alexander Turenko
2020-02-06 11:20 ` [Tarantool-patches] [PATCH v5 0/2] fiber: Handle stack madvise/mprotect errors Alexander Turenko

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