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 D361A6E454; Fri, 11 Feb 2022 22:12:32 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D361A6E454 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1644606752; bh=W47bGRbbSiQ0RVGfYcMqsJwnjLLtloXUIq/enJ1uLXk=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=L4gXIEQmmIYBhprWZTB/EK90vxLftN3weBo6rJE/Yu4xut9DMHyuY4v+NqkAnVd+R ETZtbI1qJUni5Ab1NRUrKfWpLuRTuP7PaOXSw9FbfOZCFPplCbXaZkqx5RpKOF6G9I esLqP3w41OalYQcBcXJdWQiaqAN0cphIWHUf+rP0= Received: from smtpng2.i.mail.ru (smtpng2.i.mail.ru [94.100.179.3]) (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 07B556E454 for ; Fri, 11 Feb 2022 22:12:30 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 07B556E454 Received: by smtpng2.m.smailru.net with esmtpa (envelope-from ) id 1nIbLJ-0003cD-TS; Fri, 11 Feb 2022 22:12:30 +0300 Date: Fri, 11 Feb 2022 22:09:14 +0300 To: Sergey Kaplun Message-ID: References: <20211229122731.31617-1-skaplun@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211229122731.31617-1-skaplun@tarantool.org> X-Clacks-Overhead: GNU Terry Pratchett X-4EC0790: 10 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD94A599DE53EADEE57D22BD4A020C306709115AF22CC0AFC72182A05F53808504037BC948766681F0901B65F06ED6FC364EBA4610AA65D1D9DF81DEEB39643862D X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7C6068CE86C2B75F5EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006371D26D2A8652661258638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8C5F3C71F0288E96E8D513D509A974E9C117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCAA867293B0326636D2E47CDBA5A96583BD4B6F7A4D31EC0BC014FD901B82EE079FA2833FD35BB23D27C277FBC8AE2E8B974A882099E279BDA471835C12D1D977C4224003CC8364762BB6847A3DEAEFB0F43C7A68FF6260569E8FC8737B5C2249EC8D19AE6D49635B68655334FD4449CB9ECD01F8117BC8BEAAAE862A0553A39223F8577A6DFFEA7CA35FE21102777C0943847C11F186F3C59DAA53EE0834AAEE X-8FC586DF: 6EFBBC1D9D64D975 X-C1DE0DAB: 0D63561A33F958A5237E496D5B9C11D9F25D5AE0AE64585A79C9F25E569484B4D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA7506FE1F977233B9BB410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34AAC3D1FDB34D04888F8A288DF839CD4B596EAD17EBF41E9A1C1B3B8E277C7C863C4D29985388F0791D7E09C32AA3244CF9288C143A907E45D3A4D0B6C5E0F1CFFE8DA44ABE2443F7927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj0jP+VWF3k0ef0HYLe0qFtA== X-Mailru-Sender: 689FA8AB762F739339CABD9B3CA9A7D6598979131016A8CB35E8D5F739197F50A7C8D0F45F857DBFE9F1EFEE2F478337FB559BB5D741EB964C8C2C849690F8E70A04DAD6CC59E3365FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit] Actually implement maxirconst trace limit. 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: Igor Munkin via Tarantool-patches Reply-To: Igor Munkin Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Sergey, I've checked the patch into all long-term branches in tarantool/luajit and bumped a new version in 1.10, 2.8 and master. On 29.12.21, Sergey Kaplun wrote: > From: Mike Pall > > Suggested by spacewander. > > (cherry picked from 9ff94c4a1fcec2c310dcb092da694f23186e23) > > `maxirconst` should restrict the amount of IR constants for 1 trace. > Nevertheless, its value isn't checked anywhere. > > This patch adds the corresponding check after instruction recording. > > Sergey Kaplun: > * added the description and the test for the problem > > Part of tarantool/tarantool#6548 > --- > > Issue: https://github.com/LuaJIT/LuaJIT/issues/430 > Branch: https://github.com/tarantool/luajit/tree/skaplun/lj-430-maxirconst-actually-implement-full-ci > Tarantool branch: https://github.com/tarantool/tarantool/tree/skaplun/lj-430-maxirconst-actually-implement-full-ci > > src/lj_record.c | 5 ++- > .../lj-430-maxirconst.test.lua | 43 +++++++++++++++++++ > 2 files changed, 46 insertions(+), 2 deletions(-) > create mode 100644 test/tarantool-tests/lj-430-maxirconst.test.lua > > -- > 2.34.1 > -- Best regards, IM