Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2139859rwd; Wed, 17 May 2023 06:22:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5/8uu1oA/0g/VOPLsynJPrB0qWELEX5xQUGh9+GXZo89r4jUPGAlycKiUShVlunuEx3MVU X-Received: by 2002:a05:6a20:a112:b0:101:1f8:735e with SMTP id q18-20020a056a20a11200b0010101f8735emr33742737pzk.0.1684329720002; Wed, 17 May 2023 06:22:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684329719; cv=pass; d=google.com; s=arc-20160816; b=Ym/d0/pQCjY4dgC2WcSCyQXCPULxVOMFgaFfMjcT6QaLSQ8XQQ0kHkmELVwVSdTlWk SfRYkBxvfS5zEcQ7OBktUq5HWAGy3k/m5r2BRHoRSaEpYYR1+nc/AWonCBFEbUOGumDT vAOavXRk0fZcaAXojprTbt+bK2hyqL6qXzV/XeU1zSqH6kTpC4yqyBX75IldRe87uX92 1y/ZZSXEXj9Nu5fxsOWVm0bvFVOIRBgfDEZZVn4Lwclp7vL9x8oRNF/KRci+9Mzg6FVh bz2l49hJ5UjpbXsNSnO7LRAuOPDN4g3f2o98HfOa+vGXYzAziUQABoG6SG2e8fbu/EwJ bwjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qroAO/01zVC5BeUS1oPJjvMgFXQbPQ5wLZQknG7YiBc=; b=LLucNPRWz27e+8xyDGsbSAZ30PhcDKZYuNDEunTUDcA28HDWkpA1lnmeKP7LkkgOfK Q2x/CFZyOko+7PCasn53WXt5tS0XSkx3Gd3Vw7ex/UhEfivfwB2wKWZdxjgt3+08MYYs EriGDUU4AvwLZADcVMjlI+qdPDOt4SrTMb56O09aVTgmRLZ4lXUMDME4QtIkzIDL5/B/ ou4IafvkcQJ2jz2LyMD6Y7iP1HQZINGoM54iawyjO1oSEqjKNGGko55gJj5QEXUDrmtO U1OaTnG97FASvCcHl9q8XQ4eTvR1LiCD84o+wOAeUxRcSef/vxDliXbEMStiJIuc/xJB 3tgg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@iki.fi header.s=meesny header.b=KI5xLqxA; arc=pass (i=1); 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 u145-20020a627997000000b006391322d3f8si22553897pfc.375.2023.05.17.06.21.44; Wed, 17 May 2023 06:21:59 -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; dkim=pass header.i=@iki.fi header.s=meesny header.b=KI5xLqxA; arc=pass (i=1); 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 S231853AbjEQNES (ORCPT + 99 others); Wed, 17 May 2023 09:04:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231215AbjEQNEQ (ORCPT ); Wed, 17 May 2023 09:04:16 -0400 Received: from meesny.iki.fi (meesny.iki.fi [IPv6:2001:67c:2b0:1c1::201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AFD110D4; Wed, 17 May 2023 06:04:14 -0700 (PDT) Received: from hillosipuli.retiisi.eu (82-181-192-243.bb.dnainternet.fi [82.181.192.243]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sailus) by meesny.iki.fi (Postfix) with ESMTPSA id 4QLtbV1QG8zyVk; Wed, 17 May 2023 16:04:05 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1684328652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qroAO/01zVC5BeUS1oPJjvMgFXQbPQ5wLZQknG7YiBc=; b=KI5xLqxAreFfTVONtxIvWUWwB6MTDQj7RtmKmQdExNpcu0TTzvVSri6CgDzfn/Cvel5yIF peJPQn6GiZwvSCe1d9YgeARR10JKXstw9T0rA85J5gW4iNziKdRCMcnWXYP0+H6llDqTu+ dlJg7YsYYMHPUazplrk3fr+MLlrvNQ8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1684328652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qroAO/01zVC5BeUS1oPJjvMgFXQbPQ5wLZQknG7YiBc=; b=tq4IDVw8v8U/8GsVfhSpzk5/qRBC75wFpFFUJgfBv9u3M7Nh/LDCouHEa/Yf2TAbdyN9RL s9DHY+YDHwdk5UhlkrhBxeP2H2uUN2GWxD/ThDKmfJpRrOdCf8iI3cZweO5gCffPclWh3T 72d3B2jMq4cIupzPEIlKtqOR6tjzSWQ= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=sailus smtp.mailfrom=sakari.ailus@iki.fi ARC-Seal: i=1; s=meesny; d=iki.fi; t=1684328652; a=rsa-sha256; cv=none; b=NhylTHQjTF5WnCPKZ7JS9gpIQVkp7jw/Go3W19TSMVVJzM3XuHh1EGsfnax0pohXqM0PST 9D9wqdiwjRp9aDijZ5JN+bmSBC6eMjAtZznB5usfmHDH3gVQKs7r3mGmGqix5OK1JPosO8 b8VJFUZikNPWWHwmwu7R15M7dw0pr0I= Received: from valkosipuli.retiisi.eu (valkosipuli.localdomain [192.168.4.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hillosipuli.retiisi.eu (Postfix) with ESMTPS id 4BC90634C94; Wed, 17 May 2023 16:04:05 +0300 (EEST) Date: Wed, 17 May 2023 16:04:05 +0300 From: Sakari Ailus To: Lorenzo Stoakes Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Matthew Wilcox , David Hildenbrand , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Dennis Dalessandro , Jason Gunthorpe , Leon Romanovsky , Christian Benvenuti , Nelson Escobar , Bernard Metzler , Mauro Carvalho Chehab , "Michael S . Tsirkin" , Jason Wang , Jens Axboe , Pavel Begunkov , Bjorn Topel , Magnus Karlsson , Maciej Fijalkowski , Jonathan Lemon , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , linuxppc-dev@lists.ozlabs.org, linux-rdma@vger.kernel.org, linux-media@vger.kernel.org, virtualization@lists.linux-foundation.org, kvm@vger.kernel.org, netdev@vger.kernel.org, io-uring@vger.kernel.org, bpf@vger.kernel.org, John Hubbard Subject: Re: [PATCH v5 5/6] mm/gup: remove vmas parameter from pin_user_pages() Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 Sun, May 14, 2023 at 10:26:58PM +0100, Lorenzo Stoakes wrote: > We are now in a position where no caller of pin_user_pages() requires the > vmas parameter at all, so eliminate this parameter from the function and > all callers. > > This clears the way to removing the vmas parameter from GUP altogether. > > Acked-by: David Hildenbrand > Acked-by: Dennis Dalessandro (for qib) > Signed-off-by: Lorenzo Stoakes Acked-by: Sakari Ailus # drivers/media -- Sakari Ailus