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 286466FC8F; Tue, 27 Apr 2021 15:03:45 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 286466FC8F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1619525025; bh=6VfXFYAdBJOKKqrgMtO9K5RlDfxunwtwH081X0dYooI=; 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=YShXRSObmQ0MAX4+jaW1ZvIVctqvGiZYVxdNQgDg1uCyMOPhAux4BuvXEGy3rb3nO j+vsVlAISXO7b4aGb7ODusmnEfxmXH1mIg4+IOY6scwhrm/KH/aKZGW1zKyngaKzZK /4YAVQzr1bQ9xy3jZnwoS0MIBj0oX9HU1BeoJOSU= Received: from smtp34.i.mail.ru (smtp34.i.mail.ru [94.100.177.94]) (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 4F3886FC8F for ; Tue, 27 Apr 2021 15:03:43 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 4F3886FC8F Received: by smtp34.i.mail.ru with esmtpa (envelope-from ) id 1lbMRK-0003MT-GA; Tue, 27 Apr 2021 15:03:42 +0300 Date: Tue, 27 Apr 2021 12:03:42 +0000 To: Vladislav Shpilevoy Message-ID: <20210427120342.precbt4gf4v5cn5p@tarantool.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9ECFD8CE5F059401075B5680518B3518A9E26A0D900A5ED66182A05F5380850405FE59CD19229D9F9871494B2442F49E08F6DCBCFB5E847051755F17EF50DC0C3 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE795530B80AF2ADB7BEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063753275FB77F6A31628638F802B75D45FF914D58D5BE9E6BC1A93B80C6DEB9DEE97C6FB206A91F05B2D1355253D3AD0592D1CDE7128F8A7F02267281413F282BCCD2E47CDBA5A96583C09775C1D3CA48CF27ED053E960B195E117882F4460429724CE54428C33FAD30A8DF7F3B2552694AC26CFBAC0749D213D2E47CDBA5A9658378DA827A17800CE77E7E81EEA8A9722B8941B15DA834481F9449624AB7ADAF37BA3038C0950A5D3613377AFFFEAFD269176DF2183F8FC7C068BA0AD3B22A3C517B076A6E789B0E97A8DF7F3B2552694A1E7802607F20496D49FD398EE364050F1E561CDFBCA1751F07FB45A5F6E725C8B3661434B16C20AC78D18283394535A9E827F84554CEF5019E625A9149C048EE9ECD01F8117BC8BEE2021AF6380DFAD18AA50765F790063735872C767BF85DA227C277FBC8AE2E8B9149C560DC76099D75ECD9A6C639B01B4E70A05D1297E1BBCB5012B2E24CD356 X-C1DE0DAB: 0D63561A33F958A55B242B71D7A98E79692FE966969F290C8A74C3587A24F1D9D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA7502E6951B79FF9A3F410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D342F9EE325F82A28A8D00BA82029449E81F7BFBBDBD9391C5CFC0BDE9A5A7694E8D6036FA0CB7323A11D7E09C32AA3244C2133341DB375D9E49BCFAEA570E5B319A90944CA99CF22E3927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojmGF4M/OAxzdYCVy3i1yB7A== X-Mailru-Sender: 05EB39F83D09414F9B5D7F52D7CDFDD207891EE811B63F0E023F8D8BC39326E5ECAE30EF5C4AD7B5CA16B95394F0DD5CE99530A0C0F27B5268329DCED823713783C0E760C018FF54112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH 0/2] fiber_wakeup() nop on self 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: Kirill Yukhin via Tarantool-patches Reply-To: Kirill Yukhin Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Hello, On 24 апр 01:15, Vladislav Shpilevoy via Tarantool-patches wrote: > The patchset makes fiber_wakeup() in C and fiber.wakeup() in Lua > nop when called on the current fiber. This fixes a couple of > crashes in the public API, and prevent spurious wakeups in > certain cases. > > Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-5292-6043-fiber-wakeup-nop > Issue: https://github.com/tarantool/tarantool/issues/5292 > Issue: https://github.com/tarantool/tarantool/issues/6043 > > Vladislav Shpilevoy (2): > fiber: make wakeup in Lua and C nop on self > fiber: use wakeup safely on self everywhere I've checked your patch set into 2.7, 2.8 and master. Also, 1st patch into 1.10. -- Regards, Kirill Yukhin