From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90557C433FE for ; Thu, 28 Apr 2022 12:33:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346324AbiD1Mg3 (ORCPT ); Thu, 28 Apr 2022 08:36:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230100AbiD1Mg1 (ORCPT ); Thu, 28 Apr 2022 08:36:27 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE5A5AF1EF for ; Thu, 28 Apr 2022 05:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651149193; x=1682685193; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Cqiwfsgz83HUrc2YamHpGLm5/CfzcmPlrOmDUNR+1D4=; b=U0YjT3IECmeV1MiaAFwiTIZMFN+BPcSP++lwUD0uB1UVf/8x9ZsyTyHu fsh+aL+X8TKm6ie6Y0IWuKyZCTGRvI0Nt1PfJsoD0Hb+E4uqRlR4Lq8qY wAL45XUZ1VXwdOid+11v7j625b5xHMhmJ2dUNbIfRQDocMShbfK61KKzI 8=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 28 Apr 2022 05:33:13 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2022 05:33:12 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 28 Apr 2022 05:33:12 -0700 Received: from qian (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 28 Apr 2022 05:33:10 -0700 Date: Thu, 28 Apr 2022 08:33:08 -0400 From: Qian Cai To: Zi Yan CC: David Hildenbrand , , , , Vlastimil Babka , Mel Gorman , Eric Ren , Mike Rapoport , "Oscar Salvador" , Christophe Leroy , Andrew Morton Subject: Re: [PATCH v11 0/6] Use pageblock_order for cma and alloc_contig_range alignment. Message-ID: <20220428123308.GA71@qian> References: <20220425143118.2850746-1-zi.yan@sent.com> <20220426201855.GA1014@qian> <20220426210801.GA1038@qian> <2B9844C8-6D35-41E2-ACB2-9854E7A9C29F@nvidia.com> <20220427132720.GC71@qian> <1D88AE1B-4DFC-400F-A054-662E3824C9AF@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 27, 2022 at 05:04:39PM -0400, Zi Yan wrote: > Do you mind checking if the patch below fixes the issue? It works > for me. > > The original code was trying to migrate non-migratible compound pages > (high-order slab pages from my tests) during isolation and caused > an infinite loop. The patch avoids non-migratible pages. > > I will update my patch series once we confirm the patch fixes > the bug. I am not able to apply it on today's linux-next tree. $ patch -Np1 --dry-run < ../patch/migrate.patch checking file mm/page_isolation.c Hunk #1 FAILED at 367. 1 out of 1 hunk FAILED