Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20307327rwd; Thu, 29 Jun 2023 00:00:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7XqiqhriPbXR56yeaLEE97f0GXo7B2FCCgnBerLkvBXMIEwUtFISSy3DLEEsDMrdznTaJV X-Received: by 2002:a05:6808:8ef:b0:3a0:5802:1b0a with SMTP id d15-20020a05680808ef00b003a058021b0amr23560180oic.25.1688022043992; Thu, 29 Jun 2023 00:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688022043; cv=none; d=google.com; s=arc-20160816; b=ZtMs067GFmd0w4XDmq/XpIDUAnmuW5TzP01pDE4/WVa93Yuntl7VfNYE0e7qg0DTZO g/JA6W8ndERtxfbIMKMXo7ETPovpLCzCsWQuUpewywNSwr0cQoW1nnXNQfJwN4wf8gDj eM8nOLXcKiO2PLeQtU7tkrXSINjtuCNmtQX5YZMd+2Jl4Zbq7mUdCsuRUKEQNYefhON9 DdGtOxdUJbLX6Sgz7AF73SgJi7LIU2Wjl5UveZe9bNYKUTciqxZcbukMrgoiXO/uAKNe AI01UQDD7HCGlqjhFCTjOAMVTB+rr6ZmA8xvn3jUqlOcD/prGHfHtd+9waHcMCVWsfEJ kPMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:mime-version:date :message-id; bh=FAb3fF9ns2aW/Ye6thttAMtGAEmGEdRMhxVjiuwY0dw=; fh=E95mO6Y/k1vJEHpyYgO2XiaI84qGOmOvOZcIC6NX7eI=; b=JTSx5T+OCoPattl1EW7W84SGI97FRQclU99hh4/GYrbO3liiWUnCfFqCvof0WD8/JX YsHiwDva/JI1Qel/C2akbLIC6WEZiSK3pAL4AkarVBQylSZ3dflxxgyOuv5ys+UZ36XI AmWC/cB/OCxEAMBBVUWZLcD9Djjv6wtV3VpSLNLIpE/ON3hmF0paseRUY8/Lq5eWVJ9r 2wPNx3bq0Erx0gouzn4EckMClwoNAiRxjkyZcLUnR4j0BopsO5tJPe0N+iJClnqFeZy+ JBEnG95z0Mn8GrZzfeCBESz/1U9cwP/q1HfarR+stCIgJdGQDnLtKqQQjAlPwXuYuTbA wUew== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f6-20020a056a000b0600b0064f78c32b89si8245697pfu.95.2023.06.29.00.00.26; Thu, 29 Jun 2023 00:00:43 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232012AbjF2GqU (ORCPT + 99 others); Thu, 29 Jun 2023 02:46:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232276AbjF2GpO (ORCPT ); Thu, 29 Jun 2023 02:45:14 -0400 Received: from out-55.mta0.migadu.com (out-55.mta0.migadu.com [91.218.175.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38BE42D63 for ; Wed, 28 Jun 2023 23:44:49 -0700 (PDT) Message-ID: <585417dc-674d-5efc-c1dd-417ba9092228@linux.dev> Date: Thu, 29 Jun 2023 14:44:33 +0800 MIME-Version: 1.0 Subject: Re: [PATCH v3 2/3] blk-mq: ktime_get_ns() only once for batched requests init Content-Language: en-US To: Christoph Hellwig Cc: axboe@kernel.dk, tj@kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, zhouchengming@bytedance.com, ming.lei@redhat.com References: <20230628124546.1056698-1-chengming.zhou@linux.dev> <20230628124546.1056698-3-chengming.zhou@linux.dev> <20230629053001.GE16819@lst.de> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Chengming Zhou In-Reply-To: <20230629053001.GE16819@lst.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On 2023/6/29 13:30, Christoph Hellwig wrote: > Can we just stash the start time into blk_mq_alloc_data instead of > passing down yet another parameter? > Yes, it's much better. Thanks.