Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1777150rwb; Fri, 12 Aug 2022 06:45:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR7TREGYD7EzVMav9wqJa20FUZ+cjiEphuBp7O9mpymBNgPcVBqhIYcDNlzgNVpmCTfiSHQt X-Received: by 2002:a05:6402:5488:b0:443:39c5:5347 with SMTP id fg8-20020a056402548800b0044339c55347mr2618556edb.204.1660311935002; Fri, 12 Aug 2022 06:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660311934; cv=none; d=google.com; s=arc-20160816; b=Ek4GvaTwtqcv5U0hk0PIbpKIr3bCWBZMULK6vKNUcpVAUI9T1JEcYaoOiiSYbEuctI AynC/s9UnvJEdxr12IutiLzwXCpEPYlARU+AQqzLqEkIC3Nmjzy+EkYtufz/jKo40VcZ qoza9yGZlY6LR2mc6ni5Rno0gnPzmZnOepkB40eovKjNCtj3ug6HPcCpgvj8Wjgx72b8 F8AgMT5jmjKSOYe4xljnUvHexgYWXVEOoFemTlYHGgDML6ULItgqdZdW/l4Hh2fcGli3 HAPSeSij00/jSlEOOuiBUuFhBeMfFvuXVlGCPa0Edgk1i7rDGy+I8r/7wn6jF7Q512cz 5RSQ== ARC-Message-Signature: i=1; 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=4am81UbSMZH1z8CTcN1Do4Z0EoGjAhBQWlLof5f4rsI=; b=ttFzDG6aEjHjI6BkYc1VdtY2ptzL42A5VhpRo2uLQ14MffbQUeLGSHDR1HbTVlVICy 7g9jov3Kcy1UrCB/C4ioLNchUmWIv4NcnzyIdB7oMY8/JIfLg7zL1rvR/YCvP7JMSJ3e qlL9nXsmSIJ371TnkYmXLRv/2UwoL+8DDueDPZeAayIAhOa2IuOL30ZuwXl2PYNMIP3u yGvbpkhl+YYKgr0u4b6PYFPz9p9Axy8BMaTW5wcvge2i3HKmcXoL1zn9zud1cevlk6nJ 03EqvcS/CUL/k+uCboxxjxTTu2Bun9zWiTWIE0Ig3cQtlFOvlc6cZ8ojpOQjXtmzqjOK Mccg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=sna6yP4K; 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 l25-20020aa7c319000000b0043e003b39f2si1941601edq.288.2022.08.12.06.45.09; Fri, 12 Aug 2022 06:45:34 -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=@infradead.org header.s=casper.20170209 header.b=sna6yP4K; 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 S238842AbiHLM6B (ORCPT + 99 others); Fri, 12 Aug 2022 08:58:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234474AbiHLM6A (ORCPT ); Fri, 12 Aug 2022 08:58:00 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE79CA2853 for ; Fri, 12 Aug 2022 05:57:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=4am81UbSMZH1z8CTcN1Do4Z0EoGjAhBQWlLof5f4rsI=; b=sna6yP4K/nEENbmAk6Wvn0FnIF uwcXbnkaq1A9QPfcxWFLMqeYWNVpEJPWXlEsFgNzYFSjhNCo8n0fN+qHGG46U2ARiJTse6oJFJxYP esEHB+ODI+vXhcc3eVUlaE96LTLiRowMHe/Cv+yVQIVwBDV8i+XbcC3q6Cqt1fBZdYzf4nfBgcl1K QkBDWU5R0toO9dPNVEfwmr49Ac9XGljkm5R/xWpNTM1W+SR3Jw1y3QIyp6ZDVWTuIzSSVPYvK1b7c cNogU5orL9r5Y47xnEeQoPhdsqON+TRHnGTST6IslICRWoTZi8rbMSGC6FBrOtHbNb9CXnEnXFZ3Z CFwUWoHQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMUET-0029Qg-Sb; Fri, 12 Aug 2022 12:57:46 +0000 Date: Fri, 12 Aug 2022 13:57:45 +0100 From: Matthew Wilcox To: Alistair Popple Cc: linux-mm@kvack.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, "Sierra Guiza, Alejandro (Alex)" , Chaitanya Kulkarni , Dan Williams , Felix Kuehling , Jason Gunthorpe , John Hubbard , Logan Gunthorpe , Miaohe Lin , Muchun Song , Ralph Campbell , David Hildenbrand Subject: Re: [PATCH v4 1/2] mm/gup.c: Don't pass gup_flags to check_and_migrate_movable_pages() Message-ID: References: <487960bf67c7273ff5606c76f73bb51271bc7b90.1660269441.git-series.apopple@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <487960bf67c7273ff5606c76f73bb51271bc7b90.1660269441.git-series.apopple@nvidia.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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 Fri, Aug 12, 2022 at 12:13:08PM +1000, Alistair Popple wrote: > + get_page(&folio->page); > + unpin_user_page(&folio->page); https://lore.kernel.org/linux-mm/YvJddHPZsh7Lwzps@casper.infradead.org/