Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3193407pxj; Sun, 20 Jun 2021 13:02:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZGZpG5EHDq7GRNB6P87xUclXxRUMRYjv42/FbzqwIWV6Y+gBh9gI+gb644LCcsO7wcz3t X-Received: by 2002:a17:906:c1d0:: with SMTP id bw16mr21348894ejb.146.1624219356282; Sun, 20 Jun 2021 13:02:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624219356; cv=none; d=google.com; s=arc-20160816; b=sN8imr+m4anMNVqfT6MBKEAYSBxOs8+CA9XBA/VYd8XZzoIIBM65caagTWYIxf+s2s ViB8VqV/5jtbwYcOsONXIhNgrq3beqQ1t81f5fJ7e9eHBOT7II+l7TTsc6jLlccpiiYK bQDGe1NOwm01Nmv2FslvDKG31AGfiNFk/I4KHUFzNfCea0ZSmMx6qNW2ZSe8YOxTTNyF R25XvWWb1I8Ce/NzZ6QHW7iCWnslfmCSRLbd17pSb3PUo/Xel5MhLx+ZLZZac2f9LW3E A82fTahUswxji9xr2lBqXNc+yf+NVYq1oKVEXrYrIqULHhI4Phue198qXbheyH46lEkZ VKYA== 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=55b6jVFQXs93+UqpvQbLSk20d3kRye/eCWavHLnVwhM=; b=FWPC61hWBclbaJKlE9U98IEKwOKSB2JNLuycxwPKcy5Ckf6Ga1p5NyWMzi9w/ZYdNQ Heai3MTR/uKbGhQW7A43dYa95DNnFYBOxDec1oasgIGVBEKkWA3u7mJidpDbaPM1gQN7 4RNC2I581oQi1eIHbyuI8NYcw29fTO1qmEqV+zKC5aNHk04o5xXptmglr12TUXjxea6X 05aF6jXUBE3s7ErmElcGsFwgmrFQVfIvEwMGAblCyTLj5JkMLqVpkUYFPmtt0BJnhdiY wn/3fJr2XfjCQhHsWXa6lSOjADTni+s7C3IjckhJ+g0Nd8h0scuErOXwcpsOVghMOy/o jsOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=gVtuCSsK; 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 d10si10513204edn.529.2021.06.20.13.02.13; Sun, 20 Jun 2021 13:02:36 -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=gVtuCSsK; 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 S230031AbhFTUD0 (ORCPT + 99 others); Sun, 20 Jun 2021 16:03:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229901AbhFTUDY (ORCPT ); Sun, 20 Jun 2021 16:03:24 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F7C2C061574; Sun, 20 Jun 2021 13:01:12 -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=55b6jVFQXs93+UqpvQbLSk20d3kRye/eCWavHLnVwhM=; b=gVtuCSsKHRcFYXFaYgH+bCJteo Vw611IHtBeN7vmAAqkdWKFiEnO6M5iVFUc0TFgkvBlDLDCIMOCMz0FV/wxRJzJulEUfoT/ESwW3EY MLDWt3kx5DZdVnA0+LN8rNxJI/qoBkQMPdcvnuMCZTYwd9kAUcov7FCbOF/kkQVacXwHBl9uU677s OgFmKiIUOLEDT89JH41fsQRVE/RVZRI1UmK2nf9BxqP4b3yYwrhvMMd+hTzX8RkL7sa6b2e+Qqcu/ bBFVmaDiOZ6dJiqDdR+sgOe3NrN0kmNqaZ6WqS0xTuQpfplSqxD/V3DGegHmdLV7U4pHQjN/ifnAD uqCnPmDg==; Received: from [2601:1c0:6280:3f0::aefb] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1lv3d1-001Wpm-Bi; Sun, 20 Jun 2021 20:01:11 +0000 Subject: Re: [PATCH v2] io_uring: reduce latency by reissueing the operation To: Olivier Langlois , Jens Axboe , Pavel Begunkov , io-uring@vger.kernel.org, linux-kernel@vger.kernel.org References: From: Randy Dunlap Message-ID: <4578f817-c920-85f1-91af-923d792fc912@infradead.org> Date: Sun, 20 Jun 2021 13:01: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: 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 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). thanks. -- ~Randy