Message ID | 20230512182036.359030-23-Liam.Howlett@oracle.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27442C7EE26 for <linux-mm@archiver.kernel.org>; Fri, 12 May 2023 18:21:56 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A644C900007; Fri, 12 May 2023 14:21:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9ECB0900003; Fri, 12 May 2023 14:21:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7A2BB900007; Fri, 12 May 2023 14:21:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 5DD1C900003 for <linux-mm@kvack.org>; Fri, 12 May 2023 14:21:55 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 33FE941023 for <linux-mm@kvack.org>; Fri, 12 May 2023 18:21:55 +0000 (UTC) X-FDA: 80782421790.27.F3C2A6F Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf17.hostedemail.com (Postfix) with ESMTP id B78AC40011 for <linux-mm@kvack.org>; Fri, 12 May 2023 18:21:51 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=ziyggmw3; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=MqnSuqfs; spf=pass (imf17.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1683915711; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=MMuXGwzfr8FrXvMOM1JZ8fiBmFIW5agQMabZbUAl1DY=; b=Mub04jDEcJac8OCypuAIZ4AolwkQL2DmeyGov3W0W7PdOFSXA8YxulbivVQIdl7dwlxAIY JlolCmyKf7Un20psKQTwM2Aqk2CBYh1tqWdrGg6RrKQ5Ch74V/oF+BdK2VMYGjWshVYhK7 Iamc2Mct6Ad5J+pFLiLKrzjzfUC2640= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1683915711; a=rsa-sha256; cv=pass; b=7Jwn684h36KxCvek8UmcPcG49+nf+ogz29zxXt0RVzCwLqDaNNzs65PBrUB3IlDaDz8kkb 2jfrUkrC9GXkbvx8E5zmIfLh4O1tvGhvvxnMLHbPznObyme6xLIhbBfRyG1vY1i76O/7Jp tLQ1idnHbqBJ4H9udC8LyPxaV4EU3n4= ARC-Authentication-Results: i=2; imf17.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=ziyggmw3; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=MqnSuqfs; spf=pass (imf17.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34CF4RZE028665; Fri, 12 May 2023 18:21:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=MMuXGwzfr8FrXvMOM1JZ8fiBmFIW5agQMabZbUAl1DY=; b=ziyggmw3Du2LRW8SFWVS8w8EtxGmcthOac+xzdzPrCbs5TwlEDUbmz3Shoo4TKdYqCdR 3S9aiBkn6dvqs5VRa9279Y7awwGr3qLiknCHuUIb08b/CDx49FXy4nwmr42kqEnjIrBx wi2WnfpXGY4KGFDY+2l5bOz01Wv8tEH2DaTcLPcBmT02r2G6JzZdXMaxG1zWkNDvVEeD hBAoCG05leLUMJSdrDkt1nFodUYmOjwhxloU2zynPY3vyXGUC0yJy3pkCSwc1XhgUAmp zLJ7pvCPaddz/TqJ/MboklPE6ZI++loKEyi9DSPnVM7sguGgqD8m9cAfe1hlZCTTLTqd Pg== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3qf77dknn1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 12 May 2023 18:21:50 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 34CH5USE018337; Fri, 12 May 2023 18:21:48 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2168.outbound.protection.outlook.com [104.47.59.168]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3qf77mjm1x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 12 May 2023 18:21:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J8rmM28DIOixAHMMLBN+wWGDMsduPd4pZFT8Q3oHWPz0AMQte0jsnvhbl7akL/J+KLvYS/6s/1tWuh7hywtsQ0iDIUfxtOWkq5U2J+lnQVsSNN6cEeoK+Q+OZP7bpvLAlAvc3vGKnad2PEgTRVVJiuj1bijg2jXQMQVRjPRjx7zboS8iJTo+5IWqG0pYIwQ4km8msuYV8MSeJuGGcbiqmwqXrTwQemRf6ENKEz2xvPjHMah/vUxQHmictSEz90gEPHwQUcnucO8o6OPkyo6d3sBxsxUmzbwKU1HXcabOKrQxucpjVKKPFjRlKxng9c4ZF6r7vkpJzbdcr4jI7PizqQ== 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=MMuXGwzfr8FrXvMOM1JZ8fiBmFIW5agQMabZbUAl1DY=; b=YktJA0pGC//YaHq9zxuMI1DNlkW+dU2f3EdLhGRpDuDZakJ0ilwu3/LyrD72aEaLFpcjvOQIG6cVHBvTp85004S9CXwsD4vUaazLNM2WqS/Yrip2ot0Dmw1veLlh8ykAoapAii4cQsuQ5z2UKS+WHve8TDs8I9tcB0qSv6BzdiMs2Cy2eKvSA98iROnj/vkWD0T3S6gAoC907KjVnvTgdydLFnZvWy9Ta2f5R926YuwtzMjgrWAuFh8mkMWQkZSoeV6JsUtoVz1XDy7RCSfoN+M+HtaIzoq4LAOIW+nX4w2I68ygAAEJlt0R+j8WQRePCEB63cV2L9xN/d7lRirJlQ== 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=MMuXGwzfr8FrXvMOM1JZ8fiBmFIW5agQMabZbUAl1DY=; b=MqnSuqfsx8iSZCv8zATq0YDjB+jnLJ4D4ctVKotTCQmIJQydrQNt1cmw6WItpQpmhpN7JKBzMB71u0iwdUHMOqwIQq23lz48IP8rgoV8a384iWm07Ju1FMkjUGTBIWHprsiCjm7nFKD+41QN/bJ+X46FJfpqd++3NNv8FVpmDmg= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by CH0PR10MB5211.namprd10.prod.outlook.com (2603:10b6:610:df::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.18; Fri, 12 May 2023 18:21:47 +0000 Received: from SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::c478:d218:8f15:37c]) by SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::c478:d218:8f15:37c%6]) with mapi id 15.20.6363.032; Fri, 12 May 2023 18:21:46 +0000 From: "Liam R. Howlett" <Liam.Howlett@oracle.com> To: Andrew Morton <akpm@linux-foundation.org> Cc: maple-tree@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Liam R. Howlett" <Liam.Howlett@oracle.com> Subject: [PATCH v3 22/35] mm/mmap: Change do_vmi_align_munmap() for maple tree iterator changes Date: Fri, 12 May 2023 14:20:23 -0400 Message-Id: <20230512182036.359030-23-Liam.Howlett@oracle.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230512182036.359030-1-Liam.Howlett@oracle.com> References: <20230512182036.359030-1-Liam.Howlett@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: YT4P288CA0074.CANP288.PROD.OUTLOOK.COM (2603:10b6:b01:d0::7) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|CH0PR10MB5211:EE_ X-MS-Office365-Filtering-Correlation-Id: f425f977-84f7-4569-b0c1-08db5315bef7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uiDGoZhcdaf5GMhQE5WxtZOpNnb5MzKd9p1KhtWpNrQY/NUtxpe8hzGWVHmiWRsNAnnUWidDr9Kd5XNChYJasDNwHAeQgqaUPZ7t1rxnfW87F+MzEf3fOvLuVN2Ve4qN9JR9RM1TwPLBhRrd1CV7NpCh5xroAUFWatkzoacnXQJ8jKEKw8w6oVKkuYDr/OG4IdqUUIy+MuK6NGQsgcxDQ23K5xXjfBpHozYHjukOnySECOdpymxmw44cEFxJr0xVCB7jhTXJ7kja+rUdGeQvN4jvW1f+dVI+CRzXhCZ6IMEo7DlvYmkj4RPSL+b6HTedHNQb3dW/8msxRTNhc+WnvoLkPH1p5W8lYjv1AzULyc5NmPr5m3u18KCx4yPuIF7XIgurMhfE4XgqTSOdgj/Wh4eC1wRseEmBCc+iapsg6F4os4mFc1eKUTOxR72AEA30Ept3ZLBHvjyEEHfFBlyAockvdJ1FLV1ofxofaXw7F4da+eZb/z+xF6btImS6tIltN6WeaNHlX8D1IhkqnFKuuI1bwgxhiij94zTJcBRXVAHWaTbOdv6PomNFfnGoep7j 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)(376002)(396003)(346002)(366004)(136003)(39860400002)(451199021)(2616005)(8936002)(8676002)(6506007)(38100700002)(26005)(6512007)(478600001)(1076003)(36756003)(186003)(4326008)(2906002)(66556008)(66476007)(4744005)(6916009)(66946007)(83380400001)(5660300002)(6486002)(316002)(107886003)(6666004)(86362001)(41300700001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZuxeGDFt4oDsdlK8xKhDHpOD5mk1ZdE0tYsC6Z6oHag0bNqDqfebnT/LwDWvNLwh1gOIloagxB+7+WrnFnUfrTSdiKDgo4hnVIPRwG9EDbYDMWHAKGxo3QWZRa1HGRX3z5tGiKNtwbNIpn1+KWdmqC5pjEZHJaNf/efVLj/JE6cFQkIJKradAoGoprwS47Ny/pRAr8NEaQ6nAif9TGYs5/Xdi9IKGdxZVkH3FpUx4zfCSvpF5Q8s6vTcxI0gfpqtVQTeis022AC8BDwQVNUm6b/vAjz9oD8aS7dAe3dFtoauFt7F5uNH0U9KpzGTvxoYLuuc3PhStOHB6jv11s53/lXGUrX5WydMrLlD7l6hFGzMjBeG2H9+l0/mWEbxPqEQpKtAzQzlTvP31JhuzEyg5002TGTqxBNKTKHxr6+lA1Ym/wcqiJLUqRQC0h+bDDcmNo+T1aa06a69shq5x7GDxzy/rebkGeO7/us20be6FpJXj4Xa9nxYVXXNAbj+MQ7Zxf/keVvwaFEtGxuANQ9h+ptiH8W+I7GWHvbt48FIZTqT4sGOFCTbJHy4YBv5Z1gia94jELJAPHHQ5XvC6OHdas0FNTNYcmQai0+vqYxiwwykfmAhKSCHU0KD7yvbQTnbni9/42E+WIeqlfqWVkGUFegtMhRuujsG8R69uwJZ0R3VwxE2macFSeJQoGgE1nIpmui716T7CgbHtEFJ98W5fU8D7ndtPbHPDQSWurSU7V5Y89+XGaT392jVYBca9uuhDFCMugsLoq/R2H9mfo+3Eka7EWu4WJvN+tqIfYI9DEapsyXK4h+vNG573DwKSn76R4gPzDGo1muiI807ORDwjHnIdIoNTlGfEm2pFUuy0YHxe1zmGFXoslFr9mNrSsBDQ2zJD8kPOC7dyACOv2L8pAKUnvzHc/Zw9r6UuDXId191yYH6J/Iyf8ya//bxHFogdFT/wdVi2mTktzbBQdiqVH7QDgAc14mfz8dvs9iyAxzp00fpXEb/tuMuUVEF5SxSfsTBmrXy7sGVooUiOhE8egSpwrL/qTm8enc1/MoY1BM256Hb3pIAGstuye/Gx8vpPC+2J45A280ChLFU6MXleO6FLE7jiIpEnvmXwRCcnuLFevP372LkO6z9B72MKncd8JSsmCRFFhaaSS54pEzw1xawrgjHrHtORGYAnfo2TS8UNW6cdyiIaVnbTHQej3aGseumxAvaivgskjt5INemLFIqWVLHAFFgTh1OOvDnVUNhECRI87JpGz9++0HplivxCP7i0gixaJN8tH/9hk3jctdeRsnd1ZMEEuHqlPVsY6u54rVCtM2lQHdX5MMJ3SHVHZDsbrF+BZF2pqMK9nTNBRVhizhbJmKba6mSKYffKTHopjpUP+8TWCy6a88nrLlxw2QplHh7j794MjuQA18a0Wos2JxXP1NC4YdrVhUXFHoqn1+383/Iy5KM6g0BhmLa9QOkFWXWArLhBjtGJV0xYW9hB7ltrxagYDRGb3oJA2ViO9zKSV8RHMNjkpwkdJei82GICjApaTn9syvZdNtbMnlmbGPIMIIqNiG1tcXXsrV1D7CbAj4XZfhdUUWfN+lWGqoFoaNPg1kNNGGlcL/15A== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: X6c64Wf7iJ9ISWmyG1rqRE/3mbTNWt/FJZaygU6vsiP9oBN0HXwLKWntWMebjUMibxsAcWqG+0qhqo89kv6dx/+gFNxIdR9UvWUF4zW1IvvcOwUiAGMlNOyA2B5WYdZm5wsKybvvsA4R0yupmsuQ5hA2vQyGUWYY8T9fUQLLjEEwxmoXattiDeMsRaB2J6H/1i4FjuUkvmF58CFgsr9zYHzfewzXkdrkY7GdNb7CdktTKHBzbB+nA8Qc+WffqociVMVNnANGZgCFcwk/QWkFYQ9YskC2rWBkpu561ImUw35b1zGBlLAlgwK8W5Vi5YS5inpKj4CjXGPPQSj3XgtlxiJP7cncgansrEmCeIGlF4W4hu3++wvbYugTeME4XZch6WQTHI1eDYl6JUMOQl7NV8zhiaEZi5ejDtKB1wdU7DPaiyRqXq8uUKiWNgZ5TxaHFtrglRRzseYtHf97mcMMDT1N7xQNBAsE/GXwDQO5YOZBY+ixC+evCLFJ/z9cNyf9QXZO5Q7YXcrfo1tBbiF+3eC0Brp6ybFshe690kQL6uSW61/0WuVClOyxxbSVzvSs14VHlR+RzDI82L/RFL8lQKMuzNYVspmQOtBEHjsXAbZvhmBI4jDFhB1/ExiybKTjtBFpikAwfVEKZeAsjp60hculEP4mKM0MtFGBg+L315dwCzGXOXeIlUZ+X5SsPvbmUnbj0KfsLH9jnNjyuhhmpN1qXA8oCD5LUbNbY7P0mESHM7jOW5/lIrdFfBx0nDobm7Xj3Ohxf1fCYAE4o//vqXrscf3R90JLGpx0DPChEarda4zBGCiVz8M6nIxp1VpsdMitPLtbndtOwczb4rGGbkDd0yA55ddvoPmQQyeOopofMUNW2/gXtMsRJ1xN9J5Y/ECfc2eWJcZNW0HKr/6rvQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f425f977-84f7-4569-b0c1-08db5315bef7 X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2023 18:21:46.8884 (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: 9eWTT8ICBa4rE35mi/tKv8sDzD/iAhuoeqK2jBDtUl/6rw2sDnERpZdWNS5U5LPd84DDJPsH6czaNuLvznDFPA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5211 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-12_11,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 malwarescore=0 adultscore=0 spamscore=0 mlxscore=0 phishscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305120153 X-Proofpoint-ORIG-GUID: Iw5rGL0JSCS5bbxnCrzjA4dMGBGe4pLC X-Proofpoint-GUID: Iw5rGL0JSCS5bbxnCrzjA4dMGBGe4pLC X-Rspamd-Queue-Id: B78AC40011 X-Stat-Signature: fmpnmc5zqz1u87z74c9mxtge38xi3ifx X-Rspam-User: X-Rspamd-Server: rspam09 X-HE-Tag: 1683915711-653394 X-HE-Meta: U2FsdGVkX1+oKs3am2FhzRCHupy5dCksFMvfWRMcyyfQMA6TsOjya/1Uk24DXBs5U2yTJgxwy7qXYCFIriMyORfDKiiF8J7Eo+DWj0udhY9LpTlLCuf4fDojonMTMPN2WN5wB3ysn1amu8SbLZwo7pRUmYMtcLQ3dU2lzoKU1CbJ8sPpaVfjHhL09+HipX98OAr/lNK8Xrc+9ZA6A9PdKop7sznOCNlt11QKRddwoDftlOCt3OXVjwAAnd6gJWQgOVr1tyzIwzIlSlW57m5aRhgnOEEbvwKo4yyn63DQc00fY+GTJ13EDTI4h5kNY+jadO9gwKzQAnmM7zaTXGZs4KPPQQjFtPRaO7sF+bpZypZZdtZ42Nj5LpN2fIxeD4b5xp/mvOSJeEZQEpwhtd/JKFizqPWlH46avotUCqK6bb34ZpTzawCBAR9DR4fjwAizjwa2gu3mR2YmsfpKjunyccycHm7OWzEYAnY3MdeeCjH2rPJ/VsOPMQvjpdzmBfyRoOm+ERKJMs3WGFGH5EFwL9Pn93MhzzWAJE1DLRdQvP3uot4tCzJNm0Sdjg5rVeAncYQ7o9/GSd4yQdsEEYq/JJxF3Zllagdu3onF4llmrS0j0VvyOOn1FD1uDvMvfTr4S391O0Ozn2fEFnxiglAXGeLgMZBjDNtzNnpy2/vf2J0ffRKiYegWkZsZjQUaU4Z15E+OU1TV/QGqz09Aje3OUa87teBl2MrPz2zgvgWdwCbPh18tn3hNSxL04wHmLKAog5HLBtu8pyygjqqJzrJFYA4W6b4HuxZAUciafUKlT7NCeLfi8jy3q7x+iz1B1uV8KpswE3Dtfv+Xf1c4RWUoxvOmHqX0uOD9OzEQw4FOXn5JMoSZNJ1/yRLLBEHO+1/UB8J3Z3ynmaestwauUenJKW3EhWVa9eGdsFvXRK4xI13M2Q+sD2b8rd/67Ffja9A+TGt5W7c75iEAAo08ltV 07KudGuB 070q3MEZzJNh8NkZN5mALa6UBMB+Ui8v75DpZmGRZRl00JIsycpUohMInK7zbONm3uhPwFy/vbbPrfK/H3GC7KwKAcCgYPoOEFrKrBCnBeAhEd+U+E/u33ckLY4d2wj9Pq/Xy3cPv07ZbnRIIwUHOf5dPyKMFWBfjF2VFg/mZW9dHMuRTAkNY4/voULjeF/C+z6UCi8horKAhgGYEN7Y4riYhpFUf8o/1N4HvMt69FHv+SBU5VwE72le1iNb0CDO6tSHY4OfzRJ/0gj9F3sY3d3molTp5Wm/BME4KN850ktPMn6LK52E2LHvJW0ckV4BAF7q7TrogKg/wdm0SYtdQKRAUKL3l08Khw4hpmyANhL11mp2IpqizRLgoXKntzpiw92BM8GYBj0M/1SWFPHr6+4cm6AEKyfvdp6AzqZJJ6Vx+m58= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
Maple tree mas_{next,prev}_range() and cleanup
|
expand
|
diff --git a/mm/mmap.c b/mm/mmap.c index bcebfd9266324..1602c854133a4 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -2418,7 +2418,12 @@ do_vmi_align_munmap(struct vma_iterator *vmi, struct vm_area_struct *vma, #endif } - next = vma_next(vmi); + if (vma_iter_end(vmi) > end) + next = vma_iter_load(vmi); + + if (!next) + next = vma_next(vmi); + if (unlikely(uf)) { /* * If userfaultfd_unmap_prep returns an error the vmas
The maple tree iterator clean up is incompatible with the way do_vmi_align_munmap() expects it to behave. Update the expected behaviour to map now since the change will work currently. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- mm/mmap.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)