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 43570C54E94 for ; Tue, 24 Jan 2023 14:29:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234899AbjAXO3k (ORCPT ); Tue, 24 Jan 2023 09:29:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234765AbjAXO3i (ORCPT ); Tue, 24 Jan 2023 09:29:38 -0500 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 3247E12879 for ; Tue, 24 Jan 2023 06:28:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674570531; 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=jcE8aMk0nuyOp8A5rZ9P6/Lyi869xz8dmy/T7YLnETw=; b=b5wqsKp2tArvbvhMPNDROePp6kKsN/eNEFAlQCkww2MqHFrt/6IF3JdGx/UOyjvChFilPH OdF2+10eleQoowA8m8asfvQuElg/wnomBRBXjtFGPC+JbKajFh5xxRF2xctKLmmvdV7nYG HxISyFHEYX+Oo7G+m2uxnKhzzXnj7HA= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-269-kgjDZEhDNsWzORtBjhKEzg-1; Tue, 24 Jan 2023 09:28:50 -0500 X-MC-Unique: kgjDZEhDNsWzORtBjhKEzg-1 Received: by mail-wm1-f72.google.com with SMTP id j8-20020a05600c190800b003db2dc83dafso7849452wmq.7 for ; Tue, 24 Jan 2023 06:28:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=jcE8aMk0nuyOp8A5rZ9P6/Lyi869xz8dmy/T7YLnETw=; b=c/8iGGZE5ql31Spl3yU8VUGAB5p0odl9OzZtPpuNwS/LisAgK2j61kE9H2DViP5CB1 fbR4rjCd1mNgbMVx4jpRAaKTshU8yiQzbM37kDcAv6PAtNzu/2VZPhQvYoflIOCojgp4 1KmKuHGJvxNdNCoXu2Lot8lyP5/4ntQWpusek8h4NcLj75k03JVCkNQ0GAwLNw6PeMzF svF4jOXiB2266qoo2oEIf1Ofa5eX+n40a3aHhmSuZKVqtJtsf6FilV1fA99+Q3LJ6wSE BnxqlTqYWZA9N+NQ8s044GkmxFCBwONZVtDKILh9h0kjRXPMD26cOjDz8s3i6oIez/o7 EcsQ== X-Gm-Message-State: AFqh2krEW/7PV4fbEs3HeMcMPLLC9A9VIsyZBe6wR12BzykQlwoAMW6r iwu6SRlwkMCs1dmzb3aWlQyFWt3lqYWl5niS2zLxGCXoK3G71QpjZWSNYvQHuYZvfpHeF3HdF1s ECiPWny92UcbJdD5VumSwj6OF X-Received: by 2002:a05:600c:4928:b0:3da:acb1:2edb with SMTP id f40-20020a05600c492800b003daacb12edbmr27860149wmp.5.1674570529074; Tue, 24 Jan 2023 06:28:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXsvU+TzNYusrMmexwZqzE1le1hmjTrZbLX2uQALSqtbhAfUPq7shzbKGAP8syH8G1OEcV3h/g== X-Received: by 2002:a05:600c:4928:b0:3da:acb1:2edb with SMTP id f40-20020a05600c492800b003daacb12edbmr27860130wmp.5.1674570528771; Tue, 24 Jan 2023 06:28:48 -0800 (PST) Received: from ?IPV6:2003:cb:c707:9d00:9303:90ce:6dcb:2bc9? (p200300cbc7079d00930390ce6dcb2bc9.dip0.t-ipconnect.de. [2003:cb:c707:9d00:9303:90ce:6dcb:2bc9]) by smtp.gmail.com with ESMTPSA id j13-20020a5d604d000000b002bddd75a83fsm2053264wrt.8.2023.01.24.06.28.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Jan 2023 06:28:48 -0800 (PST) Message-ID: Date: Tue, 24 Jan 2023 15:28:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v8 03/10] mm: Provide a helper to drop a pin/ref on a page Content-Language: en-US To: David Howells , Al Viro , Christoph Hellwig Cc: Matthew Wilcox , Jens Axboe , Jan Kara , Jeff Layton , Logan Gunthorpe , linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig , linux-mm@kvack.org References: <20230123173007.325544-1-dhowells@redhat.com> <20230123173007.325544-4-dhowells@redhat.com> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20230123173007.325544-4-dhowells@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23.01.23 18:30, David Howells wrote: > Provide a helper in the get_user_pages code to drop a pin or a ref on a > page based on being given FOLL_GET or FOLL_PIN in its flags argument or do > nothing if neither is set. Does the FOLL_GET part still apply to this patch set? -- Thanks, David / dhildenb