Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3254616pxj; Sun, 20 Jun 2021 15:19:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHVXbzP/NRKsj+5UTkD61BSTFYPa/pimtCdQSe+l03xJKjo/CGB0xzOcFFquwytuGX7JsD X-Received: by 2002:a05:6402:28b5:: with SMTP id eg53mr9140871edb.110.1624227548778; Sun, 20 Jun 2021 15:19:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624227548; cv=none; d=google.com; s=arc-20160816; b=A23IWl6DzW0uVmTGsvqWm9v0hAyq/My1KOUThRHDXFp+cci/sMIgx8kB/FHE8iioIq La0FVmbPzrUJ0+TfRhUtTeyrrR9XRJ7l2+vD/iwvJJSvUvkg2blgCxS7q9uv86B50N6j 11G3fvNbalnEVc1Q8gASnorbLy4holFIQPx4KO44+QGpJvJcZmBQ9Okq605+om5y9BZp esFmb4Gd3zwVP60rQ/ee9UhZVHSoF9vBKYpdO4tGtM92K7Q4fJy6PfK9B1D0pnRrka+2 6UuBxHToDgq24RC4GeqA4B4vK5qZ5Bmdht/jWmsqHH22ogdKkdF/HHCxSs/Ar4Dk3jua SLzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:dkim-signature; bh=PxeyDOaC5gOG9k7sFphHJqiDSQ/o/65kXWRJvbDb3GE=; b=s636xMIa8hd1EM680m5W3aOz4p1ALJHZxRWbe7SA7npih9g0lT0/QQAkKvz8dNNEYw BC+LPKb/6oW3DUBG4U6UhuBruuRJwAyqgkyGNcZQHhA4zKJVADsIn4gaxGtJjQhbAtOG Vn+YmURi/OesuxqIUVksGKmbYjn6BfM0WoSCZbHWJBEKt0CsC4+LkH19S7uI4pGhebh9 MbEp0WFMuDixvdM7KOGeVqKEZh0AnhA19UAAt4LZf/qvAlBrPMiMseyP2nBQRo8lmCys EJ2Y3sGqFVX3rUAjAJzOAYuNGoWvedBQToPwACG7m8e+IXFlF5/sC0nz7uo6tekWTroC Wcxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="K3/nXmL8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 7si8600018ejd.558.2021.06.20.15.18.34; Sun, 20 Jun 2021 15:19:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="K3/nXmL8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229901AbhFTWTZ (ORCPT + 99 others); Sun, 20 Jun 2021 18:19:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229708AbhFTWTZ (ORCPT ); Sun, 20 Jun 2021 18:19:25 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 190EEC061574; Sun, 20 Jun 2021 15:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To: Subject:Sender:Reply-To:Cc:Content-ID:Content-Description; bh=PxeyDOaC5gOG9k7sFphHJqiDSQ/o/65kXWRJvbDb3GE=; b=K3/nXmL8a42OqCpuwQLk9igqqs 8SDKEfm9iyBqUqCZTXaqhtCmtrLJewE9ZmATsYaKhXX+t2bwB9nNRhuc84LwB8zleq3XOT/kzCCMI WPaYhfh3FxBX0i8CZ3EW66xe7+F3FCWcmE9sKleP0ICL9tB2nVhvHzHudV/5JhKswPUIUCmc0R569 93IpmHlRpTY4ceMNb9GQz2uLFvzkqzu7keNgLcPO98BQvbL6pVLHiNKlG/q1F6yBWwimyWyieqz+y rmZ/t0EGv0KZuPPcsavor6YtzOgP4Hpdvdj6rOFQMu40FwwGZ0fwJ/2gTyfeWh6nlvOZOLeWZpgxu kOtFXWVw==; Received: from [2601:1c0:6280:3f0::aefb] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1lv5kd-001ftT-53; Sun, 20 Jun 2021 22:17:11 +0000 Subject: Re: [PATCH v2] io_uring: reduce latency by reissueing the operation To: Pavel Begunkov , Olivier Langlois , Jens Axboe , io-uring@vger.kernel.org, linux-kernel@vger.kernel.org References: <4578f817-c920-85f1-91af-923d792fc912@infradead.org> <7ad30cb0-3322-6c40-2a1b-27308aa757d8@gmail.com> From: Randy Dunlap Message-ID: Date: Sun, 20 Jun 2021 15:17:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <7ad30cb0-3322-6c40-2a1b-27308aa757d8@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/20/21 1:08 PM, Pavel Begunkov wrote: > On 6/20/21 9:01 PM, Randy Dunlap wrote: >> On 6/20/21 12:28 PM, Olivier Langlois wrote: >>> On Sun, 2021-06-20 at 12:07 -0700, Randy Dunlap wrote: >>>> On 6/20/21 12:05 PM, Olivier Langlois wrote: >>>>> -               return false; >>>>> +               return ret?IO_ARM_POLL_READY:IO_ARM_POLL_ERR; >>>> >>>> Hi, >>>> Please make that return expression more readable. >>>> >>>> >>> How exactly? >>> >>> by adding spaces? >>> Changing the define names?? >> >> Adding spaces would be sufficient IMO (like Pavel suggested also). > > Agree. That should be in the code style somewhere > It is. -- ~Randy