Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp194633iob; Mon, 2 May 2022 16:53:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsB405cYpdDUnysN0ogxK/YzKrc8TzyYcB0oadEo1EaMjXzelxbXc/gKF+C0zWw0Fl+G/2 X-Received: by 2002:a17:902:c14a:b0:15b:9c29:935a with SMTP id 10-20020a170902c14a00b0015b9c29935amr13988205plj.2.1651535589105; Mon, 02 May 2022 16:53:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651535589; cv=none; d=google.com; s=arc-20160816; b=f7jhjkBTft+kP+3SWPE46lrBCEdIUu9nTy74y7IfPIa2hn0K+98OHHCDX0n6ekSz2Z P0g5uOnlBK3JNVjy0n0N6QgJQEUMl5vEpLNkRMnxdGtaWoy10IeTQKTvGv1ye2vVi6pZ uLDM3wampNtNqVhpNcDRoNdSC7QUjFT3+GtOlpR1jSZVILZKC6MVk+jig47K7Aa+fVCY XJj9Yf9P2KF3IR264fnvagfzpr819Ofm4g8msz+E0xbB8aB9wA8xLeKeKbOTk/l4PjcB 3VTva+QiMszFPyeYQgAnKTBPAxXQCYdpY0rczfTs04XPGN0QCSU+OX0wW/akt4fmKkSW JXaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Cqiwfsgz83HUrc2YamHpGLm5/CfzcmPlrOmDUNR+1D4=; b=us+3I5rc9x9JuigKIu1+fYux00/QkoQR+vFz+EsFbXqYbDh2aoU5wJvbgFMuloX5ct uuM/7ehbOdTJwTomSdoRYggRQx//+1mlXCCroOLCxu1JGMAtz1AhY2fut55j8y8hU/o5 ZpEYJU6q5u3FGEV03CtWWul3tXKkKOTw8EGr7asNC2LQzRe8+DyWuD+GrHbA61cHcGaI +sfqNp7qpSFlbLD9igB/E3FOPYldLjPxOtG7rmWb9IBD4L9I+4fuFWpkL3+pDet8uJmF 4b3mRQZf6t3FuPzbFn97hqLxqExsn+AxV5yqAOjCsQ/sFMZ78kFsgTj+pJA/9gs4UuDJ snYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=U0YjT3IE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u62-20020a638541000000b003aa1ecf8d44si13745555pgd.123.2022.05.02.16.53.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 16:53:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=U0YjT3IE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AD53A33EA7; Mon, 2 May 2022 16:53:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346320AbiD1Mg2 (ORCPT + 99 others); Thu, 28 Apr 2022 08:36:28 -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) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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