Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp380733rwd; Fri, 19 May 2023 22:46:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4VbIbyKpCTakmqrr3PCjV0EmXZwTqXWxHzbA5lZJVZQNlNQGV5UU1x6Xh6y1vBeoMouygp X-Received: by 2002:a17:90a:ba89:b0:247:8029:fb30 with SMTP id t9-20020a17090aba8900b002478029fb30mr4119524pjr.42.1684561567116; Fri, 19 May 2023 22:46:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684561567; cv=none; d=google.com; s=arc-20160816; b=njdi10gapoo16Xd90Tb70BZ2qwv9QzuRZ4NVWkj4D2PyHNfwj7cFe+WzMpRVmQSZQ8 x2TMZKI9g+vO9fpln7mOMyOmWr0kyv+rpP1nKiTnMhConEDgG4g6j3v9pF5LXkzvXi/R hJTsOkn+5sH480UiAVwGbhATVNZa5On+Du9cU93DQVEBuofRZKW773HflEDYqWGDfmOx SAsEH3/d7Q6DG8CqtlM/ObP+/DhckKJhsv7B0du+qnIuEn9cX61eq5a+wCnYx1NSyU36 +YHxaZiLDuvR92S4GnVKlIquMkCIFZ+QjvzLEm3VtLIWKgTEv8goLkIJHn4K4ZDlAM2A R2EQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=XzCEspLGlKA254CwGe35oONfGtSOvg7zfEOdpWW9psA=; b=SnlVlZeRRfWJgY5La2cwWCTcntux+gEj0IqmgQjQSHaPbFAooofKaxhLyRsrhkbtk2 UFRJKn35pHG/KCrSDtjV8cJH3x/KIOKogRGax9Wh3kHvnla4WdevyfFn7L17vqBV8/om mHXsVmB2IJHkjQPgByIdiSMlrqeiokotCPtiqWoxz9UPZmDB/IDZKG7vlRL+KOgmpTEQ QGeIs1xxv9ZdO+kE2u06+20jkS6qv1xhoCwE5hx7bgwj1PDLCubwnSoqcuW+zuYCKybR IUq1bdJMksG+3zJIOqo8m//21DDBHhcoVD3aCp4T/BvVYTBz1/6LGCyM9PFikIv0jAmE yJrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gxlrjznh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x14-20020a17090a8a8e00b00252e51a9fbasi849074pjn.122.2023.05.19.22.45.55; Fri, 19 May 2023 22:46:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gxlrjznh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230209AbjETFbI (ORCPT + 99 others); Sat, 20 May 2023 01:31:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbjETFbE (ORCPT ); Sat, 20 May 2023 01:31:04 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A3AE1B7 for ; Fri, 19 May 2023 22:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684560615; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XzCEspLGlKA254CwGe35oONfGtSOvg7zfEOdpWW9psA=; b=gxlrjznh8a5Ksia6vy/ycC1tZgqKGIdLecDRkZgDtFiaihlSorcGoo2re5UWIAF8bu5lBl DgfN4wxQX/hC15it5tatUHbCUmxdCgirKUQjZBH7ltMEFwL7qIaAtdkTl0ndu8KLIWIAL5 rqz88/7FrirH1dtwhXujCQdJZ3zhNB4= Received: from mail-oo1-f71.google.com (mail-oo1-f71.google.com [209.85.161.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-497-T9J5ppVKM_Sy9LPGeFnuyw-1; Sat, 20 May 2023 01:30:14 -0400 X-MC-Unique: T9J5ppVKM_Sy9LPGeFnuyw-1 Received: by mail-oo1-f71.google.com with SMTP id 006d021491bc7-5551fb18a74so62709eaf.2 for ; Fri, 19 May 2023 22:30:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684560613; x=1687152613; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XzCEspLGlKA254CwGe35oONfGtSOvg7zfEOdpWW9psA=; b=AT+DzecBh1kwZDTyJECzDWKmz5VVQgbh8+l+k6Z36RdEOVwkuk30VWHzgPNx6v85PX Broot8tQUg8Qz9U4m5RfZPISUt9uARXcKKfymvG37EdbDbyo/1Rj20432ZHxiBj2PjCY bl0sWb0h9NsUJ7A4eyMdqMOJoePjUYNmj9N27HdSzKdcdbRHSxicpSQvIfryy+UwYXHa dlrS2TCjiWFRhikuV5gNqSECohPn99x/qpbhxJzeSdYEmWNk+qUVz9n341g9pfo0VXjZ nl/euDUWMh8UrGxZJknAU+MJYDg6roeN8O2x2S3yzfnKdrS3qElY+EzHmgy6HKw0S5JB OO5A== X-Gm-Message-State: AC+VfDyx4TJQ3z0oDnNpP3HfApUHC1ht/judHmZVpMEMADd2w6uudR9h 504X/EqBTfmpXGkK1DIP/gbFcmbGL9TNdU0cGm/JGtaH4lsXtxU0DQn2FFICfYwF7NzSeoghlCS yHEgA3SUcCOaaqFzyI2XUnw7sXQjor1FAs7Q= X-Received: by 2002:a4a:2a56:0:b0:550:ab9f:ae6c with SMTP id x22-20020a4a2a56000000b00550ab9fae6cmr1939164oox.7.1684560613395; Fri, 19 May 2023 22:30:13 -0700 (PDT) X-Received: by 2002:a4a:2a56:0:b0:550:ab9f:ae6c with SMTP id x22-20020a4a2a56000000b00550ab9fae6cmr1939150oox.7.1684560613112; Fri, 19 May 2023 22:30:13 -0700 (PDT) Received: from localhost.localdomain ([2804:1b3:a803:7f0c:32e1:e970:713a:f05b]) by smtp.gmail.com with ESMTPSA id j14-20020a4ad6ce000000b005524555de56sm365494oot.36.2023.05.19.22.30.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 22:30:12 -0700 (PDT) From: Leonardo Bras To: Jens Axboe , Peter Zijlstra , Josh Poimboeuf , Palmer Dabbelt , Leonardo Bras , Guo Ren , Valentin Schneider , "Paul E. McKenney" , Juergen Gross , Yury Norov , Marcelo Tosatti Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v2 0/3] Move usages of struct __call_single_data to call_single_data_t Date: Sat, 20 May 2023 02:29:55 -0300 Message-Id: <20230520052957.798486-1-leobras@redhat.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes since RFCv1: - request->csd moved to the middle of the struct, without size impact - type change happens in a different patch (thanks Jens Axboe!) - Improved the third patch to also update the .h file. Leonardo Bras (3): blk-mq: Move csd inside struct request so it's 32-byte aligned blk-mq: Change request->csd type to call_single_data_t smp: Change signatures to use call_single_data_t include/linux/blk-mq.h | 10 +++++----- include/linux/smp.h | 2 +- kernel/smp.c | 4 ++-- kernel/up.c | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) -- 2.40.1