From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Igor Munkin <imun@tarantool.org>,
Sergey Ostanevich <sergos@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH luajit 0/2] arm64: fix 48-bit addresses issues
Date: Tue, 6 Jul 2021 20:40:04 +0300 [thread overview]
Message-ID: <cover.1625587322.git.skaplun@tarantool.org> (raw)
This patchset provides changes necessary for Tarantool working in docker
on M1 (#2712), except well-known `cur_L` issue [1].
The first patch fixes issue with bad lightuserdata error.
The second patch fixes issue with memory remaping to 48-bit VA space.
LuaJIT branch: https://github.com/tarantool/luajit/tree/skaplun/gh-2712-bad-lightud
Tarantool branch: https://github.com/tarantool/tarantool/tree/skaplun/gh-2712-bad-lightud
Issues:
* https://github.com/tarantool/tarantool/issues/2712
* https://github.com/tarantool/tarantool/issues/6154
[1]: https://github.com/tarantool/tarantool/issues/6189
Mike Pall (2):
Add support for full-range 64 bit lightuserdata.
Linux/ARM64: Make mremap() non-moving due to VA space woes.
doc/status.html | 11 ----
src/jit/dump.lua | 4 +-
src/lib_debug.c | 12 ++--
src/lib_jit.c | 14 ++---
src/lib_package.c | 8 +--
src/lib_string.c | 2 +-
src/lj_alloc.c | 2 +-
src/lj_api.c | 40 +++++++++++--
src/lj_ccall.c | 2 +-
src/lj_cconv.c | 2 +-
src/lj_crecord.c | 6 +-
src/lj_dispatch.c | 2 +-
src/lj_ir.c | 6 +-
src/lj_obj.c | 5 +-
src/lj_obj.h | 57 ++++++++++++-------
src/lj_snap.c | 7 ++-
src/lj_state.c | 6 ++
src/lj_strfmt.c | 2 +-
test/tarantool-tests/CMakeLists.txt | 1 +
.../lj-49-bad-lightuserdata.test.lua | 10 ++++
.../lj-49-bad-lightuserdata/CMakeLists.txt | 1 +
.../testlightuserdata.c | 52 +++++++++++++++++
.../lj-671-arm64-assert-after-mremap.test.lua | 24 ++++++++
23 files changed, 208 insertions(+), 68 deletions(-)
create mode 100644 test/tarantool-tests/lj-49-bad-lightuserdata.test.lua
create mode 100644 test/tarantool-tests/lj-49-bad-lightuserdata/CMakeLists.txt
create mode 100644 test/tarantool-tests/lj-49-bad-lightuserdata/testlightuserdata.c
create mode 100644 test/tarantool-tests/lj-671-arm64-assert-after-mremap.test.lua
--
2.31.0
next reply other threads:[~2021-07-06 17:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-06 17:40 Sergey Kaplun via Tarantool-patches [this message]
2021-07-06 17:40 ` [Tarantool-patches] [PATCH luajit 1/2] Add support for full-range 64 bit lightuserdata Sergey Kaplun via Tarantool-patches
2021-07-27 13:59 ` Igor Munkin via Tarantool-patches
2021-07-28 12:29 ` Sergey Kaplun via Tarantool-patches
2021-08-01 10:36 ` Igor Munkin via Tarantool-patches
2021-08-02 14:56 ` Sergey Kaplun via Tarantool-patches
2021-08-01 16:25 ` Sergey Ostanevich via Tarantool-patches
2021-08-02 14:51 ` Sergey Kaplun via Tarantool-patches
2021-08-02 15:42 ` Igor Munkin via Tarantool-patches
2021-08-10 16:46 ` Sergey Ostanevich via Tarantool-patches
2021-08-11 5:54 ` Vitaliia Ioffe via Tarantool-patches
2021-07-06 17:40 ` [Tarantool-patches] [PATCH luajit 2/2] Linux/ARM64: Make mremap() non-moving due to VA space woes Sergey Kaplun via Tarantool-patches
2021-07-27 15:23 ` Igor Munkin via Tarantool-patches
2021-07-28 12:29 ` Sergey Kaplun via Tarantool-patches
2021-08-01 10:36 ` Igor Munkin via Tarantool-patches
2021-08-01 16:59 ` Sergey Ostanevich via Tarantool-patches
2021-08-02 15:08 ` Sergey Kaplun via Tarantool-patches
2021-08-02 15:55 ` Sergey Ostanevich via Tarantool-patches
2021-08-02 15:11 ` Sergey Kaplun via Tarantool-patches
2021-08-11 7:21 ` [Tarantool-patches] [PATCH luajit 0/2] arm64: fix 48-bit addresses issues Igor Munkin via Tarantool-patches
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.1625587322.git.skaplun@tarantool.org \
--to=tarantool-patches@dev.tarantool.org \
--cc=imun@tarantool.org \
--cc=sergos@tarantool.org \
--cc=skaplun@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH luajit 0/2] arm64: fix 48-bit addresses issues' \
/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