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 F136DC77B70 for ; Mon, 17 Apr 2023 11:18:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229915AbjDQLS2 (ORCPT ); Mon, 17 Apr 2023 07:18:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229802AbjDQLS0 (ORCPT ); Mon, 17 Apr 2023 07:18:26 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB5A97690 for ; Mon, 17 Apr 2023 04:16:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681730081; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5KNRdeLRU2Xq/n1iDZzMtTXMvfraDKy7YfY/QU65aIc=; b=i3oFxczaEt479I0iFXaRhrqLSx9P6FifoKisSNQvp7e9tktK5cHxJxAFqtr3/GP3+qQL9I nFNrBUPeyJNPD5WLlgYOR+rD9soVZlgW5jRZCfGZG+xYH4q8JIoahT5ZvWoP57opaZ5sBw 6jIV08hpzQ46euOkDOabHH0mEPAqZTI= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-611-azUJ84cEPTK-QgClO9p76A-1; Mon, 17 Apr 2023 07:14:40 -0400 X-MC-Unique: azUJ84cEPTK-QgClO9p76A-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-2f458b98be5so797656f8f.2 for ; Mon, 17 Apr 2023 04:14:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681730079; x=1684322079; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5KNRdeLRU2Xq/n1iDZzMtTXMvfraDKy7YfY/QU65aIc=; b=aXX3NXvQ3COJy9tcuvKvQ7bUZk/77sWYDQnMbWdaktt30MsDhIZEETmv0vwN2pmLLQ nX3MDuU020WcAirEh76y/c5FXMKjenYLcq8mxswfA33aHEMgnTYXvT47oocnpqI/6pdk a8XwKXkeSRx9GMupHe8aFSXyjzf7fyiEVv1guqaobyGl+IEYy+v26U/YTiCjMuU+SoK2 FWMKUGpldJ4My5zzRj1X9hs3YDTu3KwoCqPAAWKYHqGEyRPHIJGWPGsot0bZ0+SePchw Oba/kGiGhDN1vA5TzceaExcp+/8ELAVz6P/J19SkHmPmuUxArqqOlRucy0ZpbgZ0E7g5 CRNg== X-Gm-Message-State: AAQBX9fOmDooVJHgLlfjhF/XcANXtCOyBD1nxRwdodhpn8xjOPG6WMcG IUoghY1D2conMj1YT4/vQVtL2ftSQKnKc8dP2jqx2RcIVpO2K5okkzlnmko0bhCNtxNCLsjJsAo CB9y7lO9IQngVd7nsdoo= X-Received: by 2002:a5d:650c:0:b0:2f8:3225:2bc2 with SMTP id x12-20020a5d650c000000b002f832252bc2mr4681531wru.41.1681730079147; Mon, 17 Apr 2023 04:14:39 -0700 (PDT) X-Google-Smtp-Source: AKy350bNt0CQlgSAneNNoqT/xp81/MyHZrBQz3dDdnffEdIUnbPzTF+43gFytbOZ+e3kttt+3w0ALw== X-Received: by 2002:a5d:650c:0:b0:2f8:3225:2bc2 with SMTP id x12-20020a5d650c000000b002f832252bc2mr4681519wru.41.1681730078827; Mon, 17 Apr 2023 04:14:38 -0700 (PDT) Received: from ?IPV6:2003:cb:c700:fc00:db07:68a9:6af5:ecdf? (p200300cbc700fc00db0768a96af5ecdf.dip0.t-ipconnect.de. [2003:cb:c700:fc00:db07:68a9:6af5:ecdf]) by smtp.gmail.com with ESMTPSA id v3-20020adfe4c3000000b002f459afc809sm10282660wrm.72.2023.04.17.04.14.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Apr 2023 04:14:38 -0700 (PDT) Message-ID: Date: Mon, 17 Apr 2023 13:14:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v3 6/7] mm/gup: remove vmas parameter from pin_user_pages() Content-Language: en-US To: Lorenzo Stoakes , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton Cc: Matthew Wilcox , 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 References: From: David Hildenbrand Organization: Red Hat In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 15.04.23 14:09, Lorenzo Stoakes wrote: > After the introduction of FOLL_SAME_FILE we no longer require vmas for any > invocation of pin_user_pages(), so eliminate this parameter from the > function and all callers. > > This clears the way to removing the vmas parameter from GUP altogether. > > Signed-off-by: Lorenzo Stoakes > --- Ideally, we'd avoid FOLL_SAME_FILE as well Acked-by: David Hildenbrand -- Thanks, David / dhildenb