Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20225658rwd; Wed, 28 Jun 2023 22:31:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4OJggiLlm8ly3NHPtK1VpkWkhNaTb6FGDEz6p8AVFN5AkDD5x2pyTSdjk2keadlw+aeBrC X-Received: by 2002:a05:620a:2b31:b0:765:ab7c:895e with SMTP id do49-20020a05620a2b3100b00765ab7c895emr11258473qkb.24.1688016695868; Wed, 28 Jun 2023 22:31:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688016695; cv=none; d=google.com; s=arc-20160816; b=B7BGSPb33VnrmIZQHmY3mUzpaT+07gobT5H+975YUMK4p22cMNbAAT5B1hP6KuOCX/ hL4E7W0liizF71FNNPalRa7NcLSSlBqISlceoR+1Twotj4V/xMW/jYIYoGRc0pw+bOZD PYvHSkWOSpgKqH/tMU/WJTKeZBu4CRLFR8Uf0Uwb5Lc9rlsqhHs1jxC3/UgZz4H19nvs OeC9LHMZKh71MKM+PQ2rya7BCXVERWVyPWliLTnvqScsMWU5otR1j60SBwn9V4gEPnMn RjEKMkgVPl6gNwINUCsVznKGe1j12OZK3MpuRy6kxdYerloWyjSbDH6KyG4K1RyRbc0u hUVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=4PGfqlj6YqFXq0vRyrZ5MxxFMGYQAJKkh03QtLIcFJM=; fh=iChqycO94i+29x6EoAetvZ/likV1mfVc1yM/rwDPEvg=; b=l+cpb8C1YPpYUGWtcori3Zdz+1ID/fJg7iMB0q4ZvbVK5pHBVGp/nk8lrhE9kNsjGd 29N1tBr2nnlcZFhjMgozkPdlhW/650Lb1cwFxjQHLbMibROUjIdQ7qhfed3x9CyWbIpI C2+3EbqAdHGY6LvbNgI9y3b21lynAbfeJUNDYyJoPAWp4qivvvlMo68Z2v0w/R47kSZ2 jxY1KmhlmnuhDj8lXcpKyzWU59sMoQNZtq8QZ8SbSnkMPIN5ZSF9brWWYRDoEs6ehqAN wyQ7ZDUXePULZrKVib+7qproHDoO16RD5SMYf8UqP46duDwPCXrnOCjhPjXsLQEWfcoq b6lw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oo6-20020a17090b1c8600b00259b2f52633si11269374pjb.166.2023.06.28.22.31.20; Wed, 28 Jun 2023 22:31:35 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231561AbjF2Fae (ORCPT + 99 others); Thu, 29 Jun 2023 01:30:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231594AbjF2FaU (ORCPT ); Thu, 29 Jun 2023 01:30:20 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A66A030EC; Wed, 28 Jun 2023 22:30:04 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id F29DB67373; Thu, 29 Jun 2023 07:30:01 +0200 (CEST) Date: Thu, 29 Jun 2023 07:30:01 +0200 From: Christoph Hellwig To: chengming.zhou@linux.dev Cc: axboe@kernel.dk, tj@kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, zhouchengming@bytedance.com, ming.lei@redhat.com, hch@lst.de Subject: Re: [PATCH v3 2/3] blk-mq: ktime_get_ns() only once for batched requests init Message-ID: <20230629053001.GE16819@lst.de> References: <20230628124546.1056698-1-chengming.zhou@linux.dev> <20230628124546.1056698-3-chengming.zhou@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230628124546.1056698-3-chengming.zhou@linux.dev> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,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 Can we just stash the start time into blk_mq_alloc_data instead of passing down yet another parameter?