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 530791B6B059; Wed, 4 Mar 2026 18:40:48 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 530791B6B059 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1772638848; bh=p01K6wNACVDzYf0hhDBv0BA7qHmL5yoQC8JnAg6Uncg=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=POrxa3mcXLcDrCrw1duEcyU69uwrne0Q9m0gJTlrhi51JrQUbIyDmYpdLJk6RmqyM 4UqshC2jnIVPm8l8N6mBTxFiIiP8WmOY2YPJ03kDyw85JkfEqKKpfNOVkSCI0FcQHm 1aHee8oPAdwpMro965jQ0U5DcAIRmZ9D22H06JbI= Received: from send127.i.mail.ru (send127.i.mail.ru [89.221.237.222]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 345451B6B063 for ; Wed, 4 Mar 2026 18:40:46 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 345451B6B063 Received: by exim-smtp-558f87dcd7-mt8sb with esmtpa (envelope-from ) id 1vxoL6-00000000FIJ-3uY5; Wed, 04 Mar 2026 18:40:45 +0300 Content-Type: multipart/alternative; boundary="------------s8YM4L8ia3xP4Ht5uJcWUL0j" Message-ID: Date: Wed, 4 Mar 2026 18:40:44 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org References: In-Reply-To: X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9406AA218EDC7AA274B04BFBEEBC1D63DB3DBD519BD8751C3182A05F5380850401B5080CA94F34E233DE06ABAFEAF6705763DCE4112BC7428966BD4ABA0B7834A46A9EDC33AB89B9D X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE73AB734EB09B81F30C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE7353CFE866E745C13EA1F7E6F0F101C67CDEEF6D7F21E0D1D9295C2E9FA3191EE1B59CA4C82EFA6586E437E1EADD6AA3E4F73D3233A2A14BEB51BA834CDED4E75117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC974A882099E279BDA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD18BDFBBEFFF4125B51D2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EE9647ADFADE5905B103CEA74F0D118906D8FC6C240DEA76429C9F4D5AE37F343AA9539A8B242431040A6AB1C7CE11FEE3AD0E433DBF1FBFA36E0066C2D8992A16C4224003CC836476E2F48590F00D11D6E2021AF6380DFAD1A18204E546F3947CB11811A4A51E3B096D1867E19FE1407959CC434672EE6371089D37D7C0E48F6C8AA50765F790063757B1FBEA53BC6EDBEFF80C71ABB335746BA297DBC24807EABDAD6C7F3747799A X-C1DE0DAB: 0D63561A33F958A5B550CDA2046B60BA5002B1117B3ED696E95228A65BA4D6AFFB820E9FE7BD014C823CB91A9FED034534781492E4B8EEADA91A6E18C88C5E2F X-C8649E89: 1C3962B70DF3F0AD73CAD6646DEDE1918E10F71CB4DF9F96AB70F9BE574AE9C625B6776AC983F447FC0B9F89525902EE6F57B2FD27647F25E66C117BDB76D6599F8970B7F7108C2791F1C00B8E7BA4825E2DD20E4B87CCC129151917D009B5F5BC1C963458C1B07CB8341EE9D5BE9A0A1E99A88CD2CD2ABA8D98E67716A5402F40638D0B4E9F58698CD93680B12512CF4C41F94D744909CE2512F26BEC029E55448553D2254B8D95CD72808BE417F3B9E0E7457915DAA85F X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu53w8ahmwBjZKM/YPHZyZHvz5uv+WouB9+ObcCpyrx6l7KImUglyhkEat/+ysWwi0gdhEs0JGjl6ggRWTy1haxBpVdbIX1nthFXMZebaIdHP2ghjoIc/363UZI6Kf1ptIMVbwN8XFWZxQUgLdSyAMJrOk= X-Mailru-Sender: C4F68CFF4024C8867DFDF7C7F25884580A89EC92695E24AD5E07F309F87FFB14C6EC00CEE483739C6D6C7641D3BBDC7D645D15D82EE4B272BD6E4642A116CA93524AA66B5ACBE6721EF430B9A63E2A504198E0F3ECE9B5443453F38A29522196 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit 0/2] Correct allocation limit without JIT 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 Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" This is a multi-part message in MIME format. --------------s8YM4L8ia3xP4Ht5uJcWUL0j Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, Sergey, LGTM patch series. On 3/2/26 11:05, Sergey Kaplun wrote: > This patch-set fixes the allocation limit for the build with disabled > JIT. The first commit helps to catch the error early in tests by the > correct check of the address returned by the allocator. > > Branch:https://github.com/tarantool/luajit/tree/skaplun/lj-1430-alloc-limit > Related issues: > *https://github.com/LuaJIT/LuaJIT/issues/1430 > *https://github.com/tarantool/tarantool/issues/12134 > Related ML thread:https://www.freelists.org/post/luajit/Provide-error-outputdetails-upon-luaL-newstate-failures > > Mike Pall (2): > Fix pointer check for non-GC64 mode. > x64/!LJ_GC64: The allocation limit is required for a no-JIT build, > too. > > src/lj_alloc.c | 4 +- > src/lj_def.h | 3 +- > .../lj-1430-internal-alloc-limit.test.lua | 39 +++++++++++++++++++ > 3 files changed, 43 insertions(+), 3 deletions(-) > create mode 100644 test/tarantool-tests/lj-1430-internal-alloc-limit.test.lua > --------------s8YM4L8ia3xP4Ht5uJcWUL0j Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi, Sergey,

LGTM patch series.

On 3/2/26 11:05, Sergey Kaplun wrote:
This patch-set fixes the allocation limit for the build with disabled
JIT. The first commit helps to catch the error early in tests by the
correct check of the address returned by the allocator.

Branch: https://github.com/tarantool/luajit/tree/skaplun/lj-1430-alloc-limit
Related issues:
* https://github.com/LuaJIT/LuaJIT/issues/1430
* https://github.com/tarantool/tarantool/issues/12134
Related ML thread: https://www.freelists.org/post/luajit/Provide-error-outputdetails-upon-luaL-newstate-failures

Mike Pall (2):
  Fix pointer check for non-GC64 mode.
  x64/!LJ_GC64: The allocation limit is required for a no-JIT build,
    too.

 src/lj_alloc.c                                |  4 +-
 src/lj_def.h                                  |  3 +-
 .../lj-1430-internal-alloc-limit.test.lua     | 39 +++++++++++++++++++
 3 files changed, 43 insertions(+), 3 deletions(-)
 create mode 100644 test/tarantool-tests/lj-1430-internal-alloc-limit.test.lua

--------------s8YM4L8ia3xP4Ht5uJcWUL0j--