Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6922095rwr; Tue, 2 May 2023 07:16:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7cvsm90aNwH1WewHodk3XT96wUDV+4LuxOQ7RlFb8U+4WdigYkwn2+d9BIDzolbRThsRW2 X-Received: by 2002:a05:6871:6aa8:b0:17a:b1ab:7f8a with SMTP id zf40-20020a0568716aa800b0017ab1ab7f8amr8180745oab.3.1683037018113; Tue, 02 May 2023 07:16:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683037018; cv=pass; d=google.com; s=arc-20160816; b=dR3ucgtHrQa5ZyLK84V1yngeZucsx2c8+pgeJWHyf1TVsTVVyJxRvof5YR6Z601wA6 aGkHjJvZSdwhsh6hZWe4jN6Np2lY5UF4TRXKlYjDnM6q+xHmkD4kqKvKUDOA+8hadRrm Sl9yrst9TrUoyg2RA9f+Nbf/wyT74n80GpmBhbcsxbSb7kePkOPq5DWcIp3ZSMm1Em3+ nYboMlt7QdVxNWrt8Slthwmxm/rAO6pvR+cjRAx4n0xr3AwiLl8BxPciC0hCis03geYR Kw9mBFJ3G3iCbZTBkuasDuFgEOAb3a5y0CJRpHAhIU7qaU7wxIERXsrlMynWvAnE1/3J F1BA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:in-reply-to :content-transfer-encoding:content-disposition:references :mail-followup-to:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=VIlO7BQTj13MxFn0B/CKKgEd78w3fyz30xNnOUpc5jQ=; b=YaIRL02/0LQszXpOVtUq0d3Gjozr3vbKt6CUsO9/5XzDa+U2WaMm4cNIaJaM3h4nCg Z+7M/cZI0JFSEHuKOTwXxdQrwRv2PAmMnoUpTHuWpcjwzTvrqyWk2n8zIJpoEM/hCVKb 4YV9Ts9qS1CBaWl/V/2ZuMydXi0Pfah3Dd8sqj10WnEjuqfYy9I0ZUVwLl1c0Ry/o9GT nCw4AiK0B3ELehjWjAAu//W8mtw2f4o6yovHbuHSZdRpSxdbxI915zFumAlVl/9sVejQ MfvxMP1TQL8QuUuQTWOWyFFMCGxR4m5X1yVooH2DV9hHq3BL6QP8AkfNQ5asm0llF2lQ 2PUw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=Iz8thI17; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="TD/zMZ45"; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.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=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x32-20020a056870a7a000b0018eb40fc3ecsi13292491oao.277.2023.05.02.07.16.25; Tue, 02 May 2023 07:16:58 -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=@oracle.com header.s=corp-2023-03-30 header.b=Iz8thI17; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="TD/zMZ45"; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.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=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234198AbjEBOKm (ORCPT + 99 others); Tue, 2 May 2023 10:10:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234267AbjEBOKk (ORCPT ); Tue, 2 May 2023 10:10:40 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03CFF268C for ; Tue, 2 May 2023 07:10:38 -0700 (PDT) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 342AKeBc027285; Tue, 2 May 2023 14:08:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : content-type : content-transfer-encoding : in-reply-to : mime-version; s=corp-2023-03-30; bh=VIlO7BQTj13MxFn0B/CKKgEd78w3fyz30xNnOUpc5jQ=; b=Iz8thI17fubJPJIY679BK6sMGYTIi9YLKgj/O4FJnsSLnn0jaHoULIyoa7+E47wQyIka qHHoAfBYUfM54szeAJueI07jwfwXWqWVgLvC+xyX9ovziwpOFKyhs+1UbIlPc8s8U9tg 4O4+Q0HcFpw8NnWc4tIDiDcu1krOIBaE1CWLY9yGL19p7jA6gc02qK1hQC2qiUKyQPGW bbMGb6H3FNS8KObcqd0nW0oT1Y7apoX9oVkoTSDTNrqcKzp/KGuhFJWazHkUlSLEnq8H 0n8DN4C+PE8GaOU/kXsORgH5ag0PxRayp6P8tZMJTpvbG5S5VzssfBFDiW1CngzrOb71 0w== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3q8u9cvvk8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 02 May 2023 14:08:35 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 342CofEK009853; Tue, 2 May 2023 14:08:34 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2168.outbound.protection.outlook.com [104.47.58.168]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3q8sp69u83-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 02 May 2023 14:08:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xz3Sht34rEz3fKurJy1vrhuLZDgQOmSmJTrmTaxrSJIttymG8KtZmH/fwRMhRwvpJgkhTHXUutb2tsiFS6nDmOiPnZ28U7RSlB5EtiSBZPAALMg/lEcZDT9MHoWZ5yn/Fb/zCJQFnDEKfLYsyIK1b38XCiwXFzhO5KTiPPoubW/UcPfcxg2zv+s6TGpjcUsRcwUhK6rNYOf+o82wgMZ9LJQI0voCWSePWMAw4gX+yjMePTPwef92EHzGP7YD+iAKfDupi8RZgqxZPCm2PpH3qZOLpXVV6K6UhgzivKaWDjDAaut0WI0dJ1nBo5zDZ30bQA2n7LueFX1wuZuDtfHWvQ== 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=VIlO7BQTj13MxFn0B/CKKgEd78w3fyz30xNnOUpc5jQ=; b=kAGjB+UjNUin5kQbwEf03zzgHQfPhj5wcYsRafyjm98XAxw1Hbpoqs/mfGOpHGohcBDIdPg4qV8YiGNbRFy4qohcqAatmmoT6e57IbZQbxzNgWCCCI01cHmHUN000Qov/rW2nke2Nk8qqDsysnDDT4cBriIkczuXLUBb02DtyTVrOyfrNw8TL/xEiqmHnbYRpOKU5/7ZpZKULsgRR1qPkxFxAsgxL3RdaZGn1lbIl8Xs/WZe/re5Pf3vgi6P7z0yD+z2yqoB7bcrHwHO4D/cmvkqnUQsFTK5NA3l0aE1jUj44YQf5vaNtnJ6wvNt/fOPGoocpF9PcsQq3Ym+qYwykA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VIlO7BQTj13MxFn0B/CKKgEd78w3fyz30xNnOUpc5jQ=; b=TD/zMZ45ZQwsUx/KBy4Dbthf+w3ddCZfpGQ19utBia64dRCnrPtH5G2UhUdFRXYVigciP4NNdoOSpvwjCcn5uDStbQ5IwJMjelmnC2ZNT+2H7hYpKr8eJSFYqi/49zBUGbsJNRJHyY3kIRU30DGGZzeifhpcuLdftqARXBqAzBo= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by DM6PR10MB4250.namprd10.prod.outlook.com (2603:10b6:5:212::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 14:08:31 +0000 Received: from SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::8bb9:2bb7:3930:b5da]) by SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::8bb9:2bb7:3930:b5da%7]) with mapi id 15.20.6340.030; Tue, 2 May 2023 14:08:31 +0000 Date: Tue, 2 May 2023 10:08:28 -0400 From: "Liam R. Howlett" To: Michael Keyes Cc: Tad , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, rick.p.edgecombe@intel.com Subject: Re: [PATCH v2] mm/mmap: Regression fix for unmapped_area{_topdown} Message-ID: <20230502140828.hilf3myxj6kpiunz@revolver> Mail-Followup-To: "Liam R. Howlett" , Michael Keyes , Tad , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, rick.p.edgecombe@intel.com References: <90777046-a420-b19f-1847-d353b9938131@vigovproductions.net> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <90777046-a420-b19f-1847-d353b9938131@vigovproductions.net> User-Agent: NeoMutt/20220429 X-ClientProxiedBy: YT4PR01CA0109.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:d7::29) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|DM6PR10MB4250:EE_ X-MS-Office365-Filtering-Correlation-Id: 0039368a-2c7a-4b72-a543-08db4b16b5d0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yHmp1QLoUqUMy0ktJ6k2ZKPHBoikM2KlxSMAkLmiLbX+NqD8jd0A8iW4jJZGFKh2XiR7svoV+YgpSY2z1Gts9cEu1q/dTHn8gKJTwO3esIq9JlgOk8CHmLGtXI/V4axw5nY0izKFMveny6FEWhFwEjbIhx9pDG9zQSIFIisI6P8BsyfvEbM7XmScG/R8qEUI0XQtwmUWZE2yevLPhkznsPOY+Jxasr0nyVcA51SqdYvamwbBRKprq3VaZp45sNZFKxeq+uh1OjNmQnm3du+b9DFUNf/kCC4/LLi02WeLYCeXPSdvkze7G6kS5Ln6XX/hWkf+KMr+38CvDyBTgq53Y8kAJYoaom49Ri/uC6uOnk+0kdBbm8TqihmtErxUlsay1d5xPFFvBZecjquRxeTwaTCZjx3yewuv/NiVXvZDQaY+jvx8IQPPeWGTyXD3HgXC1v5JBlXypKtSBVX2JtP4kwK/0wzKcZTE8N+Q6wtfeznA1Mdsdr+sDWldRQup+/KGdXj5t4k8YzMqv9dFfr0g2o0YlhWH4VykGFG7VuJFZ5t5/yIHfejQhHqowtBpIXvDYkD6fWwIypRi2XM6ppkCYg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR10MB3022.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(7916004)(366004)(376002)(39860400002)(396003)(136003)(346002)(451199021)(5660300002)(38100700002)(478600001)(2906002)(186003)(6512007)(6506007)(9686003)(8676002)(8936002)(53546011)(66899021)(1076003)(26005)(966005)(33716001)(6486002)(66946007)(6666004)(86362001)(41300700001)(83380400001)(6916009)(66476007)(66556008)(4326008)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dGFSeUNGZUhvaUlIdTZUM0dMek5xZi8yZDVRTkVUQlA3YUZzcUJzQUVyU29l?= =?utf-8?B?elZGSzR6N2tqc3N1LzhXb29oZ25ST0ZHdFkrM2tkeTllMzZTTGpMUFdpTlVK?= =?utf-8?B?Wm1hY2FvOWZ2aHZYaUJJTEVpazVnNUJGdTlMNFFBRXF0T1VSbzRJcjlld254?= =?utf-8?B?bHc4UnJsY3ZsZldpRWJQcy9GMGZJcndVcEsrSHkxWnRmVm9DVDFjQ1p3d1Vt?= =?utf-8?B?ZE03OVFyRTF2R2hXenlnc3k3RHhWNyszOVFIb2dWNkxicVhsZTFUU2dpK3h0?= =?utf-8?B?WWJyZURRQWxYbi9pZUhkdFd0bFZuNkkvend6N2xMLzZ2b2FFb1N2cHFrUTRS?= =?utf-8?B?TndzZkRnbGkzbzBDaDlsNThQTkxTaG94aEs3SkNMdnZPK0JjT3JKaEV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Z0tnZkVXb0UyRFNwTUJm?= =?utf-8?B?T1BuaFdjSDVESk9ad2E2TmdGRFErL3FScWNHR0hVK3NIT2svZ01ud1RsZ01Y?= =?utf-8?B?dFlTVUh0SWJHb3JVSnp4M0MzQjlSYkZHQWIvQVU5Nk9ZTzRCblpIS3ZZSlpX?= =?utf-8?B?c3BISStCR1AxY294Ukt3aDM1b0w0WllvUnNXM0dQYVU1ZzV0YnpiK3h6MXJX?= =?utf-8?B?aWZIRFdjQ2orZ0ZramFJTFI4dE00Ym1ieXovMEx4ZXZhTTJ4bGNsNjZRNTkr?= =?utf-8?B?SkFzOHlNSThTWGNPWDlDdEtoM01vSEZLUGwybytyeHEwR0tWaC9QZ0llOHd6?= =?utf-8?B?OXpnKzFtVDdtQUNDLzlXc29Rem5PblR4eGFUM2xLZ0FtR0lNM0JiOTFLb0RI?= =?utf-8?B?MEw0SFFnWG1LbEdDTEZLN3I3RGlYbUJYdTl1SThZWlgxZnZFNm5URTVPSDM5?= =?utf-8?Q?BgvRJzkJg+78OzX?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0039368a-2c7a-4b72-a543-08db4b16b5d0 X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 14:08:31.6653 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JHyBw599qzU40qiN9aK6IoCaxRDmM0L4KFWUcc6P3LpWu9vWZV6yjjZE4KOZ8kZBndzraVgu9zhPaVnAHBiUiQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB4250 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-02_08,2023-04-27_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305020120 X-Proofpoint-GUID: rE2mKM_I1Y2-p8mGjtUrosC2X4BsJ3WQ X-Proofpoint-ORIG-GUID: rE2mKM_I1Y2-p8mGjtUrosC2X4BsJ3WQ X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,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 * Michael Keyes [230430 18:41]: > On 29.04.23 15:32, Tad wrote: > > This reintroduces the issue described in > > https://lore.kernel.org/linux-mm/cb8dc31a-fef2-1d09-f133-e9f7b9f9e77a@s= ony.com/ > Yes, I also ran into this (even though I'd somehow missed it the > previous time). Rick Edgecombe reported something similar [1]. This is probably to do with my stack guard checks I recently added. >=20 > Apparently the issue arises at mm/mmap.c:1582, where low_limit is set to > vm_end_gap(tmp). Occasionally, this returns a 64-bit address (e.g. > 0x7fedea581000), which is obviously greater than high_limit for a 32-bit > mmap, and causes the next call to mas_empty_area() to fail. >=20 > I'm not sure why vm_end_gap(tmp) occasionally returns a 64-bit address, > or if the best solution is to just check for this and skip the retry if > it occurs=E2=80=A6 >=20 Thanks for the debugging. I will look into it. I am currently trying to revise how the iterators, prev/next deal with shifting outside the requested limits. I suspect it's something to do with hitting the limit and what someone would assume the next operation means. [1] https://lore.kernel.org/linux-mm/32f156ba80010fd97dbaf0a0cdfc8436660862= 4d.camel@intel.com/