From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68725FA3742 for ; Tue, 25 Oct 2022 15:41:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231374AbiJYPlw (ORCPT ); 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) 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.