From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.6 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BFE3C4332F for ; Thu, 7 Apr 2022 12:40:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245337AbiDGMmy (ORCPT ); Thu, 7 Apr 2022 08:42:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245366AbiDGMmm (ORCPT ); Thu, 7 Apr 2022 08:42:42 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF56E55228 for ; Thu, 7 Apr 2022 05:40:42 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id d3so7660772wrb.7 for ; Thu, 07 Apr 2022 05:40:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QcKlYTTeFKhFbeXvFpR4rY1eQ91Gsuc64svmAmIZN4Q=; b=dKnVpfDUZGYphwtBraRnaxhkf/WucWfcouKJxrkWaQ9LQSadFoBZgH/oc/xVbb0D6L 6/aupry9vrKjG+twvyIrAPRZoJbB9GOREFLQtdzhf7IYhF599WWUPYosvr6X7oc7N7sK eIICtMhX8Mv6MPeI/fR7gIsy+mx0KufjYwHwDVAXN8ScDmJ312wHPBcwbK6AKF0Qe6rm 0WafobYsOPagNpQIGBKADBl89r3xywwyc600pG3YXSUkm5pZczuxo8wzDhCbUHrnYR29 ppcbXYtvvv1iu4R/+fxexVZsS76l38JAFiKtFhtshCyDk7xwobgd0+qqYk+kT33EngU8 gNMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QcKlYTTeFKhFbeXvFpR4rY1eQ91Gsuc64svmAmIZN4Q=; b=aGeKEZrh/IrAfxrY78inCTOQY7HIkBcejdrf9l3HUwxmvXZtpJGSA0xVMXd+LIMSOR +xTt5TaddfRkvZZGYwfQMhDIcUcJUCNr4dz4Bh9cqh2Y1Uzq8QLLLaIFkH3ElbLxw5oo 9B1pNdfkaUdllxbXuTAgaV60UXp8AgVyRvAgIolwj+s8ZFhjkbWcnb0Emg1ET0gpegL0 1mVElnJbE3XfOmBmUc/iGpSjYhAg22VdMvIhtMbyvQWMniZ4WJ25pX0Frv/ORSAzkGLD gZPjtRsY1EuoMktmbKG066RrWoIGXCxjqeOHts6ocB3hRICw6y6LM0gr4jUvpNjv0kZc zOiA== X-Gm-Message-State: AOAM532Wuyi0oWTD0z8zw02fTv9iJJoWXaHa4/6C6xl2kkDWSaNZHjcz snvBNi/TvO5WaAEIyn+45Spkyi/XXPA= X-Google-Smtp-Source: ABdhPJzrQkFWJVzIyrKhRc5cnBK7+B4M0uYTzW3v1FqhMvwrHSwQ6z+Tg5vOGD7x/cPP1gqvsm9AOg== X-Received: by 2002:adf:ef10:0:b0:205:ce51:743e with SMTP id e16-20020adfef10000000b00205ce51743emr10834074wro.522.1649335241239; Thu, 07 Apr 2022 05:40:41 -0700 (PDT) Received: from 127.0.0.1localhost ([85.255.237.149]) by smtp.gmail.com with ESMTPSA id c11-20020a05600c0a4b00b0037c91e085ddsm9354781wmq.40.2022.04.07.05.40.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 05:40:40 -0700 (PDT) From: Pavel Begunkov To: io-uring@vger.kernel.org Cc: Jens Axboe , asml.silence@gmail.com Subject: [PATCH next 0/5] simplify SCM accounting Date: Thu, 7 Apr 2022 13:40:00 +0100 Message-Id: X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Just a refactoring series killing some lines of the SCM registration side and making it simpler overall. Pavel Begunkov (5): io_uring: uniform SCM accounting io_uring: refactor __io_sqe_files_scm io_uring: don't pass around fixed index for scm io_uring: deduplicate SCM accounting io_uring: rename io_sqe_file_register fs/io_uring.c | 227 ++++++++++++++------------------------------------ 1 file changed, 63 insertions(+), 164 deletions(-) -- 2.35.1