Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3217471pxj; Sun, 20 Jun 2021 13:56:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqSVpbbwN5GzPpsewC6owit8Ms/QKK2LkLMgilkwaAEdlZMyZLEDq0PqaBUiPjaMSAqB0l X-Received: by 2002:a17:906:b2cb:: with SMTP id cf11mr21232274ejb.448.1624222567224; Sun, 20 Jun 2021 13:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624222567; cv=none; d=google.com; s=arc-20160816; b=L5pWkLunuNdlEK3N6WMW0Pv+gxDM6YM9NlMSzb2V6nb8UAIDNNvDOcIhP3FSFqc9q7 4ic5ZDb2pIh9r1XgrrLLpultFlrQ4guF0+Ixrlpi+A4lNfky6Ht3XL1EBR5n7vCwlKCY 80qra8qLfhmoguaAtT/0irtI5WMwZ5yIhrHDnm1qVyLm8UNJG0KamwJQzvZuhkbx+2fq R4mYXhHDXll8syeW+9CS00c2/ybddUNotiknKVquP7f+qVDjO/m3oDeB8NgVn3SzRoat 7ukqndsTkBOUHlQs1EOdheRvhISAEKiwjvZvdtQPjv7x7qstvSyUxZ/C2ywE2BsR0UWn w3lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:to:from:subject :message-id; bh=HPGDeX3n0huBMYOEU1pW0z4FdO0ZhEHFB8Bvp8hDtL4=; b=Tq8pEdlNT4y0ofBzCfHDNTP0TjSohveLxPbAeCB0IyivPWCq9hE99IF5ve6mbdUG9t fnNJPRTyP0BWTF3oDQUqlYTcF/Vy5GkztG8+8PXoWsx6bHXjJR6lDFn1P38La/BbofGv hD97FXRO0Xm4pGOYJ4Hf3AlMBjZ7WoU+8qQ/NKeiuFdkxf0LnzNdEDQnWxSMom0WA14e H1wQstbPV7rNsoxr8gOZ1u6fxyIKIxB7XWyhaphlmC8+epVmy29qDh3MAs2NO9QWNSCO A1sugYVky3zEQwwHjI1TF4AKokaG8FtMUi2f2MNGGUe3Da2XV9q7njkr3Ke/lRVI8qAf lXRw== ARC-Authentication-Results: i=1; mx.google.com; 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 30si8536933ejh.725.2021.06.20.13.55.43; Sun, 20 Jun 2021 13:56:07 -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; 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 S230051AbhFTU46 (ORCPT + 99 others); Sun, 20 Jun 2021 16:56:58 -0400 Received: from cloud48395.mywhc.ca ([173.209.37.211]:59186 "EHLO cloud48395.mywhc.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbhFTU46 (ORCPT ); Sun, 20 Jun 2021 16:56:58 -0400 Received: from modemcable064.203-130-66.mc.videotron.ca ([66.130.203.64]:33262 helo=[192.168.1.179]) by cloud48395.mywhc.ca with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1lv4So-0000CS-DS; Sun, 20 Jun 2021 16:54:42 -0400 Message-ID: <3c6e168b40ebf4e8fd2aa9c9cf1785cdd8b5e6c1.camel@trillion01.com> Subject: Re: [PATCH v2] io_uring: reduce latency by reissueing the operation From: Olivier Langlois To: Pavel Begunkov , Randy Dunlap , Jens Axboe , io-uring@vger.kernel.org, linux-kernel@vger.kernel.org Date: Sun, 20 Jun 2021 16:54:38 -0400 In-Reply-To: <7ad30cb0-3322-6c40-2a1b-27308aa757d8@gmail.com> References: <4578f817-c920-85f1-91af-923d792fc912@infradead.org> <7ad30cb0-3322-6c40-2a1b-27308aa757d8@gmail.com> Organization: Trillion01 Inc Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.40.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud48395.mywhc.ca X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - trillion01.com X-Get-Message-Sender-Via: cloud48395.mywhc.ca: authenticated_id: olivier@trillion01.com X-Authenticated-Sender: cloud48395.mywhc.ca: olivier@trillion01.com X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2021-06-20 at 21:08 +0100, 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 > Sure no problem. This hasn't been reported by checkpatch.pl but I have just discovered codespell... Maybe this addon reports more issues than vanilla checkpatch