Message ID | 20230512182036.359030-19-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 2EB02C77B7C for <linux-mm@archiver.kernel.org>; Fri, 12 May 2023 18:21:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B78D7900002; Fri, 12 May 2023 14:21:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9F029900005; Fri, 12 May 2023 14:21:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 753CC900002; Fri, 12 May 2023 14:21:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 579DA900003 for <linux-mm@kvack.org>; Fri, 12 May 2023 14:21:46 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 34B9B40FC5 for <linux-mm@kvack.org>; Fri, 12 May 2023 18:21:46 +0000 (UTC) X-FDA: 80782421412.20.0D04231 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by imf25.hostedemail.com (Postfix) with ESMTP id A7F4DA000F for <linux-mm@kvack.org>; Fri, 12 May 2023 18:21:42 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=f0qvYQeQ; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=m80POWFP; spf=pass (imf25.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.177.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=1683915702; 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=NpwcPm1GcD71KNuEXeXQ/C5WFCoC3jHOpQsDf+skUYA=; b=49gPHEXUFEWLl1XKd92HYKAVpV8Zs+EhvF6aRMnyjSysz0G7ieP+uGWTfPGb1iO+0ocEIu I8ZekSX+lrPM6o3XH4tj2el6oAwv71kfUGCdp1PzTa4L00Sm++PFLGAMVZ+YHncRPmnMGa Qq1fYmB9pg7+3vqnh+mrN1OYwwlWWDw= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1683915702; a=rsa-sha256; cv=pass; b=P3EwcLGbGmp/oUUJXvs/l0pUW7JbfoFFpGtphLjw6++c6cdak6kh3IENWb13GAmidbCvaK /RIUOmTKBH/Py+shFkvEDQfyJu6BfAB/hsHJ4DUaklCXo/Ml5sldtf+V+OmoFQgPxWZHnO zCFyaATuK0d/642iYg+I8Gccx9umpBM= ARC-Authentication-Results: i=2; imf25.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=f0qvYQeQ; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=m80POWFP; spf=pass (imf25.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.177.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 (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34CF4KR3002765; Fri, 12 May 2023 18:21:41 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=NpwcPm1GcD71KNuEXeXQ/C5WFCoC3jHOpQsDf+skUYA=; b=f0qvYQeQZEnlj6nPCRw/wQHw7OfkKvrzbnw4+T9/o9E/3XJhK4ejJO3EaEsBaefgvSRW QQ0XfdM7eEXbhYwkh52sKvWxHCnhDlmojEkdzMIJZcbytM9aTGInq1v9sFm9Z/PR5kEI cjd7MaJhzFSEegElsPwqEyOHjJJvhJGWjhnYi8Zx49Op0pJKGRldocpwQyWX4RTanOIZ fuwj4GB4x3oXFcFC5AA2mgkMmiWicSQFf/zR7rswawbBLs70RpKLdHTal9hn4BFVtGvc zGfYIIFUduCwSPkGC3xhNOeirrolO/PdVOogsP4HviyMNFY2AOVvn9L/XQgzquPTxXC7 Pw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3qf777bkwj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 12 May 2023 18:21:41 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 34CHe6Ex014369; Fri, 12 May 2023 18:21:40 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2175.outbound.protection.outlook.com [104.47.59.175]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3qf8316c7y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 12 May 2023 18:21:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GGQa6E9hvyrF1ptrRUrFohxBR9TmZkp4SlKhGk+tgy02alvw8DUm1XwUK7IJUzgcbyKhBAdQkBJOKXVEID0RpIS/9fu4Z4i8EDDpsEVKmo8V/jwZXIZOq2FwD4/InJqH50R9aNjrJE0qc6gjFmexRmeRYR2ob3+fjDsGFQ2eLwCJ7Q/+f5Ipm9R7w1JnsSgVSTNEQIGXdM53yg0W1/VgIs1ZLnbL4/HP1KFRlN8eSX8FB2IZeFc29u6XG95UVzmKccHFTJdmDlWmziGvekwwYmkNVw5ojmZMc0tdr1H2f5hJRHT6A2Z8vZnv5MTlKeFTB1BFz6vWruh0YcDWXm6bVQ== 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=NpwcPm1GcD71KNuEXeXQ/C5WFCoC3jHOpQsDf+skUYA=; b=SdshFs3zXfvOKtimhW1CDscG29kAhlFhADfrgiu7Wd106gVSc56byjlpbndYm8KAlGAnH0EoU4YE0AnoygmQqE5G6PlACgIJWzmjbhqfSndThJhWf/nDgygOnJYFGE/+H4MkGJOGxNgGawhvzn/ksuXSK0bAsXFcUzSOxMDYkunZ1Z8u/UbTVnFJx9Cof6L7m/JtFJ0j5VRIIEbkSCUe4Aq+KI6d3SYnQfYFtj6rmVO4LMw6vGsWtWXZlmig0dNdTIa55+eonCOkcPsfV2uQPdFaeZ81y4CQrvfbq5i7SjKr5I0YJUrAqkfMu7EB5ZK1sGv47lMnH1SnwJGWgyKVwQ== 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=NpwcPm1GcD71KNuEXeXQ/C5WFCoC3jHOpQsDf+skUYA=; b=m80POWFPk8tjrfWrg1nHXKjTdOwE+eoyG1nQ01sXB04T7TAy4jy+rNjHgr8PitssLkl9TLBtHIMk0cX9fr3w/dNZFbpkjTJpsGAN4Xs4o4kUTsXYflUwkql8jdEejl543R+pCj48YXEBmBUye8RcZvA3+YcxG/HvspL8/3lx6u8= 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:38 +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:37 +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>, Sergey Senozhatsky <senozhatsky@chromium.org> Subject: [PATCH v3 18/35] mm: Update vma_iter_store() to use MAS_WARN_ON() Date: Fri, 12 May 2023 14:20:19 -0400 Message-Id: <20230512182036.359030-19-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: YT4PR01CA0076.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:ff::20) 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: 0c3b1b4e-032d-447c-5907-08db5315b974 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xym+iGjq1oMyf4HxiGUy0TPEEiM06k8BXBSRIr76BhjnSvvLw4j3U0qA7s1+2k1jPhc1IQOwFDaDgRM0uqEAJScwFmGDNfLKZsJ7MLXgJQloAl6+j1azwZXH7thdy+wz3wSoRBrRSMRTk6oyH7Le++GsVtGlnrHPBmBr/S3WVVpCHn1Rtf1nMhl1uAcu1iDGTVdYYEV65u2Cm/PyuiAtpMZbZewUA412my8XFOntl8oRZqfgH2vcKlbnxumtUP3sPK+qTc0lLtlJkj+Ck/0dN8R8BpbM6oGz2rdvSEz9Eu5h5RBvSATWr3Ez23V7/Kbh6AZcdRDsM912S1EMwj5MUWicwuWNzz873odyzTKVdeH6TeREUyJOLiOemYBnlNxJpYyrbnwcvUrIBMNxskmRAyvYyVVlA5Bfqje0Gw/Sy3AoyMD2YDbRhE86Q4Bc3xy0H4G4+3M0Gp6OjoKGCF2CgblUT/Ysqpfs/h4W2bQmoMKLTLOKaZ+ie6bTnyTTVhA6zOiLkSY25+h2R2EAHmP9XkYjRzk/1zv5I3zOC6hdck2/4hpIRO2+gZBqp6Fj0cBW 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)(6916009)(15650500001)(66946007)(54906003)(83380400001)(5660300002)(6486002)(316002)(6666004)(86362001)(41300700001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ImD42Z+Z0wV3PLPnP/HeT17jYRFW5djwI3WWL38uXuu9sszmrAqqtv0JyrQ2P15KyJTx7LZDsAel+y1jUWZwXS0Xj8g3ebCXvQmcD3n6V2TN2wQbDH1kF2mIP/8JQxDJjhkIkcwjl5LVnO4N1FEIV+e2rgEY02035tUucUXK0n1KYJAc/z1Eu7gPt0dkrSjHysXQIuooRL1JNRy401FRyDcWVBxo40eDpcTvNlIZOawbpyLYFjKc46yRA/JjWp2wGjY9INbknhZ4+zNnsWTFuViN+49hqA8v1bEMDf2woI1YUxV9rJymEZIwGoXRF+FhScwvefOqLWBZpC0t7OPHYc9wgPvDVYCvFgRFtITHvsF7TENtUNiKG2xoAYu07OZOAIhDNhXAQpJNiQtD6GRTR6QXWtfNh4rgMxCcW9a/+i1o1SLkxExoP9yUV/4Bveepp2zt2QaGK44ccWoHgIdUty6Pb6/eIZ3/3HCgWMW7hSBx8eQBWI3bh39/kA67U3BhDfdV0zHiyx1ffQ6NlXxRPbm5ATu9o8ewCLmbzplveWKlpfFA23Kp1DHySuv7CUWOetwcz0Xgz0OoZhrg2m6aWx5V+lh8ANk/NH0/XiBbqtg80rma2JaaFgY3OsuV//8WdlOAyWWUyV91qwy7jPTZ1keZHIi/wM8VruBiEnmgU/oG0FK9w/GzhspXfhgKkt7jPr1J7TwvsdFn46EFfoqsULfeyeTHCGRsZ4lbQCIQ7UP0KgRC5kiHbftMstyb5wurwCESQU26WDLCrkpx009dzm5Ya3ERKIeJpnPsZUEjK2FSMBRLUIMASAQT0cWVfbepY10eIF1m6yXl+UyR42xrBrX2+8QT3EWEcQxlhIHoELA58jUG6IYx7id+xXzUhxE9E/l1x/zQYSdtY6+pKV4uOXmMf/Ih9EDl9tyAj+UfFcGEUspvafb/IvndhC49svvDOlfFpthAkvbYYBmNBShrwLnmTI0uxuDzl9HEQlirCy0XRjtpjB4V0nX9+/YZ1XA6hhPPwrECdTY+ACznBEScu1cgiW5H08OwSDV+HG5/MiHkewBehkQ2DOVggcl8bI+JgjJBO0gsFaRBoxFf8LIa/oWMySuU4gtRHSs+uLhZtcJd6sLK2FTUGFeMsGnLc/I0Fk5P1NzR2RRuI6PL0tnBDSMcZ8ppgb1YUVyDtomthRJBU9V/LVghdZphjaePXEfsFG1WM5YjHxtheIeB+ylIWTuJSY4cVc8nrnSQxlvecTXkEDPICw74pvm2mmPV2RTvBC8Rczm2jjjGRvbjm/xiXju6+1AyqlM5OxoYkLkOaCS5h+Bzik3woMFj3pqLMbKKFD8nZKICt5Ena+5fVgcpFn56IrpSbM0wIHXd6R7CZwaE9UDZkLTFt3UCGHcG0wL15l1blqn8oi+ApqLmr2txfGZ1qdMJb01o8elx5haGEWwAhK1Z6pJginJIf2OB39ruAwJu4arxpmExomSFNLgQOX0boh5NK3AcRwSbVncOhjZKsa8pNQSCK7ewKnyq7Zdxt6mv5bQ5dLtCrmEpQw9elS6N/LbLbTax1+3ZpUXQ0LqnMCswA4Y0ixCnRnMTnORbC/G6IGNj6a/2k3HWr9ydAg== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: Q2OF1G5U/xAKb0WjYX8WbBxlLCOmXx5OsMxQ+2dTT40D2XKMRTwOZO/CQ3hx7DSExbiL8hHNeDfB6wIJW054sH41xQkcEyDlR4bkrpjRQYBBObxQP6eIMQPTXNkWrPc6wFGofXYncJA4WSl4n2WBWo+4hiLM+YOOimDD9NnKT8ricpC4MKO/Yp2QPc+yMt09C5j9DbJmcmxzhpAUrKuyeWm4C32rrt1PBEaryiQD6z6WW88DJ/Bni1nx+BTzrGHKyK7IjHkabe+ymWz+W172qf48a5eyqkmJYWlSwb4uEp5zp2dRE4an/PEU4w/ho4zTcY400U4+4eF67sFy/SmyNkXJxb80iyABHvNCg04pKvE22lDK/4DpHD3QUgL5z3cGf+xKDU5Q4YktBEb6EbBCvRVDoBuiOv3EdRKW1/Rq4PzI3NJt4Lj1841YSOgQG12Bhmo5cpwOMwyuddoCHNdPhCCPNX6hdxOvfUSJtbs4JoJGjqrYZdsXC/VDmYdSgM489FFUHiPZ42hg7NluaYHNgCOsaR8qZU7xn4uJbJVsMf7s/dayPTirwENwzDrR43HHVNbVqbsBxZLJsyfpjmYWzcwOJf4zIg0mXZ5jAiuWGQzhO208RekJc048s0Ybk2th4jBZlHebvq8LBtTlWdujLciyahism6Zxl869jpd41Nen7WRNSOhG79x0D5G2elM2LzduX7PjUIY4SeFtKWG3B1HkbPDV/Sd2SAXCTgFKEKSF2+9PpZwxyU0OPptsYaijQ3NpNtX77MdHuKKF7QJZT6WFmdHJQg4jz7NRagu/CFg3hnljqbvy1vdJQIKFBcPg9ikKYnuozwM8FqutdSbJlBOKhCCFKYuO6c9SaDngqj8F3M3d37XolkagDQTa9+200KreosE/tgGk3olgNtmvAZxHi7HUX33Bkqcl5pgwkhdVnFaMO6XxCKAkH80IXh45 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0c3b1b4e-032d-447c-5907-08db5315b974 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:37.5598 (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: tbAcE22UYR2CNgpWhDdG4q4nJc1SYGHftOkJd5MGo4UVswR3u35mP+qmkyxBo+w4mtLxiK37+hhgMh12uJl3Zg== 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 mlxscore=0 bulkscore=0 suspectscore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305120153 X-Proofpoint-GUID: 0bu4JhqgTqYzhwYItFJNFcRu9SWm6LVb X-Proofpoint-ORIG-GUID: 0bu4JhqgTqYzhwYItFJNFcRu9SWm6LVb X-Stat-Signature: ghgjx8c4j5fhr5t539754bauz3b3u7re X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: A7F4DA000F X-HE-Tag: 1683915702-176946 X-HE-Meta: U2FsdGVkX1/6nKwuca+7vw1UqPn4ltj3UeY9DvqNrRnKr1GOUNxlRqKAuagbL/G7Wu/oszSPXATSefBkWXli+Bg1CFFgFN2CMAsGKQpjFi+BgTE9P6G+FnLb8tfKEMX8n/zDR/q8hY3bRe7id38QUMccjm8HDIeuA5DeTN5e1aT0d9L/dHEFaH5fTaX+b4GW1Xi3pmTovzdFUEo0jtZTYmXPEesflVbmJryH0//zWHqJm0HELW1H7H1CorrPmwQKoye1g/y28XY0c8nF19DB1LFDzFEkLnU1tPCxQNS6Z8ymvkSSLHtOdZcQLmH3qYfYwyK40bBLCwHNDnKfANxtHZK5GOlT+XdzVEBqYGzeWyeNEsfE4PiH3ApTslS0v6XCFSZlFt24V3SfoYDmI01wXinH9xpN3S75HBtc3ReC1pI0BRYLSU5+EZQ/C7aYh+EwB2zs407z4c1R/En7xMp/XqXaEwkqhf4AJBqOblQyAWPUUaR0ceRxa65g4P8leztEvboPiQ48xh8Otz3vf8RR3GIZafrt47zeggPBCWmkGVb7O56/kw0KcP/DLC5lkZJkEsWw/NwD9lOclye9J8KVnCSmfLx9ReROxyJpaqjb1IRLalciIhTVqoKQupkpj0NLV09BOfBQ80eSuBryvw2IiPOrxeKxBJ2tul+9yHZcRKEJiFUFREhEi5wlfyT1khOnxsuqTSFoY8eZXaA3hB4ahuJErSVUVbSnoOafjhllHOoU9P5KHTg3UyxEwMT+EUgc2s7yJre1pN9RNSHQgCkU9jnp1DwH511JBMNxsOfYBM8qFTyWo6vymhXG8m20JDIxjmt2393AsAz2jKs/QVt2nKbnlCoH60QoS/uqraHfILbNmDxN4NXCK5w/QsaTje2xne9rJT4O1CzO5iy1RqBsdkVYDoegTOXheuxufTlNbTSP0N5Ubc1zdimRcoGNlePPkCZS53ownfNCDlnUFgY s6FYJwsZ xNbH2y/gi9cZo88Joa59V8URzvvSrYonREjzVzwA9HkFYti6fNeW6JAxUTTVhuqbNASxjDFaAkhjr/ue4DB8yN8KvYvjfvFx1v1ObIUZFp0ST/faDtGorYwCmnemOov6M/eOE2Uf3PaoGLckRY2bxaBfmEoMwjlpI4Ba77Y6Xq4LZlbul1WVIpRFeGqPjJSSzv5wK9BQASKefP9TDc2FW+kbeDFPO83td1+ASkE+jpamqQHOkmoj9DM3TM8uVb6vC7fDnSP8f73T2hcZNh0lJ8E+rj8q+RMFKpFYrHR5r+e4qKVnIXF8782WsLB/QqYdiWzGw/Enkpw8AVs/BWGMAsEFNVy8gt+1JcEscjMY7n8APOrJCNQxH0A1BEMuMH6FHW6pG3ti6TtDf/2ssw7g+y/AHqxUijxAwxq9kUd3sNLUczxnhlqSaOnyDaHRF2viF49KJM29ykYSP8051Qykqvaooovc9KZG4E1gX 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/internal.h b/mm/internal.h index 8d1a8bd001247..644fa8b761f5a 100644 --- a/mm/internal.h +++ b/mm/internal.h @@ -1047,18 +1047,17 @@ static inline void vma_iter_store(struct vma_iterator *vmi, { #if defined(CONFIG_DEBUG_VM_MAPLE_TREE) - if (WARN_ON(vmi->mas.node != MAS_START && vmi->mas.index > vma->vm_start)) { - printk("%lu > %lu\n", vmi->mas.index, vma->vm_start); - printk("store of vma %lu-%lu", vma->vm_start, vma->vm_end); - printk("into slot %lu-%lu", vmi->mas.index, vmi->mas.last); - vma_iter_dump_tree(vmi); + if (MAS_WARN_ON(&vmi->mas, vmi->mas.node != MAS_START && + vmi->mas.index > vma->vm_start)) { + pr_warn("%lx > %lx\n store vma %lx-%lx\n into slot %lx-%lx\n", + vmi->mas.index, vma->vm_start, vma->vm_start, + vma->vm_end, vmi->mas.index, vmi->mas.last); } - if (WARN_ON(vmi->mas.node != MAS_START && vmi->mas.last < vma->vm_start)) { - printk("%lu < %lu\n", vmi->mas.last, vma->vm_start); - printk("store of vma %lu-%lu", vma->vm_start, vma->vm_end); - printk("into slot %lu-%lu", vmi->mas.index, vmi->mas.last); - mt_dump(vmi->mas.tree, mt_dump_hex); - vma_iter_dump_tree(vmi); + if (MAS_WARN_ON(&vmi->mas, vmi->mas.node != MAS_START && + vmi->mas.last < vma->vm_start)) { + pr_warn("%lx < %lx\nstore vma %lx-%lx\ninto slot %lx-%lx\n", + vmi->mas.last, vma->vm_start, vma->vm_start, vma->vm_end, + vmi->mas.index, vmi->mas.last); } #endif