Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp1392961rwb; Fri, 5 Aug 2022 00:41:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR6/SGD5ItU7E+53x6aQmObG8jQcRY2qsV2xsk5XYY4/TnSUaujv6pva7U2xIfijqN0oa/OD X-Received: by 2002:a17:903:447:b0:16e:cbe3:29de with SMTP id iw7-20020a170903044700b0016ecbe329demr5652944plb.65.1659685289973; Fri, 05 Aug 2022 00:41:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1659685289; cv=pass; d=google.com; s=arc-20160816; b=JP/8TS2gaBtsY6dPYOwKvL3T9EDyRNKKHeT1m0A9iIyZDHV3ZwVzrYXyK7+OC6uk1H 5H9tjKw/ZiRdaEFoO7WFFgswQIyGVsL5bxRabjQnf4tSN3/mtwNFTFs4C8BnUUANZtkT MbN+6VEXt0F8BzBcwAhvR51s6vTW0Ak1Yols+WSwX26q23CFPudIMJv3q3ftSjxH+nCR vIPb1PvladEniRjKG989BhVjjwgR7WC9rxtoxP1mtIZy+4B9k6by4+UIN+qLh87YTQ9d UJrs9W4cpTQvaApv2DtlzzV4bmcQdSEWjcsnWp/xxd9x13ku/GQ5KbfQUGShiIxScU9D w00w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=rGSYwpC54b4ou3wFxA+Bebb8ISu+CtgH07esc/RylgE=; b=tYKnrjHecwJAkx2m05OCufcJ8JO/E6fqx89CZJHkJPe8nf2rfBTSH0ca6jDFNy2GMg v13bhN7UQZzfWF70Ocju+fsTBin9EJh9D9v+gddswSMsKmQtzkqqTszhA9DD9g023HxZ M+gvRKW6+06deILO4gRMrvNIVu5f82hthSCo9GehEItlb7SD4N/ZKHs+hB91RfAfbEzA hd8bG1YC+QdCGYLJuJdS0EFRYpXHStfmIt3AbPnX9Seh+m52/H2MUzaxJaXgu96knzEc 6WxWgK0pIUO0nTh91iBQhGccwZUD1rnE/2FvgiFLd+eoyja5/HiJcIlMRIldNoB0jKj7 n0pQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b="sBa/K0CS"; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lp12-20020a17090b4a8c00b001f19523ebadsi4257173pjb.78.2022.08.05.00.41.15; Fri, 05 Aug 2022 00:41:29 -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=@Nvidia.com header.s=selector2 header.b="sBa/K0CS"; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237904AbiHEHfS (ORCPT + 99 others); Fri, 5 Aug 2022 03:35:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231949AbiHEHfP (ORCPT ); Fri, 5 Aug 2022 03:35:15 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2060.outbound.protection.outlook.com [40.107.93.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7449BA8 for ; Fri, 5 Aug 2022 00:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oQInFMs3JrXLf2hPAsTgUW7zuaWe2DhipNZ4tqbexoQ0lOVl8yriHj5PT7G8zs+TuM07JQm7OKZYS3r+mB/K8wpAGVgDzgczbMcaoieM4VvljVTz9QmovQNZezhorQfuGtijSbqszFcUashZo1vC4EKxGWDWwpytjx66bVhuId5y1vez1ENXETtxUlk9OBVhPWwWBjZGVxoeXNzdpZ3J76woEM9jUgSxv9/xGvC87ZPnXeuYzla15zsGYUSww8GJ1IYAHVGxN+upgT4mKT4XS6f7z/bsaO2CrD1FQ2dYO4+hilIiJYQCJFXtY42fqFf7GO8ee7crHoM5K8jxI/rHTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rGSYwpC54b4ou3wFxA+Bebb8ISu+CtgH07esc/RylgE=; b=YaUK7gGOdCnMxqjRlfHBU2oQaRbVkbr2uWiQDaotjvkhBWRd2Xr0H05XdciDbmM6v05S33r3Y95LVBikXkLUscv6LM9+PqTeD7gKSCxg9lEMkvMorc6z0l/Zgz68jr59QbIsrMmgMendKrENPrqJG150crxjW3J59QjVWOfU/1u6PEym9DvjxZ/dSZU9ibML/ghBQsJzOp9npwo61ZyBj9016bpGm0BaNUNsdwn/ddFeyxasbmJq6fGz0BsIQEUgs0VbsK1fAF7cLTufMF2Y8vn9nwYIIrR2PYriCSfYOB1y0AyfmFawVePZLdhvw7RL+1FHtqeqBWCx5YpN19nvKg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rGSYwpC54b4ou3wFxA+Bebb8ISu+CtgH07esc/RylgE=; b=sBa/K0CStWIkfiilOoLK6EostiUbV2d7APQ3j/PmF2zonqYMawNiMdZOzf3RTt+sSatNeyajOtRMPJsSQJol2Ff2GrnsLMP2kLDDhQR5DwVhX6JVaC/gcTBG8ZhR4y8KAgX8xHesyh8zXDmT9c2aLqFKIMiW98CrK+3+vwFSsHYi6zojZdtQGXB+r3wRmeUyrLlSBjHeqttuWYddNYr39l5EGGviXu1j2hYBcwEj3Xzm9BiVZKmgLuLUlQ2zWCtHyv3DvMl7Jigi/B167Vx5zQPQkpH9Ta/v0u06YJo2bzVUabqmywm08XW3Qsqv+y9TfwLV2uA9Sr951SNE00rqsA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) by BY5PR12MB4035.namprd12.prod.outlook.com (2603:10b6:a03:206::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.14; Fri, 5 Aug 2022 07:35:11 +0000 Received: from BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::508d:221c:9c9e:e1a5]) by BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::508d:221c:9c9e:e1a5%9]) with mapi id 15.20.5504.016; Fri, 5 Aug 2022 07:35:11 +0000 Message-ID: Date: Fri, 5 Aug 2022 00:35:08 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH v2 1/2] mm/gup.c: Don't pass gup_flags to check_and_migrate_movable_pages() Content-Language: en-US To: Alistair Popple , linux-mm@kvack.org Cc: 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 References: <3e20a542e756bbc0f66435c9344ff674f3ff7ac7.1659680600.git-series.apopple@nvidia.com> From: John Hubbard In-Reply-To: <3e20a542e756bbc0f66435c9344ff674f3ff7ac7.1659680600.git-series.apopple@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BYAPR11CA0095.namprd11.prod.outlook.com (2603:10b6:a03:f4::36) To BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7d3385c9-c25a-4961-2f56-08da76b5071a X-MS-TrafficTypeDiagnostic: BY5PR12MB4035:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Z+IYg5fLfAROKukTVaKBDkj4kBOl630fKecV9wuQgW7vv5Rw/ltcwS1hk+quRQzNwCKXVkvtFGHA1/JeGCKGcWeE6RM1P+Pybs97qRfez56TC0LflM+K+DSgR5uz8dlBWWuHztmfspeDVSWEeoUkPFk+9qe8/mGj0oiT5rbpS49xxvcyx6rXwRy1KW7StWQCxQYJg4O+6owkajsaVnXvKCupkKfCrMARXXSa/SZgkbp9BFqiTocRL+A42NAMq4pbVEn8LXYBqAzKhcR51O0+nukC6bXEgFs1DH839CLwovCUDB2bj9xi8UMM/j0lzhvPOUH5rqa4mUvGIEKDSseLp7DOQpxW5ngA/n4+eQOy0fTAkU3sews0ZXr6yr3D6ItvNPartBYGhWgVdNxlXeVejOF8SgpwPkDZwe3U6o6VlrCkvPTkn+8m/wcYG6m8CewqD7k1ZLH4DrFPw+hFSawDYZ3PwT3ibGwCQ+0DSlDW/W/V+L78PQJ0gAAra7+8MPsKZennr4spNT2Vl//q8r2pkitzSteYVESkdh1/V+KK/3/ohYsdzOMOVJS8UWDFDcdBL2Bg3myX5l7ZsBxnbX93A41+i64tpjvBoNz6n87rFaYwQ5QL67x4MU8g8Ii7ZGf4XszbosysdX5Fiqsu7xcQIKkrmDaSLm2T9SNoEromtyZ9Jy1r7EjLSAfgsGlXzijNlrSQmwryuCJ2KR9SEq6py38y2P+2Pw8AgJF7aLyRqIkgNn1Sl3ZHcQc1pFmBHILWCRzJxpxoQq70NGhSVBBEl5CA6J4Nmh4dV6eqiAsmO6Dw3KtQ7w/DEmhVSPBakIySTRIVeR/h/tryEK/9e0xjzA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4130.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(376002)(136003)(346002)(396003)(366004)(39860400002)(83380400001)(186003)(2616005)(26005)(8676002)(66556008)(66946007)(66476007)(316002)(36756003)(31686004)(54906003)(4326008)(41300700001)(8936002)(6506007)(6666004)(7416002)(53546011)(5660300002)(86362001)(478600001)(2906002)(6486002)(6512007)(31696002)(38100700002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VnNDQUJHNVRxcGpVUVJGdG42QXczVkN0cHBVcklra2g4dVBVaHArR09XK1p1?= =?utf-8?B?Mktpcjk1d29xSFhjNFR0Q3J3UzBDVll4OWNMOE5FeVJHc2VJUWFiU09vQy9w?= =?utf-8?B?TE1ZUng4bnI5Y1VKckYyamcySUZtL2VhWEpyVTM5K0had2xnNytmdEdCVlJV?= =?utf-8?B?UDdDT1Q5VnA3Nmow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=?utf-8?B?Q0hZOGdxTU12N1BCdjZSVmNWUnhnb3hIQ1o0TTMvRm5HM29WMUtxQlFwL0px?= =?utf-8?B?eW1IRmU1UXRicVpndG92YVEwb1YxRHNaNDZzcDZvbDhDblh4RGhNYzBVekR2?= =?utf-8?Q?gOBsL6vjPYfx4INdwzJODGug+?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7d3385c9-c25a-4961-2f56-08da76b5071a X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2022 07:35:10.9004 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: end0n3WPnJI+FxLo+z3MYLO/lXUHaIqg2FHBfgGXsZPxSHu/VpnuYmm0BhpXWUNAZ394SaT6G8zjpe8jykJ61Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4035 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_NONE autolearn=no 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 8/4/22 23:29, Alistair Popple wrote: > gup_flags is passed to check_and_migrate_movable_pages() so that it can > call either put_page() or unpin_user_page() to drop the page reference. > However check_and_migrate_movable_pages() is only called for > FOLL_LONGTERM, which implies FOLL_PIN so there is no need to pass heh, while verifying the above claim, I noticed that __gup_longterm_locked() has been misnamed for some time now. That function handles both FOLL_LONGTERM and !FOLL_LONGTERM. There's always something... Anyway, though, this patch is a good cleanup step, so: Reviewed-by: John Hubbard thanks, -- John Hubbard NVIDIA > gup_flags. > > Signed-off-by: Alistair Popple > --- > mm/gup.c | 21 ++++++++------------- > 1 file changed, 8 insertions(+), 13 deletions(-) > > diff --git a/mm/gup.c b/mm/gup.c > index c6d060d..e26ccc0 100644 > --- a/mm/gup.c > +++ b/mm/gup.c > @@ -1907,8 +1907,7 @@ struct page *get_dump_page(unsigned long addr) > * Return negative error if migration fails. > */ > static long check_and_migrate_movable_pages(unsigned long nr_pages, > - struct page **pages, > - unsigned int gup_flags) > + struct page **pages) > { > unsigned long isolation_error_count = 0, i; > struct folio *prev_folio = NULL; > @@ -1941,10 +1940,8 @@ static long check_and_migrate_movable_pages(unsigned long nr_pages, > * Migration will fail if the page is pinned, so convert > * the pin on the source page to a normal reference. > */ > - if (gup_flags & FOLL_PIN) { > - get_page(&folio->page); > - unpin_user_page(&folio->page); > - } > + get_page(&folio->page); > + unpin_user_page(&folio->page); > > ret = migrate_device_coherent_page(&folio->page); > if (ret) > @@ -1998,10 +1995,7 @@ static long check_and_migrate_movable_pages(unsigned long nr_pages, > if (!pages[i]) > continue; > > - if (gup_flags & FOLL_PIN) > - unpin_user_page(pages[i]); > - else > - put_page(pages[i]); > + unpin_user_page(pages[i]); > } > > if (!list_empty(&movable_page_list)) { > @@ -2023,8 +2017,7 @@ static long check_and_migrate_movable_pages(unsigned long nr_pages, > } > #else > static long check_and_migrate_movable_pages(unsigned long nr_pages, > - struct page **pages, > - unsigned int gup_flags) > + struct page **pages) > { > return nr_pages; > } > @@ -2053,7 +2046,9 @@ static long __gup_longterm_locked(struct mm_struct *mm, > NULL, gup_flags); > if (rc <= 0) > break; > - rc = check_and_migrate_movable_pages(rc, pages, gup_flags); > + > + WARN_ON_ONCE(!(gup_flags & FOLL_PIN)); > + rc = check_and_migrate_movable_pages(rc, pages); > } while (!rc); > memalloc_pin_restore(flags); > > > base-commit: 360614c01f81f48a89d8b13f8fa69c3ae0a1f5c7