Received: by 2002:a05:7412:d1aa:b0:ee:8f30:e15d with SMTP id ba42csp2983790rdb; Wed, 18 Oct 2023 15:45:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGww9s+5b0RrhdzY8wW52+KNQtmD5z5DU/0tIvQ2gv+Bj8/3/UcGwmJgHG4ebToIaZdk57C X-Received: by 2002:a05:6a20:12cc:b0:15a:6733:24e2 with SMTP id v12-20020a056a2012cc00b0015a673324e2mr274243pzg.25.1697669144145; Wed, 18 Oct 2023 15:45:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697669144; cv=pass; d=google.com; s=arc-20160816; b=A0qykzAfELwgggrH/4+sRWGaN9oIkRcc0VQTM785eqWpczsy154vdAworRPa9Ewx3r SqS4oOegNlAjpZLIdaILPO8055Ew2nQ2NNAG5+9pQfDkgbrdLVNaZsIcac/OwuaddXfo 1yDDlgXbN8nb0dIMgo/3dk64gyBQPBXlkfgmLXsJ9CGeP20Lb40quUjsQ9ZIQJKh5MRA 6AFkWc4VC1KrVL4dAA0A+xYYt1qcUrFL2zQEFeqUFpGkQ/AvGPbaYR8CLpivwKCm9bst 8P2sL+CY5qsxsRmDwQDDfLUgj4s0ZDhdALvs/fVWoxi+Zo4te0iJMtaDK1j+7uG0549e 0YsA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=crSuBl8qRGbavHySHhGZY83lAFTcVhIN17Mxig0+nzE=; fh=uMUSEoQ/FlI0Pq0NS008gvke1NojND52yPTZAwADlJE=; b=DLRd7e3WoMZuVQyQ2kt34ogC/RyUR2ZwsFC0X4ENv71mx0F+OGuVNaWH9/FovRwQn4 SW0cK7InBUP7y/XQT31VdDaGwgirsUtDSt8vRG0/XScZeAdSJvHG1For9mIg0Ac6Fn1F ClwyAhoDW/B9vf3Zjlz9Rw6Ddr35PK3DkrNqQjNFRMClUGHIt/dnl4aeMg0U53WSk2Ba HzsRSoleSyUG7HAQ33T23CKD+Nxa3Tyiwnsqkk36Urau/BpGA5YSszmX0IAgKqtABX2M vSBj7nxJky4CvYlZDWuNc7Uih8pYjFFdaPLEpAvbF1IsW8rv85LU/rGyPZgxvHQ8r668 F0PA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=yDY0jE1m; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=cCK64VUm; 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 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id x17-20020a63b211000000b0057e21f51ab3si3066212pge.665.2023.10.18.15.45.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 15:45:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=yDY0jE1m; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=cCK64VUm; 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 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 14E648093D48; Wed, 18 Oct 2023 15:45:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231182AbjJRWpR (ORCPT + 99 others); Wed, 18 Oct 2023 18:45:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbjJRWpP (ORCPT ); Wed, 18 Oct 2023 18:45:15 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39AC7115 for ; Wed, 18 Oct 2023 15:45:13 -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 39IIn01g011269; Wed, 18 Oct 2023 22:44:28 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 : in-reply-to : mime-version; s=corp-2023-03-30; bh=crSuBl8qRGbavHySHhGZY83lAFTcVhIN17Mxig0+nzE=; b=yDY0jE1mRhWlMJpwZgbNFVSFZ3MDndLuHwgdPKPEUX5ncUtBy5vp1SQV0pIRO/O8e3t6 bcI24d0pDc0e+WYYj+EW8E+SFoizvEOFKS2XxBAk7YV4h3qXl/Xs+dVXoPJtd698l1VE 67NepVjXslUPFFlP1TNvVuI/2ArSzHMTXcj5BH2qkS7yDsvBz6fbhtBkctcuMB64rLey izMdIXTVACSXf1HwqyUXpYSM+1ePsKBRs/1Ia5nke9UFpYxVlVtDX6dX3YdvKHCRNLfm ovgajnijAgYtUZzaIGQYW40WvWgFkxeodlWyhV1d7xp947OJHrNRDwYHKUw6lMFjiFrH 0g== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3tqk1cgv6v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Oct 2023 22:44:28 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 39IKHNjg009572; Wed, 18 Oct 2023 22:44:27 GMT Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2101.outbound.protection.outlook.com [104.47.70.101]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3trg0pw6tj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Oct 2023 22:44:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RPVN6cvy6XDaoSn8ILCAuhghmizmc+DJNG9JVxpiXleUiFixV8ENatWXSEf6vPROc+ITMlUayNl/Yxe/dkiCZmStoVuBoT+1FywlDNfCiMWmweIkHaDgHtvOM24Ij8lv6i2P0nq7YBrR7RsQ1afKNwXcpDns/DtEHLJzZs2yB9ka0mOaU/IVCxhTcOc9INpIMvQLE+k/89wus6QMrKBY3RjY1NJCPPAajBs6TY/Vyi460ueqtzhcw3EYV8cO8BmxnJqytZj1eLLD/1/0/eLJxRyR8UIJ5jzBj8xsXX+E4W6LJcf/URXfLuekIfHluTTcm/px9loCP4kmiTuMEF8jsQ== 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=crSuBl8qRGbavHySHhGZY83lAFTcVhIN17Mxig0+nzE=; b=ALKpTgD9uFALVzDaTJpfdO7/KHRaAtFa7ZnMwUk0K1SiBrSTj6YNFftvWOIq3qGkbVXGZj13MX8sxvMhgmB4hQ4/gWUOiZCeeoNiUZbIiJQ92NLxVF1+JDHbpTVS05/00cRpyGTF3BnbSeqBoYn+vWvCp4hYxxuLHwOTokWTBP0hXPhAbjxcy92KZY5M6IsdNrp8g5DFtG/1dhpfIu2bXUqC9I7yzHmsZ42ihuLsxjvR53ULoo6BTbU70+2GyNLSRnYymbXjvWq15wVFfhrLxWSbYTSR2Ythe5MV5aGJHfCZRKLDloy3uf994yVu6f2mJ1YlRIotiX8zBGhahN1T2Q== 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=crSuBl8qRGbavHySHhGZY83lAFTcVhIN17Mxig0+nzE=; b=cCK64VUmSSpdAgTCDDKJ0uVs5txQayWUU1gS2HMuz4t23COpuXG5H6/WfKm0detJ+plz6DWbmuVHRboMgLcsmly4e6fBIuB502Qmr0r6K1epQysTD21eU4P9Y29az9ltpQf/ZSu6IcWNPhFLkjey9xzHi2eMJVtwLUM3bLzqo4A= Received: from BY5PR10MB4196.namprd10.prod.outlook.com (2603:10b6:a03:20d::23) by SN7PR10MB6382.namprd10.prod.outlook.com (2603:10b6:806:26e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.34; Wed, 18 Oct 2023 22:44:25 +0000 Received: from BY5PR10MB4196.namprd10.prod.outlook.com ([fe80::59f7:ec45:eb41:d8c2]) by BY5PR10MB4196.namprd10.prod.outlook.com ([fe80::59f7:ec45:eb41:d8c2%6]) with mapi id 15.20.6863.032; Wed, 18 Oct 2023 22:44:25 +0000 Date: Wed, 18 Oct 2023 15:44:22 -0700 From: Mike Kravetz To: Sergey Senozhatsky Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Muchun Song , Joao Martins , Konrad Dybcio , Oscar Salvador , David Hildenbrand , Miaohe Lin , David Rientjes , Anshuman Khandual , Naoya Horiguchi , Barry Song <21cnbao@gmail.com>, Michal Hocko , Matthew Wilcox , Xiongchun Duan , Andrew Morton Subject: Re: Bisected: [PATCH v7 2/8] hugetlb: restructure pool allocations Message-ID: <20231018224422.GC5181@monkey> References: <20231006032012.296473-1-mike.kravetz@oracle.com> <20231006032012.296473-3-mike.kravetz@oracle.com> <20231011064756.GB2866435@google.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231011064756.GB2866435@google.com> X-ClientProxiedBy: MW4PR02CA0016.namprd02.prod.outlook.com (2603:10b6:303:16d::22) To BY5PR10MB4196.namprd10.prod.outlook.com (2603:10b6:a03:20d::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR10MB4196:EE_|SN7PR10MB6382:EE_ X-MS-Office365-Filtering-Correlation-Id: 75d6ddba-d4cc-4861-b7c9-08dbd02bc764 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9/uT3CgUihjr2PoZ1w6E9p4qJVNSPZIhR0SlZbSbG3eoCsELhViLVERqjSCKIf3+K+Z5pusU0QMcYsTvgfT+apP+B18fZVemLrX8GF2XFjAGijgjcavAIRVsKPJ9+0d7Kaj5UnPPX2q5ZEITo6HeR7RfnLm54KdIva3kohyL0yw4ooj7+KWWIAaFPyplLiq5QQhc1oeSaDq7QiTCWJfSeoOwAhpH8A38GoO9XN3rCoty0vByRg9IPRCMNZDgK1UGAl2yFqmBjMqtlhTpMi3sKETesIb6211NCQpRafi/2ym3MwKGb6//oNVNjMuHOhvxOXf5xJMARAcZBK+3chN0C1IK9KtAYPou7j0pwxrPvwKMaHO3Rv0EZ+R+h0CABGzvvhQ05/0xra+vRwJABvKV5s5mfpQNJTZM8/E4B+WlNq5STBNyAVQil5+MjgPdRIsRw8sbF5+ZXX1g0rHprnxA1OqGvXNaGocdqKU9mwNzHoLWTPOYA5LRYXid3SBYlv+TIv8PoHw52XGZPZi/RybYCWesfc58LOkHiPK1x+XzEdo= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR10MB4196.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7916004)(346002)(136003)(366004)(396003)(376002)(39860400002)(230922051799003)(64100799003)(186009)(1800799009)(451199024)(6506007)(6666004)(53546011)(83380400001)(26005)(6512007)(33656002)(9686003)(38100700002)(7416002)(66556008)(2906002)(44832011)(6486002)(8936002)(4326008)(8676002)(33716001)(54906003)(5660300002)(6916009)(316002)(66946007)(41300700001)(66476007)(1076003)(478600001)(86362001)(966005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?dLEVHqed5n2iNN8qMgdmDiX1pYey4zB61Y67lWeJGcarM9iwyb80t3Sbv2MB?= =?us-ascii?Q?URoMgWhgYcREk0nv2vffLIHx17nVVKnobgN5q+dzMyNN81Cqolm1brjpvl3M?= =?us-ascii?Q?jCXjCRkVRC7mIOIwCoC0Ym18egKmpvXhIFBhpsO4ECstRY2jSBIDYwmzYvHA?= =?us-ascii?Q?l6ZIJ066TkQxBArFoJ0rx95aVa04wZg0TuD5CP0NbZdBpCrz/2MN1+28OeWV?= =?us-ascii?Q?rsryCOTzLIZdjAGUEn23uEpPSVpTQMqGi8KPct9XYCv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03uDXofb4dZGkCofIa6QPBbFeo7ufYCScMAg3I?= =?us-ascii?Q?lVkKu4Xj24qaAsRvWJC+5+EZww0D7QqGvvsXNTCKwFmEpQDouFxLJRyVrneC?= =?us-ascii?Q?sjbKdD7Kr8qzfk5EwLWJBqI2Fy531cTlI1tkyJ5maJvW6lLYcxSs3lIfBTHG?= =?us-ascii?Q?cFOwuf4nAsk80WoqUHDFtIKkZCOFRiWuhvvYYsGueMvDgRsATKf9+LczpBJr?= =?us-ascii?Q?mO6BUbvd0SKHy5MECTc6DuTjjFsVaNBXzMNAcNzQmmiqISNPKx+9Of47HzUR?= =?us-ascii?Q?C64acPr7I/4x2FR0Vmb3j+dGxr7RVEEglnDwNgAK8E7mBYbX5rlyW2CPABzP?= =?us-ascii?Q?ZtFhNxSUiknc5mOJQ5o632FTrzlRa574rydJUA+XRcWUX0DeOifRbHdG1AVC?= =?us-ascii?Q?HTS/kJzqVlhXG7tK+EmCW9Az/bgCG7fc2RA6GsiBYd7R1URkqzOjpniSK6EV?= =?us-ascii?Q?+w=3D=3D?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: =?us-ascii?Q?igX6ltmuFE3zvuTO3i6fG5x68VdsE9tWvTZTpxsZzt4nOarVHdWLpVrVaJWB?= =?us-ascii?Q?1KKGVB+WhteLTHrORvgL+sHG4yn6jT77kprJGJZCE0zUiZmBRY0TXa9FYaA5?= =?us-ascii?Q?IqtLcADJGLZ8jUQqinFU3iFiSIunOou8I85FdH9WZZFWCGyXMXYmgpOQaHI4?= =?us-ascii?Q?oEGhjpHLQOqu14Bvqz5+tLfZzc+Wz/zDB7TkZVp7xdkdbrfbElR//SpwJSLP?= =?us-ascii?Q?T8SkBpRa+vy+oMu1XM5n6elNWGW3Pu67wVyCPzcfV2HcFKyEs/21SyXuQWTC?= =?us-ascii?Q?G5J5KwryODpTMSsqt2PNIRqZYddJ3t5IievO/TWiGaw70HQSf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= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75d6ddba-d4cc-4861-b7c9-08dbd02bc764 X-MS-Exchange-CrossTenant-AuthSource: BY5PR10MB4196.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 22:44:25.1730 (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: h/4NmGg1Vlc+g0yqXc6N7IOvrRPpjdiHwINnYEtcbMJTWRNAdUDI3tYPqne20nAp74n+ysFIqjKOy50d9oIknQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR10MB6382 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-18_18,2023-10-18_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 malwarescore=0 adultscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310180188 X-Proofpoint-ORIG-GUID: 3oNKaNgX3zmtJrwE7gyPbSI35lVVgqhL X-Proofpoint-GUID: 3oNKaNgX3zmtJrwE7gyPbSI35lVVgqhL X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 18 Oct 2023 15:45:40 -0700 (PDT) On 10/11/23 15:47, Sergey Senozhatsky wrote: > On (23/10/05 20:20), Mike Kravetz wrote: > > Allocation of a hugetlb page for the hugetlb pool is done by the routine > > alloc_pool_huge_page. This routine will allocate contiguous pages from > > a low level allocator, prep the pages for usage as a hugetlb page and > > then add the resulting hugetlb page to the pool. > > > > In the 'prep' stage, optional vmemmap optimization is done. For > > performance reasons we want to perform vmemmap optimization on multiple > > hugetlb pages at once. To do this, restructure the hugetlb pool > > allocation code such that vmemmap optimization can be isolated and later > > batched. > > > > The code to allocate hugetlb pages from bootmem was also modified to > > allow batching. > > > > No functional changes, only code restructure. > > I'm afraid there are some functional changes. > Hi Sergey, Sorry for the delay. Not ignoring your report but chasing this in another thread. https://lore.kernel.org/linux-mm/20231018222003.GA21776@monkey/ Quick question. Are you using LLVM/clang in your builds? My guess is that you are hitting the same issue. That BUG at mm/hugetlb.c:3180 should not be checked/executed unless you allocate gigantic hugetlb pages on the kernel command line. Suspect you are not doing this, and loop code is being run when it should not. -- Mike Kravetz > [...] > # good: [9e6c86c616f7d4b166c12f1ea9b69831f85c4a86] hugetlb: optimize update_and_free_pages_bulk to avoid lock cycles > git bisect good 9e6c86c616f7d4b166c12f1ea9b69831f85c4a86 > # bad: [1d50db09471e2a67272cee6e004ffed380ac571b] Merge branch 'master' of git://linuxtv.org/mchehab/media-next.git > git bisect bad 1d50db09471e2a67272cee6e004ffed380ac571b > # good: [80b14e865ea20ddc20aae61e2c106ebb03257cd3] bcachefs: Lower BCH_NAME_MAX to 512 > git bisect good 80b14e865ea20ddc20aae61e2c106ebb03257cd3 > # bad: [31d068de8a0de2c44168bbd8a62da21a7bc76051] Merge branch 'for-linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git > git bisect bad 31d068de8a0de2c44168bbd8a62da21a7bc76051 > # bad: [0bb194b29fa6296a74b989e0f7f2db4fc11d8012] Merge branch 'perf-tools-next' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git > git bisect bad 0bb194b29fa6296a74b989e0f7f2db4fc11d8012 > # good: [62001c9bf6aad59dc800c16613e5440b9226c252] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/wpan/wpan.git > git bisect good 62001c9bf6aad59dc800c16613e5440b9226c252 > # good: [21d856352ab78daffb9d05296b87b570f3afac33] Merge branch 'mm-stable' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm > git bisect good 21d856352ab78daffb9d05296b87b570f3afac33 > # good: [7fded33c6971b6c8e87cbbf48e74536aacca2991] perf test: Add pmu-event test for "Compat" and new event_field. > git bisect good 7fded33c6971b6c8e87cbbf48e74536aacca2991 > # good: [4c37b665186a5e2907bf0308474ac3f15eb847da] compiler.h: move __is_constexpr() to compiler.h > git bisect good 4c37b665186a5e2907bf0308474ac3f15eb847da > # bad: [3424f8f382bd4d30e01eaf316823321ef7bd1560] mm: delete checks for xor_unlock_is_negative_byte() > git bisect bad 3424f8f382bd4d30e01eaf316823321ef7bd1560 > # bad: [b5c6a60fe5b0339ba9c54f9f871db5c4a0e47906] iomap: protect read_bytes_pending with the state_lock > git bisect bad b5c6a60fe5b0339ba9c54f9f871db5c4a0e47906 > # bad: [bfae92330ddc44968c628c0085082d25061495a4] hugetlb: batch PMD split for bulk vmemmap dedup > git bisect bad bfae92330ddc44968c628c0085082d25061495a4 > # bad: [fb59f2cb8956f3888d2e0b438cc503565aa3c405] hugetlb: perform vmemmap optimization on a list of pages > git bisect bad fb59f2cb8956f3888d2e0b438cc503565aa3c405 > # bad: [bfb41d6b2fe148c939366957ea9cb9aa72d59c4c] hugetlb: restructure pool allocations > git bisect bad bfb41d6b2fe148c939366957ea9cb9aa72d59c4c > # first bad commit: [bfb41d6b2fe148c939366957ea9cb9aa72d59c4c] hugetlb: restructure pool allocations > > bfb41d6b2fe148c939366957ea9cb9aa72d59c4c is the first bad commit > > commit bfb41d6b2fe148c939366957ea9cb9aa72d59c4c > Author: Mike Kravetz > Date: Thu Oct 5 20:20:04 2023 -0700 > > hugetlb: restructure pool allocations > > > Bugs-on linux-next: > > [ 0.827640] ------------[ cut here ]------------ > [ 0.828608] kernel BUG at mm/hugetlb.c:3180!