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 F28686FC86; Sun, 25 Apr 2021 12:23:28 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org F28686FC86 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1619342609; bh=k8D6QbNSMgU76YmpDbZnCNbXsb25PrZnk0I6DQtPfBI=; h=To:References:Date:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=MlXscmYARKsY2vvURrePMa2LEThjTqipFHb8ZRBPAzbvQkQRyZbPhb0BbyEH1L5II C1oXvcjgLhas6QNOOBAVB0B4M8c8ynJDhvOP0ZsB3xRTpPyG5tR9iPYaUnun14grD7 AbuEXJVHXGIA/gSAJ7PnwujzGaL6h8sekQvHdUno= Received: from smtp37.i.mail.ru (smtp37.i.mail.ru [94.100.177.97]) (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 B71FC6FC86 for ; Sun, 25 Apr 2021 12:23:27 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org B71FC6FC86 Received: by smtp37.i.mail.ru with esmtpa (envelope-from ) id 1laaz9-0007zx-5G; Sun, 25 Apr 2021 12:23:27 +0300 To: Vladislav Shpilevoy , tarantool-patches@dev.tarantool.org, gorcunov@gmail.com References: <526181aae66a7feb718fc1983f7b4b61ad47f5d9.1619219639.git.v.shpilevoy@tarantool.org> Message-ID: <9c775cef-57c5-2d82-8e07-d6ec1a825b6d@tarantool.org> Date: Sun, 25 Apr 2021 12:23:26 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 In-Reply-To: <526181aae66a7feb718fc1983f7b4b61ad47f5d9.1619219639.git.v.shpilevoy@tarantool.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: ru X-7564579A: 78E4E2B564C1792B X-77F55803: 4F1203BC0FB41BD9203E2ABA940B7548F5BB1D231581C270E5D52311C6CD930F182A05F538085040D26554C2A384F4CB14AB81523EF9AB1EEAD26C216C1758AE9125314840C55A91 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7B9D6DADD6B53929DEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006372A1456D053D20C618638F802B75D45FF914D58D5BE9E6BC1A93B80C6DEB9DEE97C6FB206A91F05B2CA589E14B353F117F2DF9E2F12616B4D98738A72DB41484ED2E47CDBA5A96583C09775C1D3CA48CF53FA85A707D24CADCC7F00164DA146DAFE8445B8C89999729449624AB7ADAF37F6B57BC7E64490611E7FA7ABCAF51C92176DF2183F8FC7C0998E19D2343267C68941B15DA834481F9449624AB7ADAF37BA3038C0950A5D3613377AFFFEAFD2691661749BA6B97735FD819E82F1CB48997B076A6E789B0E97A8DF7F3B2552694A1E7802607F20496D49FD398EE364050FB28585415E75ADA92882943172349060B3661434B16C20AC78D18283394535A9E827F84554CEF5019E625A9149C048EE9ECD01F8117BC8BEE2021AF6380DFAD18AA50765F790063735872C767BF85DA227C277FBC8AE2E8BE987C591F5696A4475ECD9A6C639B01B4E70A05D1297E1BBCB5012B2E24CD356 X-C1DE0DAB: 0D63561A33F958A5062E0CCE38DBE89DD631CBC00C31F7107653401C77EAE6ECD59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA7502E6951B79FF9A3F410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3490011A262ADAEDFEAAF1ACAE2C1FBE881CFE37AE44E19666C2B8E2435423E59D1323445A0684B2EA1D7E09C32AA3244CC7DD08AA1A66F832559895ED41E62E2930363D8B7DA7DD44FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj08M52wfuxcFHz3MKN/Puwg== X-Mailru-Sender: 583F1D7ACE8F49BDD2846D59FC20E9F8C8EC231191DC3E12FE36C30480F2E937B7837631970B1DED424AE0EB1F3D1D21E2978F233C3FAE6EE63DB1732555E4A8EE80603BA4A5B0BC112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH 2/2] fiber: use wakeup safely on self everywhere 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: Serge Petrenko via Tarantool-patches Reply-To: Serge Petrenko Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" 24.04.2021 02:15, Vladislav Shpilevoy пишет: > The previous commit made fiber_wakeup() safe to use on the current > fiber. Leverage the new behaviour everywhere in the source code to > remove all checks f != fiber() before fiber_wakeup(f) calls. > > Follow-up #5292 > --- > Thanks! LGTM. -- Serge Petrenko