Message ID | 20230505174204.2665599-37-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 02D9AC7EE24 for <linux-mm@archiver.kernel.org>; Fri, 5 May 2023 17:45:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8DD2D6B00A8; Fri, 5 May 2023 13:45:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7EFA26B00A9; Fri, 5 May 2023 13:45:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5CDB6900002; Fri, 5 May 2023 13:45:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by kanga.kvack.org (Postfix) with ESMTP id 3A5026B00A7 for <linux-mm@kvack.org>; Fri, 5 May 2023 13:45:10 -0400 (EDT) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 345HhO1x014853; Fri, 5 May 2023 17:45:10 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=J7UkLuHdvcaGWiHLptvkrDXfaS4Mp30zRMqlVBCT7Tc=; b=xWpisiGXJN8A+8B+DdW/hE77xzaLER8/Npbv9ncSIH00EXpr7vnYTgYQ3A1C/fO33Cu/ KsgTzqm2zS/MbpvvQCGcJBkfL3y7EJyUfueGmCrn78N/KLenEnAPTJwLAFXOqjBhaOTb 13AQpcSiUpVfEdbzIvYtqGOtIWMyJOHmDxOfxghTyENe10V7hdikziGPnQkz7SNSWb/L AO2F+/0ZVVfK5IxrGCz3Lepb8c0xqEk6KbNZAo9bjaKRjOqid71FhwKCjgCcvzUBNqXp oPJqCFbtF6qJiOsWUSMIbrFKM4hb+D46GkmID+I+caH+CURsjf+5XTfAg38xxiRtlI1e Bg== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3q8snede0v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 05 May 2023 17:45:09 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 345H3l03020835; Fri, 5 May 2023 17:45:08 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2100.outbound.protection.outlook.com [104.47.58.100]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3q8spa5g04-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 05 May 2023 17:45:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OhlqnNhVKoiHhdXYYL5MHsm6nD988kJd14f9IwI9NMLtIyPbNr/wvkDNO13LdSyxZWh8GC14YuHdku62+4Q0MBg02tnS6HI7W51rTgQsaz2mFwhRGf+Gps1Y0g0HZ9KtHiapoSopcGJgHipO/u5Pd5QjHg8UpaLsWdJFk/IY1tvuZqTsHcZ6xbn72ScoEl4/ulDWlNfACXGSCn1BumcLnhXbQR5Idp/A0rlmTNEjn6xpKSjkZlsPV1+GWabKZQgbNsokpoK1bGlpjKXDe5Kfsmlo9GpbRd/iTn9UawAJhE6rVKMk+Aw4r5vOzp/7KZMfZPPC5dEDttIaTVGgBcq43w== 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=J7UkLuHdvcaGWiHLptvkrDXfaS4Mp30zRMqlVBCT7Tc=; b=ZTp2qzHAJ5jicvC7UZ9hjS0ML0806KfmO7MBA0BbE8H4fgdjynWUXbgL1yZ8y+sQubV4/bM20hXKNhPCghWDQdqbr//vcLwWgNDA0MgHlm4eGogVdpiOq+58Hl1JRHoV56E+5DhcelVkCSRKuB0Czf39d0Njng2BzEhT6kFP/yUM2L3zr9YAqu1kEgv5owEGfN0dhz2GtxRR5qqq8ee9m30r5ziXhtg2tGeMVccNupP65uoWGi1Xlfya+a2/79zy2cSqBe1g6woZEyBBHmPj3hqJhrb9nCOKNxPj6N9oGfvUbW/hgNyJJ8kxRykvycjf+WL/lCiKwLrfP78UbZzdeQ== 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=J7UkLuHdvcaGWiHLptvkrDXfaS4Mp30zRMqlVBCT7Tc=; b=CuFSRmdk0UTXfxInglWL8jlshFG2DX7grQHcHw4hG0lCn3j75jKP4B7wOwHjmIqBE86658xmCkSQVO6Xz6j5vThfQ4wrl/8LcrSD5A7gJZk56iM/dCFvBWejWGDfqzoRSF9Gz7/Sp99ar2G0yyUwJCV+k17z1wM8+Hcxc2RxG5A= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by DS0PR10MB6895.namprd10.prod.outlook.com (2603:10b6:8:134::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27; Fri, 5 May 2023 17:45:06 +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.6363.022; Fri, 5 May 2023 17:45:06 +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 v2 36/36] maple_tree: Add gap to check_alloc_rev_range() testcase Date: Fri, 5 May 2023 13:42:04 -0400 Message-Id: <20230505174204.2665599-37-Liam.Howlett@oracle.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230505174204.2665599-1-Liam.Howlett@oracle.com> References: <20230505174204.2665599-1-Liam.Howlett@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: YT4PR01CA0254.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:10f::9) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|DS0PR10MB6895:EE_ X-MS-Office365-Filtering-Correlation-Id: ff2a7743-cb70-4045-e3da-08db4d9076b5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: U1i11IAxjS0dbbgp+qvFwil9gsXxsx9t/9esfwEQU5M7jkUpbrfM5d6zZRRY7i/IDVGVEF6HiSLx+/b9qGmLpvhgn+5/LrHJ20+gXiR3gmt/L4zBrzt5yaLyBLvue/FZ/3jw3owY5RAJhHlOj51g1rMmPmQG4UOsYKv+XAb5U02poGXHJ7+DkYCwMz4RHpSl0IbputFfVuYRM0aRtPnaoR+kC/PC3pxPCYgq9A6uOL9Cy3rs1Hzt/ZGqQtQDJZ9otIvkGrYm3OsrFG0ZNZMpNdIF+s1Uo54zov/l7ltC/Reh1RyPqlLkz6YrgRijjDbDDx21ljwIigx+j3i9m63NzqQbhFPLGXi4ah+/6+ymQYTWiXr754ZjDuyHn3M2CPiZwz8qJli1HsmHfaKkuRH0GQMR+q3OBoDAtNeFwDBtkKXF+ernWeZ07ECK30C8ZuePOIPvuS8e9eX5hLYXpg8pQelDP2GzSCCLK2VtU5n9C4OcmVBBnKf8lpaXHPxaRSl/B0yUh0QOn7hk45LOgeGB1jgg4qby5XL3QahT/e/KWJR5xHnfQE3qpByn9JrAo7lZ 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)(136003)(376002)(346002)(396003)(39860400002)(366004)(451199021)(4326008)(6916009)(66946007)(66476007)(66556008)(41300700001)(8936002)(5660300002)(8676002)(6512007)(26005)(6506007)(1076003)(316002)(478600001)(6486002)(107886003)(2906002)(4744005)(186003)(2616005)(83380400001)(86362001)(36756003)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: iUTX8M45225crYePR+vVW12jJQ3pZOIrfpc0FWhmzrnBERre2WYl0oIcRDbyvUu65kX/K7P+NJFm5buIVMzITOypYQ10l/e7FuvvzUp5oaNOZYFZYMbqVGDpWYq/xM2So2s8gre+0Py5AtYkscr4pCkWGehI6oswGW8FbZG47homcvuJR0WMDWPO1m8imuygJQ2AeaVyrL7y2bXnS7z1TgrcUEK74CYaQ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cz0qlYW2w9xV56ozvZw7SiqhLPmo3IEnQ+oHBUvkJxGfJ7nfyLuSW43GU3j8LbDJJ9hFxsDS11Cr/WZuLm5/Yg1TU/32561iEIWZsEstrFL5r6pcXNoR+EP42kxHepUJLyMvEUEHHxoRc5gbbT/oZoki+LQy3LXMnXvqd/0iF16OsoPDhhyt5alESEumOzZSZSSI9LU05xj5Krg9Vpg4t8ZNHhA5Yz+AvagxLg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: ff2a7743-cb70-4045-e3da-08db4d9076b5 X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2023 17:45:06.6536 (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: J+jD7XPy6dYNN2EDUF1N974x55tSHxH9cP2XQlW4PDMKB6y5uH2gqlwKygTuuJUm8TuK82VfrD3XV2adhP/z7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR10MB6895 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-05_24,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305050146 X-Proofpoint-GUID: r0wcokRVHZ-TWRhIRkSC69oXu0je7ljP X-Proofpoint-ORIG-GUID: r0wcokRVHZ-TWRhIRkSC69oXu0je7ljP 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
|
Ah, I meant to squash this into patch 0025 "maple_tree: Revise limit checks in mas_empty_area{_rev}()" of this series. Apologies for the lack of commit message. * Liam R. Howlett <Liam.Howlett@oracle.com> [230505 13:45]: > Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> > --- > lib/test_maple_tree.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/lib/test_maple_tree.c b/lib/test_maple_tree.c > index aa3c4fb9175ed..9939be34e516e 100644 > --- a/lib/test_maple_tree.c > +++ b/lib/test_maple_tree.c > @@ -804,6 +804,7 @@ static noinline void __init check_alloc_rev_range(struct maple_tree *mt) > > mt_set_non_kernel(1); > mtree_erase(mt, 34148798727); /* create a deleted range. */ > + mtree_erase(mt, 34148798725); > check_mtree_alloc_rrange(mt, 0, 34359052173, 210253414, > 34148798725, 0, mt); > > -- > 2.39.2 >
On Fri, 5 May 2023 15:29:29 -0400 "Liam R. Howlett" <Liam.Howlett@Oracle.com> wrote: > Ah, I meant to squash this into patch 0025 "maple_tree: Revise limit > checks in mas_empty_area{_rev}()" of this series. > I made that change.
diff --git a/lib/test_maple_tree.c b/lib/test_maple_tree.c index aa3c4fb9175ed..9939be34e516e 100644 --- a/lib/test_maple_tree.c +++ b/lib/test_maple_tree.c @@ -804,6 +804,7 @@ static noinline void __init check_alloc_rev_range(struct maple_tree *mt) mt_set_non_kernel(1); mtree_erase(mt, 34148798727); /* create a deleted range. */ + mtree_erase(mt, 34148798725); check_mtree_alloc_rrange(mt, 0, 34359052173, 210253414, 34148798725, 0, mt);
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/test_maple_tree.c | 1 + 1 file changed, 1 insertion(+)