Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2508571rwb; Mon, 3 Oct 2022 01:34:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM71FnB3+gtOG5vRzcIOGHf9Uq1E+Wa93F43Jut6WRERlD9CuvXrhkoDZ/eNLMnfcv6A16Jz X-Received: by 2002:a17:907:a042:b0:77b:a279:fc00 with SMTP id gz2-20020a170907a04200b0077ba279fc00mr13925569ejc.616.1664786096653; Mon, 03 Oct 2022 01:34:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664786096; cv=none; d=google.com; s=arc-20160816; b=gwyDo4qloEC4SYVCQIs2CUASh4LF4HL0uSQs17OBE2uVH2woS9/73L+XBaQLN0RUbO g8DizTG7+bGxfv101rSySjsZ53cL/G2LvoqL5Vid005iBJ2ooQh2QDWdbsziQHjW3Gae SsxMxU9LCumjxTeq4OAumCKjR5ygN+229rznvYTTdO5mvbkCAacjCAGLGFydr+cWnXNz wiuNCAEhYu1coifnhZoabI+fbnoeZ3/M7d2OxBu4nMbBD8M1PSyCL4OQegXXW2slB1NV +J+C7UTcfiTcrahOeqE0koGtJn6TuCFdrIRo9Qmd7PYDzLFedusFLNnT8BW/pIFKuO7x wfgA== 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=gJjAzJTy7F//tKwmqTw8NKLQ7xCV4wbOtDc5MWiaayo=; b=QxaF6W5upfb50kWf4t2DzObOQMw2n8ptNU4zbBPJA7KyGcahucR4dQkRSMzhhLg1ot WD5LRVsI3PhEdvcswbE99tsOxAMD9ruQr5MRr1w7DhLbgOATWPwktQwEeNx3qa6jL616 pOygux7rbpDVsJOmTs/1yKm2+CnVVRMhAtCreLUSaGL0GVBeF4kpg5Gf6FIo0+wTaH3+ F8a2LjdlqgiBvOeA33a4PYY8c/9BN92aSJprxJUKbAlV1+BBIJIT0YXkg0BBO3M1RNGe nYmzOInipNP8+3MaflBgvUOi0fHgnkCLNertK3XX4cLYGU8wDl57TUwyPg7Ju2aEIMtJ Au2Q== 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 e22-20020a17090658d600b007813594dc31si6966027ejs.523.2022.10.03.01.34.30; Mon, 03 Oct 2022 01:34:56 -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 S229462AbiJCIXC (ORCPT + 99 others); Mon, 3 Oct 2022 04:23:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230329AbiJCIWS (ORCPT ); Mon, 3 Oct 2022 04:22:18 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF00C13D61 for ; Mon, 3 Oct 2022 00:56:46 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 11D0367373; Mon, 3 Oct 2022 09:17:19 +0200 (CEST) Date: Mon, 3 Oct 2022 09:17:18 +0200 From: Christoph Hellwig To: Al Viro Cc: ira.weiny@intel.com, Jens Wiklander , Sumit Garg , Andrew Morton , "Fabio M. De Francesco" , Christoph Hellwig , Linus Torvalds , op-tee@lists.trustedfirmware.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 3/4] tee: Remove call to get_kernel_pages() Message-ID: <20221003071718.GA1986@lst.de> References: <20221002002326.946620-1-ira.weiny@intel.com> <20221002002326.946620-4-ira.weiny@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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 Sun, Oct 02, 2022 at 01:46:41AM +0100, Al Viro wrote: > IDGI. The only thing in kiov[...] you are every reading is > ->iov_base. And you fetch it once, right after the assignment. ... and that's exactly what I pointed out on the last version of the patch ...