From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 9C4256EC41; Tue, 6 Jul 2021 20:41:16 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 9C4256EC41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1625593276; bh=q49GAgt6ZUq822jyM5Rmuhv4IUzcA2M3juZRI63JmuI=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=s4tzvOl6YZTpQ/u6M54pKnaDDU5VorjMYyJ9diTKKW5745LLPbwINUWp6ZkkwskIR UtBOda89bCO/InLCqmN0Ce8+KT0v23G+E7K5/nyTXbG9M8RQqxVxQ3DZzToZojNtSn av3M+ZkUeLKdtwrgl4cJuD4oS+knznoGUAIxNTfU= Received: from smtp53.i.mail.ru (smtp53.i.mail.ru [94.100.177.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 100026EC40 for ; Tue, 6 Jul 2021 20:41:14 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 100026EC40 Received: by smtp53.i.mail.ru with esmtpa (envelope-from ) id 1m0p4L-0008Sr-OL; Tue, 06 Jul 2021 20:41:14 +0300 To: Igor Munkin , Sergey Ostanevich Date: Tue, 6 Jul 2021 20:40:04 +0300 Message-Id: X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD954DFF1DC42D673FB0C620705B15DE32DFE392EA95FA71EAB182A05F5380850406C36D6FC956AB9472B5E0B248FCD1D3675AEDE216DECCD78724671E31215C142 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7922D113DFDC6D5A3EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006375FE8AD9F0D2764EB8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8BA646044F45D06EB28779088978BC0A0117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC2EE5AD8F952D28FBA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD18F04B652EEC242312D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B6A45692FFBBD75A6A089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C62E2A2CC9B321AEE08B38BD8B9DBDF6FF31E5EA661758EE79C2B6934AE262D3EE7EAB7254005DCED179A508CD82A26DD1E0A4E2319210D9B64D260DF9561598F01A9E91200F654B0AEA200A0D3D80EA68E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D343DCFC3BEDFB0242D45A5049976542601A2B6F1DF6A648FB0FD072DDC94E2DE976B2647C082365BF91D7E09C32AA3244C9668ACFE45E2C886FF9B84A11D8252FC24AF4FAF06DA24FD927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXgKQimi59fNNYw3+2KiA1jr X-Mailru-Sender: 3B9A0136629DC91206CBC582EFEF4CB49B6F6B94ABC852939FB1F8DF31E0898A29B783BC4D73BC1DF2400F607609286E924004A7DEC283833C7120B22964430C52B393F8C72A41A89437F6177E88F7363CDA0F3B3F5B9367 X-Mras: Ok Subject: [Tarantool-patches] [PATCH luajit 0/2] arm64: fix 48-bit addresses issues X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Kaplun via Tarantool-patches Reply-To: Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" 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