Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8672008rwi; Tue, 25 Oct 2022 09:24:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7mMQn0SprjNVBcbKxqLZypo5xe5iwx0VTLoABM/mLhZRrjdl9LslZpBB+Y5PUoBLRk6x+a X-Received: by 2002:a17:907:75d1:b0:7a8:291:2050 with SMTP id jl17-20020a17090775d100b007a802912050mr10253360ejc.287.1666715052807; Tue, 25 Oct 2022 09:24:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666715052; cv=none; d=google.com; s=arc-20160816; b=KD91WUDKFSh5f+TA7oeLXW3oVxlo27Zi0YWicIbmn2XDEjaGAlnYH91X8bkGJD3hgG 8utykIS5liRQrBFc7c2N/bt/lAixASoojbRMNcMYyEAYqCKMKKJGVTX1MpH9TY9kcNzg YJkHjpNMLxzKiiDdE1dY7IxP2tzkBouHIO9sfN1iI35eBNsl8viCttIpy58PJysirbgb sxjb/7KC4aaUq51QZOt8QjwuIbKoU+TF+kEOSzNBRYTjXahEGh73IC/6ATFIM1r2hvEp ANYFWMS93N8YNlxm2lk0RV8Kp0Ro9NyEgjrl17Ni8Qqdie5mobALrABMPnDWkTSzIrIG d6Tg== 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=uyWqy7uHIc7mBgvRQ500Iier3iz2OAx4o9eZyzb7XFY=; b=fTMbWNM6c2SANhUikALSAmF3F3tQzwg4Z3PDk0hPT4p1KmZRwo5+WePUygOenMEXK3 +NPDkK8ldnPoCNMQLtU2H3GHIwNOgUOAdXif/6r8wNTb5rPg7gGpBS2A8NOkb4b7pxUJ UYKWAEOYzmQxIjV3PSA94aRsRLYKwPZ5snUMtTmcdGVPHiT1VKcn9HjTB619U44Vrjbe fjpcf+hNe08YAzd8xdYeCqR08/1YjYpZ7a/Y0snlqCcupyl7IUowZc5Uzqz/Ej7dRs9H xRs0Uikt5FPQrlTpWKECHfl+/xy7V/WSXzJhBdH08LXPQYxmcuQ+PBjN55NfSRNtTfk1 om9g== 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 x8-20020a170906440800b0077fb99b8cfcsi3003716ejo.301.2022.10.25.09.23.47; Tue, 25 Oct 2022 09:24:12 -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 S232957AbiJYPlw (ORCPT + 99 others); Tue, 25 Oct 2022 11:41:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232830AbiJYPlu (ORCPT ); Tue, 25 Oct 2022 11:41:50 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EA555AA2B; Tue, 25 Oct 2022 08:41:48 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 5313B68B05; Tue, 25 Oct 2022 17:41:43 +0200 (CEST) Date: Tue, 25 Oct 2022 17:41:43 +0200 From: Christoph Hellwig To: Logan Gunthorpe Cc: Chaitanya Kulkarni , "linux-kernel@vger.kernel.org" , "linux-nvme@lists.infradead.org" , "linux-block@vger.kernel.org" , "linux-pci@vger.kernel.org" , "linux-mm@kvack.org" , Christoph Hellwig , Greg Kroah-Hartman , Dan Williams , Jason Gunthorpe , Christian =?iso-8859-1?Q?K=F6nig?= , John Hubbard , Don Dutile , Matthew Wilcox , Daniel Vetter , Minturn Dave B , Jason Ekstrand , Dave Hansen , Xiong Jianxin , Bjorn Helgaas , Ira Weiny , Robin Murphy , Martin Oliveira , Chaitanya Kulkarni , Ralph Campbell , Stephen Bates Subject: Re: [PATCH v11 3/9] iov_iter: introduce iov_iter_get_pages_[alloc_]flags() Message-ID: <20221025154143.GA25128@lst.de> References: <20221021174116.7200-1-logang@deltatee.com> <20221021174116.7200-4-logang@deltatee.com> <929ac68b-cf07-8df6-e589-49b0576a50c5@nvidia.com> <41e621bb-e836-4a86-e6db-0beed19f5ddc@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41e621bb-e836-4a86-e6db-0beed19f5ddc@deltatee.com> 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 > > Just one minor question why not make following functions > > EXPORT_SYMBOL_GPL() ? > > > > 1. iov_iter_get_pages2() > > 2. iov_iter_get_pages_alloc2() > > They previously were not GPL, so I didn't think that should be changed > in this patch. Yes. While they should have been _GPL from the start, rocking that boat is a bit pointless now. We just need to make sure to do the right thing for the pinning variants that are going to replace them soon.