Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1057276iob; Fri, 13 May 2022 21:25:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzf9+c8KP9GFUbYB/Dly8OBBF4jTssJWKcJJjWQ6z9sB4Y3fIHS2iWuEC8iL07N1JR2qjWy X-Received: by 2002:a1c:19c1:0:b0:393:a19f:8f95 with SMTP id 184-20020a1c19c1000000b00393a19f8f95mr7234752wmz.149.1652502345741; Fri, 13 May 2022 21:25:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652502345; cv=pass; d=google.com; s=arc-20160816; b=D3gvtfGkfYkGOkeSVzhBGiYL64MyE85ujQpyTHIfguB2V2/PcdyhoJIXXmYlnrqH+m UN1CiMp1UpkZ32I5yqImBYtFjOmAigERjGswS27GKAPhmRwQe0S+ATV8OLcNNAmTJSKO Z3besUpZ2lEIj0+X5B0A+eKwEhwm6GflIbDLzs153dzfpB4ghEmiIJaJPVStaPrWFHZQ kUWEHPAM97v+XLgSYBdN8seKBPTpJcSi6vREn0HUJ/lUGgdX/V7ihRKJK7QBgeGE2hgt d+ge8ElXfUeMaSzr3G77EioAw6Tv4hCFRm/lwiWJKGN/VEHKDqji8lZfrS/D29J2OIwK zDxg== 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=6cHWJfEK8IBKczUOvQrmy0By4XYGXoFqcXhSN8RBdX4=; b=EyDXWfhQI6DAuQH6Zt5v0oNvxnDSuscX4MpkW0iBBWjnd4N+HG2WtznzaQMAm5M/Mf vjiwTIB6wFCAobkFyg7OrDtl2h/13eJr/xZM5/oIz77QtuGV3ggNml1Q9F1sio3QJ1Bo tIuh3nGo6MSPCrD57Shwnnzcv9uEEN9q0GfyjXLK+6XQl7tzaAjQ4lyyANiCVutOqP9b L/9HZ+ESn1O1cTc0lzbvhtZ0fPLVV04CLxLDsDiNL+A8y/EjaOM5vYy/asXVbcZKsaa3 jwCbaT2Kb0ndXqbnjbYeHfnvcWRzuvbTZhx4ailLeQxLwo6bfNHvJRNus0ZgFioM78sw Le2Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=k8Nf7HQj; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id r14-20020a5d6c6e000000b0020aa33d107asi5113793wrz.1010.2022.05.13.21.25.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 21:25:45 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=k8Nf7HQj; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 85BFE35A595; Fri, 13 May 2022 19:52:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229898AbiENCwn (ORCPT + 99 others); Fri, 13 May 2022 22:52:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229917AbiENCw0 (ORCPT ); Fri, 13 May 2022 22:52:26 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on20600.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eaa::600]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E52DA308848 for ; Fri, 13 May 2022 17:56:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dMprto5NmYnedloCzTWSvlX/wyYUX7cdfJvBiWbe1aDvdtUF4/JqRLGuW4OEBmpovBN2Pjw2hGsL6VVw9IrkLnckgyFoOqr0VpyhKBlj37cRECMSj87xjWu4dBFNk1r/A5UZTlOKRNhQiyh9wYwge8joxt/UfZe5pCzKSGCyGj6lDmhlW3Bi42SOfuHapBAQUDr9NnTN/56Stl2alUHoP9ZlFwyKktTp10u6NfiVQtBHSWMvXEZbT2nnVryq5i4u+oD6PMZM13aVdzabwtvmu5fUZ/l6hln6inUlfh2bGR3p+tDBtcaXew+rqFQLvjdY8Lq6CyqSTsckgrTR0eVZVQ== 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=6cHWJfEK8IBKczUOvQrmy0By4XYGXoFqcXhSN8RBdX4=; b=itfiJsp+9WLRnBfI0QzSOixdtu/dyKpnBmrVCoB8SGtjrNDIDTJPPyBiziTU5ujY2VFq4ECwkKwTUqcdK78ZUNjPrxD9XPQRvNdgsmdERUxdp5yfvURz92rP0K0SX5BwvT8s+OgGJd1Blzr9lnkvkSmsi0NGljONDg2aHgwHEmM0Of+RpxF4DIWHyYnxeFmjpr/uqU8RP2x89C+eRnb+xJUdZ+YOK/MGeGTw6YbtlykMIrS+kjm0ue45ikO8xVZOtUnQ0fRsV85YbCgs9gIi5b8w+kb7GRhK4LLXdgTFnsglIuSdQlTvCCbEUEGEw/1qeEemUuz9pindL3t2oGmuwg== 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=6cHWJfEK8IBKczUOvQrmy0By4XYGXoFqcXhSN8RBdX4=; b=k8Nf7HQjyTISiAOF/bwS86qzUpHHD7ttvPNpCJ6J7jofqNzs4m+j2z+Qa3p4gImee8LHIAxzc3EKvkKh7U9wkDJA9tVPRYooBreRkKnzJguC+v2PnWOSKVGi+crqmmtHyP1IpX9oC1tRhptHLnaHZ2osWxFTzlcaQ6MFVuCtmE0zY2Dsg4lWAttfd5uHDiwOZvNzz8M/b8GlUUJt8uoxLsIaqnv7BUIXq4mCJIu/ZJkY53tbGEZiPQ1yR1iYlksbo6TbrpBFG+RD6K/fkVNzztO7WTM/LwUgAPF7VmCkLXRZl76vstdFs5Se2wG3CZsofvoqc4nhOnpV4DRh8SP/oA== 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 MWHPR12MB1549.namprd12.prod.outlook.com (2603:10b6:301:10::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.23; Sat, 14 May 2022 00:09:14 +0000 Received: from BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::15e3:d746:57e8:4de0]) by BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::15e3:d746:57e8:4de0%7]) with mapi id 15.20.5250.017; Sat, 14 May 2022 00:09:14 +0000 Message-ID: <4809b134-a37a-50b8-4c25-44548bc1048f@nvidia.com> Date: Fri, 13 May 2022 17:09:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [syzbot] WARNING in follow_hugetlb_page Content-Language: en-US To: Minchan Kim , Andrew Morton Cc: Mike Kravetz , syzbot , linux-kernel@vger.kernel.org, linux-mm@kvack.org, llvm@lists.linux.dev, nathan@kernel.org, ndesaulniers@google.com, syzkaller-bugs@googlegroups.com, trix@redhat.com, Matthew Wilcox , Stephen Rothwell , David Hildenbrand References: <000000000000ef451a05dee0f2b1@google.com> <00000000000077377c05dee75f63@google.com> <20220513102617.c464c4f566052838e911a3ec@linux-foundation.org> <75f09063-d184-7d44-17a1-ed04be5eb953@oracle.com> <20220513161910.d1b73583cdb2e33562aa86e5@linux-foundation.org> From: John Hubbard In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BYAPR07CA0052.namprd07.prod.outlook.com (2603:10b6:a03:60::29) 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: 13fd6ab8-d7b7-4ac1-e72b-08da353dfaa6 X-MS-TrafficTypeDiagnostic: MWHPR12MB1549:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: L2b0cUVv3vLH8E+ZqaNLp0nChgQJvOdfid6wSQNQmTiFR0G/0hG4uZAN/146bc9avK0dSrefwB/S29kNLpJRYOjU/8Ry+bf7eM1whQnXCOFx61yTUeaWfH9NI8sI0wQ4zLEWUGHitPb61AIGDcAEH+eavPCU+NTGWYl2+TChYmNakOYiatk8Kou+gSpBCPM85Vkc/w5gm4ntfJM0Gm81RS36hPOmYzJfJoBMNZelpkJpQtF7l5v6H1MQVb9aRHeBDNKfpNqi/Ig96i2HCfl5HchKDntfKFhtSgm8wt4e/DanfTN3fQMHfK5ZyT+WaGt/Ib+qPhhVRntXgmgOGlyqj3b1j4ZpQ0RmgqkhHcoGbfi8SKV9gfqv3Q/n62xjEYbpQ72Wm6MnR6wmHpuyryPyJ1Rvsrtx1ua8XgbRksnoQ1V4rPsKBxY1BB3TvQ8z+2puZfzAVjdjbhLv9k878nZIE+UZ7EtiSluacITMoBTIgru8/WcBBgKwbMuvzEX7NUQHue+ttkMQUVKXMspkGOr+zt/EYU15uB76c1oq35IdUwqBIQg2TSvm4EPLujBT0Gf232Glj1R7vqh/8+XKp04/+ZYZDvqk7Po6bnG/wfo3Rb6WM6pA37gZ7ucNHQpYkejOjc4HPhX757Y2Xg98mz6fXDo13hwuFKHYv1MX4sp3Om/6biHmd2bmkIgG06kbd3QI3MC2K51gdn4YQ1H6WmmqgNBWFi2HVpHf/aF6gEONSBw= 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:(13230001)(4636009)(366004)(8936002)(2616005)(6512007)(26005)(186003)(66556008)(8676002)(66476007)(4326008)(66946007)(4744005)(316002)(36756003)(7416002)(2906002)(5660300002)(110136005)(54906003)(6486002)(508600001)(38100700002)(6506007)(31696002)(6666004)(86362001)(31686004)(53546011)(83380400001)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?U0w1U3BMQ2E4N0dsaHl0RjBYWmJGL1k4MVhrRHh0UGhtRlA2Y2VnMlZSODJ6?= =?utf-8?B?S2x0N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IQjhneXlJNDVmR0tENGdVblYrWUVLNkFhd1p0T3JS?= =?utf-8?B?bzZEVHFUdXlxQjZyeTJ2K0NIbVEvSHRLa1c0OXpNVmxoemdrRDdqdUE3U01j?= =?utf-8?B?QnJiTGFEUHlpTWVpVDhzVVNNUC95a2ZNR2k3Vkc0b09mLzVOaHNUUW05Z09m?= =?utf-8?B?U25Fc2w5azY2eFVRQjlmQUJ2ZzhJWDFFMmRKYWRrVExRZ3NyV3hKTHVkcGVT?= =?utf-8?B?ZUtXZ3JtQWtJZmJXUStiQllyaTh5OEo0bDNtaWRYTjVPVDFWWFBDeERXZHlu?= =?utf-8?B?ZnpqV3hBL0owekhDeTh0U0xNako2OTU4YWxQUUQ3UVZVSUQ2b3VtdVhnbjc2?= =?utf-8?B?OWhnczU4TitnMWJvbS8vN00relNYRjJJRXJsVkgyWHVtSG05UEY2Sk5ZYXA2?= =?utf-8?B?aTBjSXhtQUgxeVBRbXlCcU5hYmtPallmRVlYRkVkdmZaWWFUTmN4N092a3o4?= =?utf-8?B?NVdvU05zNjUvVVBQWWFQaWE0dHFOb3hHY1BlVGdPRHUvWG9RODdqREF6Nmox?= =?utf-8?Q?3z0tf6U8/haIsZng=3D?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 13fd6ab8-d7b7-4ac1-e72b-08da353dfaa6 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 May 2022 00:09:14.2583 (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: 35NB1oK1AwiG0fvv5Y2+gc92jA2XMk5OhV3h79jtznM3gNIn486dzHFAqbMVxKcbO6m7w8TAONwgpQ6qqR4g3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1549 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 5/13/22 16:54, Minchan Kim wrote: >>> I isolated this to Minchan Kim's "mm: fix is_pinnable_page against on cma >>> page". Yes, the fat finger fix is in next-20220513. >>> >>> I don't have time to analyze right now, but can confirm that in the >>> reproducer is_pinnable_page is returning false after this change when it >>> previously returned true. >> >> OK, thanks, I dropped mm-fix-is_pinnable_page-against-on-cma-page.patch > > Seems like bug of the patch v5 due to change of this > > if (mt & (MIGRATE_CMA | MIGRATE_ISOLATE)) > > The migration type is not bit type so it shold be > > if (mt == MIGRATE_CMA || mt == MIGRATE_ISOLATE) > Sorry for leading you astray by recommending the bitwise OR, Minchan. I overlooked that point even though it was right in front of me. thanks, -- John Hubbard NVIDIA