Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2063734rwb; Fri, 12 Aug 2022 11:15:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR7o6aUKfLzXKfFa1/PxiCYH9XhwGzydR4+Mb8o2qYIuN3XB5di6JXHGpZ6t4iuAQA5+C7zl X-Received: by 2002:a17:907:1611:b0:731:87dd:5eda with SMTP id hb17-20020a170907161100b0073187dd5edamr3488206ejc.148.1660328106981; Fri, 12 Aug 2022 11:15:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660328106; cv=none; d=google.com; s=arc-20160816; b=MEXvSDfSH3K/v5Vqp9x5+DNvvJahTLea/n1kCahRTAWosqDhB8lJyutEaDZnmmEYoD tL5ioW9ce0r9Z1LjOh2EQRtog7onknWtNIcZElSw6ITuDRtPAsvVksfbCHS3UDawIQmw 8sFo8lG3ZL6D3g5N9Wx0IJj4w2JOwqEauR2p7L1f65+/Xan1e+56jM9kdJbw/yZxyEnU WDKbxnic4DFyZAL10sFvsvmalF/oOuTvL0d/KES58HejBDOzAmOjBKC703fC6c1JEuGu wTE9r5rzimZfnlRe0vpYEV4yU6hGTw8uq5ciIr391IGBZHKFCwriZszvUUVPDtUb38pw z/7g== 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=1kuZ1tf0B+TroFFOYxJQmWrPK3ACtUqm+sxQLEDf+/I=; b=gr/iF0PeLadbbKKrmcYaavFSG6xvXqxfO/Z2XbOXoo+Ae/RrP9fm0TxaEvy+r/6+ez oJ71pAYEv7aTv6PB1CIob5hEbAxHK5La5OLMuFlZ59GkLRyExGYDccChxMR3HkrWEdLY CgaMwlG3HwYL+LliNQc1P5Wh6JlU+nGR0yvPOWpXkjo+NwSmQy5NZ53kyn/OryWaqLid 0Q7mALoHd0DJHXUu1kglpEAw/Zw2R89Lvz9ThO7unGiUDkQu70JPQ7yJL6i9VvAb314j MNToI8mQo0cuAFt7zUOCoGnKxDyJm+b8xi4bUq9jVVF0gl7hCjpf80mKkRoFdlInqd1s Dz3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=eqfyJVBz; 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 f16-20020a0564021e9000b0043bbafc0129si2810284edf.235.2022.08.12.11.14.40; Fri, 12 Aug 2022 11:15:06 -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=eqfyJVBz; 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 S238981AbiHLSMK (ORCPT + 99 others); Fri, 12 Aug 2022 14:12:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238127AbiHLSMI (ORCPT ); Fri, 12 Aug 2022 14:12:08 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AA2DB2D8A for ; Fri, 12 Aug 2022 11:12:05 -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=1kuZ1tf0B+TroFFOYxJQmWrPK3ACtUqm+sxQLEDf+/I=; b=eqfyJVBz1jub5Cndm+Sjr3uGO/ cI0jFJnGAwfur5rzLm8yfpIHG2eTGIgVEdV64OdKHt4InPL+ZD1kjFOj/WympEQWxHr8aEKx9DeSw sp5P5hKjo0jfFl8Jv1Ixb4drW/ktYtx9HYfyERk1fufyNJrabzSDWY8rG4bbAv8aZ9Lzs18ZQ+mvf 1KxAvyAkmEbx2CZhjad1/PnkFMCCzDAjTcreHBkWJaY4qKG1RZyeWBXK4l1e1nImvMumBt9Tv1cQA pVyZhbw7rm9/BPjsXwtYOtqGOuDb8Bg3pEn/92BSV0GQQQoIb5tCj/q10rU5iYt48f8k88zcoWNBJ HU4RcoMg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMZ8T-002TUW-Iz; Fri, 12 Aug 2022 18:11:53 +0000 Date: Fri, 12 Aug 2022 19:11:53 +0100 From: Matthew Wilcox To: John Hubbard Cc: Alistair Popple , 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 , 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> <51d4408b-14f5-f6a8-80cf-d23cdb0a7c69@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51d4408b-14f5-f6a8-80cf-d23cdb0a7c69@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 11:02:42AM -0700, John Hubbard wrote: > On 8/12/22 05:57, Matthew Wilcox wrote: > > 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/ > > The above fix shows up in patch 2/2. I noticed during review that > it was applied to a different patch than the one you replied to, > but figured it didn't matter which patch picked up this fix, since > the problem precedes either patch. Oh! I didn't realise patch 2/2 changed the same lines. let me go and read 2/2.