[Tarantool-patches] [PATCH luajit v2 0/5] Fix error-throwing on an incorrect coroutine

Igor Munkin imun at tarantool.org
Tue Nov 7 16:31:19 MSK 2023


Max,

I've checked the patchset into all long-term branches in
tarantool/luajit and bumped a new version in master, release/2.11 and
release/2.10.

On 29.09.23, Maxim Kokryashkin via Tarantool-patches wrote:
> Changes in v2:
> - Fixed comments as per offline talk with Igor:
>     * Reverted one more patch for ARM
>     ('arm64: fix cur_L restoration on error throw').
>     * Added test from the original issue LuaJIT/LuaJIT#1066
> 
> Branch: https://github.com/tarantool/luajit/tree/fckxorg/gh-6323-fix-curL
> PR: https://github.com/tarantool/tarantool/pull/9168
> 
> Maxim Kokryashkin (4):
>   Revert "Fix cur_L tracking on exceptional path"
>   Revert "Update cur_L on exceptional path"
>   Revert "arm64: fix cur_L restoration on error throw"
>   Revert "Update cur_L on exceptional path (arm)"
> 
> Mike Pall (1):
>   Restore cur_L for specific Lua/C API use case.
> 
>  src/lj_err.c                                  |  5 ++-
>  src/vm_arm.dasc                               |  2 --
>  src/vm_arm64.dasc                             |  2 --
>  src/vm_x64.dasc                               |  8 ++---
>  src/vm_x86.dasc                               |  8 ++---
>  test/tarantool-tests/CMakeLists.txt           |  1 +
>  ...-fix-cur_L-after-coroutine-resume.test.lua | 32 +++++++++++++++++++
>  .../CMakeLists.txt                            |  1 +
>  .../libcur_L_coroutine.c                      | 22 +++++++++++++
>  9 files changed, 66 insertions(+), 15 deletions(-)
>  create mode 100644 test/tarantool-tests/lj-1066-fix-cur_L-after-coroutine-resume.test.lua
>  create mode 100644 test/tarantool-tests/lj-1066-fix-cur_L-after-coroutine-resume/CMakeLists.txt
>  create mode 100644 test/tarantool-tests/lj-1066-fix-cur_L-after-coroutine-resume/libcur_L_coroutine.c
> 
> -- 
> 2.42.0
> 

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list