From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43E99C388F9 for ; Thu, 22 Oct 2020 15:50:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BFBE32463D for ; Thu, 22 Oct 2020 15:50:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Mv2cvkPh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S368791AbgJVPuX (ORCPT ); Thu, 22 Oct 2020 11:50:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S368790AbgJVPuW (ORCPT ); Thu, 22 Oct 2020 11:50:22 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BBE2C0613CE for ; Thu, 22 Oct 2020 08:50:22 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id j7so3030251wrt.9 for ; Thu, 22 Oct 2020 08:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=0q73s/P2cLlb5CN+UnDLuRBmHYGOhXwMoBOnZ6xOr4o=; b=Mv2cvkPhLpYGFZV1cCzUTT0LmUBNj0p3DFlsNyzVneQMG4m+n6PQkpC4rekNh4WFyu RptqUlp2N32eSzWw4nG+rfqKTQ74CRxDS20CdMwbUrEibumpyKiPyhFVIXOmgN9bLByv ESAXd08V+UTLMjFjjsqZEHNt+PDZ8La3D6VcfSn6ZZnXS9pQXZsPc7ic9R7qwu7uM7UI LUSnfEvTnFcjxCSitbBYNoT8r0tPpd5g2weQ1oirJmW9V5nlQehV6fFCoSYysrN6j8WU ySBRDfF15d0kHU3BB2dy4zKtWS7NdEzI8SQQiko0V4nqt4TbCKu9cUIY6gf+ZqbCs+Z+ 0FRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=0q73s/P2cLlb5CN+UnDLuRBmHYGOhXwMoBOnZ6xOr4o=; b=pkSfZoFgVo2uftw1aJ1Lg50g3VH1Au4OGJIfxzPcqh0f/0Qdcfwy81G7LtdSBn8Lb1 i1Qw+xAXep2rkRmsm+xWF/yvsy0NV/3SD6GwU0G1ZVL9Dpl+VQ448v8Q4UBPcBsW0yrM Pi46X/PeYTax6GqjSMLV9jMxZYzf31mK0I5jrf/WnuvQv1etVeZCJ8L8P2NVcwQ3vdY1 1px+AdhQzFUhmFEXXglePHR0TZ0gHdqbFL4ZHKEIfb+m2c6mELUIZkUXWElJmEz5ll8m HGuQaWyHCdyZ+CVE7p0onjKjfxj8ZVT9QXf8jVVQllTL2+T8EJAufK8No4rYlqxoxjde QF1w== X-Gm-Message-State: AOAM532gffJojKT69qEX3pbFwSAyRLimDXnaKN+BLEfjt/0vAQwS+WKi qu6+IAfvlletsBFm+avTAXrUSC5LBZhWOg== X-Google-Smtp-Source: ABdhPJx1q/Uh9LJr0GrEJJUqg0s8vzJdfr47H8uwvJJXAzorCoYto2PvFT16ABVVkNcrl1yruYuGsA== X-Received: by 2002:adf:ed06:: with SMTP id a6mr3296837wro.375.1603381821294; Thu, 22 Oct 2020 08:50:21 -0700 (PDT) Received: from localhost.localdomain (host109-152-100-228.range109-152.btcentralplus.com. [109.152.100.228]) by smtp.gmail.com with ESMTPSA id m12sm4448653wrs.92.2020.10.22.08.50.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Oct 2020 08:50:20 -0700 (PDT) From: Pavel Begunkov To: Jens Axboe , io-uring@vger.kernel.org Subject: [PATCH 0/3] __io_queue_sqe() cleanups Date: Thu, 22 Oct 2020 16:47:15 +0100 Message-Id: X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Refactor __io_queue_sqe(). Easier to read, hopefully better optimisable. Pavel Begunkov (3): io_uring: don't miss setting IO_WQ_WORK_CONCURRENT io_uring: simplify nxt propagation in io_queue_sqe io_uring: simplify __io_queue_sqe() fs/io_uring.c | 42 ++++++++++++++---------------------------- 1 file changed, 14 insertions(+), 28 deletions(-) -- 2.24.0