From: Kirill Yukhin <kyukhin@tarantool.org>
To: Igor Munkin <imun@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org,
Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Subject: Re: [Tarantool-patches] [PATCH v2 luajit 0/3] Trace abort on FFI sandwich or mode change
Date: Mon, 20 Apr 2020 10:09:28 +0300 [thread overview]
Message-ID: <20200420070928.3agvwliutgv7npuh@tarantool.org> (raw)
In-Reply-To: <cover.1586906667.git.imun@tarantool.org>
Hello,
On 15 апр 03:34, Igor Munkin wrote:
> This series closes two issues related to the JIT machinery behaviour:
> * "FFI sandwich"(*) detection is introduced. If sandwich is detected
> while trace recording the recording is aborted. The sandwich detected
> while mcode execution leads to the platform panic.
> * luaJIT_setmode call is prohibited while mcode execution and leads to
> the platform panic.
>
> (*) The following stack mix is called FFI sandwich.
> | Lua-FFI -> C routine -> Lua-C API -> Lua VM
> This sort of re-entrancy is explicitly not supported by LuaJIT
> compiler. For more info see [1].
>
> Furthermore, this series also provides an aixillary module for LuaJIT
> testing machinery.
I've checked your patchset into tarantool/luajit repo and bumped new
version in 1.10, 2.2, 2.3 and master.
--
Regards, Kirill Yukhin
prev parent reply other threads:[~2020-04-20 7:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-15 0:34 Igor Munkin
2020-04-15 0:34 ` [Tarantool-patches] [PATCH v2 luajit 1/3] test: add auxillary module for testing Igor Munkin
2020-04-15 0:34 ` [Tarantool-patches] [PATCH v2 luajit 2/3] jit: abort trace recording and execution for C API Igor Munkin
2020-04-15 0:34 ` [Tarantool-patches] [PATCH v2 luajit 3/3] jit: abort trace execution on JIT mode change Igor Munkin
2020-04-19 16:16 ` [Tarantool-patches] [PATCH v2 luajit 0/3] Trace abort on FFI sandwich or " Vladislav Shpilevoy
2020-04-19 17:51 ` Igor Munkin
2020-04-19 20:16 ` Igor Munkin
2020-04-20 7:09 ` Kirill Yukhin [this message]
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=20200420070928.3agvwliutgv7npuh@tarantool.org \
--to=kyukhin@tarantool.org \
--cc=imun@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--cc=v.shpilevoy@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH v2 luajit 0/3] Trace abort on FFI sandwich or mode change' \
/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