Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp957864rdb; Tue, 23 Jan 2024 23:39:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IFF7Ys/N6MlTxEYF7lqky3V0VrE7ukjAKA6kUzlFtDZl7uumzCkP0HfjI0561eDpdFitQEJ X-Received: by 2002:a05:6830:22e6:b0:6e0:ef80:c526 with SMTP id t6-20020a05683022e600b006e0ef80c526mr1293521otc.3.1706081992916; Tue, 23 Jan 2024 23:39:52 -0800 (PST) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i8-20020a63cd08000000b005ceb5338d74si11307990pgg.510.2024.01.23.23.39.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 23:39:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36564-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=lUOhZKf6; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b=nYpYHmJh; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-36564-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36564-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DB3B3288EA6 for ; Wed, 24 Jan 2024 07:39:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 759FF17C74; Wed, 24 Jan 2024 07:37:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="lUOhZKf6"; dkim=pass (1024-bit key) header.d=mediateko365.onmicrosoft.com header.i=@mediateko365.onmicrosoft.com header.b="nYpYHmJh" Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E65D617BCD for ; Wed, 24 Jan 2024 07:37:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=210.61.82.184 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706081852; cv=fail; b=skfmYaMsKy7xvYY+vRKfVYaC3cR7qsmv1lTOYBb3qhDdtw20a2ciaHb9BS+YgdYjeI/NQ4GCDO1ZDDx+f3hlKVWx1t47uWg11PWnkFSXCcRpRaD7qtYKHYh9O8feSbma721piaJXZY8wEbpdaEzawHxonUX0vqVK8llZ+71HWUk= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706081852; c=relaxed/simple; bh=dbk1F9mSG0ZoBryvcnj36BwKWvpkm3z3wMTs65R91qw=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=RhhJp4v3t1yrsqmxLMZbgZvGAZmt35675vQa4bAlcpEppdVnetsv7BB/Weow5COnsPLNiJ9jvX8yb38dkc2epVaAbTGaCf3cVqlcZeE+ix9TBMj/OhsRspgjqjhesJWdc6BUlHPSZhYcXzpy+a5aoGCcjdrN+j2cuCM26N/hvhE= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=lUOhZKf6; dkim=pass (1024-bit key) header.d=mediateko365.onmicrosoft.com header.i=@mediateko365.onmicrosoft.com header.b=nYpYHmJh; arc=fail smtp.client-ip=210.61.82.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: 6ac27de2ba8b11eea2298b7352fd921d-20240124 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=MIME-Version:Content-Transfer-Encoding:Content-ID:Content-Type:In-Reply-To:References:Message-ID:Date:Subject:CC:To:From; bh=dbk1F9mSG0ZoBryvcnj36BwKWvpkm3z3wMTs65R91qw=; b=lUOhZKf6HRvF6Oehx4snEjttAnoHJRbQVUmzJb9EswIJN/wYAoUCFS+s6Y1TG3GbZhaxZA8LwkhHvDRScxoa/m0c37XwToHcFdmVU9nqsx598isKmUKbvfUMZiaaX56G0nheLD29pcKhcND1BiklkQErAtD5GNz3X74jNT4341w=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.36,REQID:906a2347-5804-40df-9398-0d07b25b067b,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:6e16cf4,CLOUDID:06a617fe-c16b-4159-a099-3b9d0558e447,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:11|1,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES :1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_ULN X-UUID: 6ac27de2ba8b11eea2298b7352fd921d-20240124 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 274624913; Wed, 24 Jan 2024 15:37:24 +0800 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 24 Jan 2024 15:37:23 +0800 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (172.21.101.237) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Wed, 24 Jan 2024 15:37:23 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VaBAfDie+FvZTIa40fFN+SnAYw1HHmy49/Wan2tsyGBScpnEw/UPKfoiI/QXS8iqbafyeslA/PJ/xfrUzkzV5mxRF3uDVYcndBuDDDLeHPzE5/rHxzR8rNrN7Yrhw8xFaYFxhVctuXz/OIhuty8jdWHL/MJaYbm1lKOltW2s2zeFSaqy4K176WHUrwXV35gTtJ2Ti0zZAaZBQPd20nITeYtv5zb48635Jq+ZOAfICZuj+PgthKEkRH7abqZqLq4j0NngOhNnOtX0lZBIFFqRNG2x3NwYaqXaPAuiIp5qybrgeJAUzSlkcE/+ZMQpdBaYZID+vkPylfbLQYOyJ6z6Zw== 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=dbk1F9mSG0ZoBryvcnj36BwKWvpkm3z3wMTs65R91qw=; b=iPN79kuITH9Sq0ok3JIMyigmFDYOps61zZokMg1lDpnZ8ROarP0iP+zgZWAtfFbllNSxAcZLlimlkUH3FBBVirsjf++zv2IVOERFVO1pFKAOZYFEORKeFCQX9nLKFTy2OQpumiyBNyz8TbwTPvT1024P8WBLi7+fQvi/NbzANOQQk/WyJ+pJ000VrGx41ueDOAKvzU/Kcu7zT2TP1Hh2T+7B1oaroDJiScRDIC2gDaQ7p3Bl/kbCScdun7YgCDdfjMBRBfBIVpTLM8d5FMGVoUhKX7EgfYGcwaU0G6zAfSwEb+92sgkKlOeC1dAoO8yl7Axc8PYjJFYDQpQwMW8jfw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mediatek.com; dmarc=pass action=none header.from=mediatek.com; dkim=pass header.d=mediatek.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mediateko365.onmicrosoft.com; s=selector2-mediateko365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dbk1F9mSG0ZoBryvcnj36BwKWvpkm3z3wMTs65R91qw=; b=nYpYHmJhK7IVZEXkwgspdyTfrrNqit8eDy/inr6MnvL/uw5V6M2iCj7KG2eQEgpL45QmnsI0qY0ccX+P7uS94upLMKE2nEoaqWtz3dJT47fe4U2yaoA+46lrtSdp4KKlregAMDRHxsZy4fw2vUi0HXoQwTEVJbIxq24sDjrIP9A= Received: from JH0PR03MB8809.apcprd03.prod.outlook.com (2603:1096:990:a1::10) by KL1PR03MB6238.apcprd03.prod.outlook.com (2603:1096:820:a1::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.22; Wed, 24 Jan 2024 07:37:20 +0000 Received: from JH0PR03MB8809.apcprd03.prod.outlook.com ([fe80::e7fa:4f8d:2a6c:57cb]) by JH0PR03MB8809.apcprd03.prod.outlook.com ([fe80::e7fa:4f8d:2a6c:57cb%3]) with mapi id 15.20.7228.022; Wed, 24 Jan 2024 07:37:20 +0000 From: =?utf-8?B?SGFpcWlhbmcgR29uZyAo6b6a5rW35by6KQ==?= To: "linux-kernel@vger.kernel.org" , "baolin.wang@linux.alibaba.com" CC: "linux-arm-kernel@lists.infradead.org" , =?utf-8?B?TWlrZSBaaGFuZyAo5byg5Lyf5LyfKQ==?= , "matthias.bgg@gmail.com" , "linux-mm@kvack.org" , "angelogioacchino.delregno@collabora.com" , "akpm@linux-foundation.org" , "linux-mediatek@lists.infradead.org" Subject: Re: [PATCH] mm/compaction: add check mechanism to avoid cma alloc fail Thread-Topic: [PATCH] mm/compaction: add check mechanism to avoid cma alloc fail Thread-Index: AQHaTNn7A5RvAL1alUa4iZhYRPGYZrDlZ1cAgAMvRQA= Date: Wed, 24 Jan 2024 07:37:20 +0000 Message-ID: <94200583c59ce26e5fb16c9d00a4549509951a54.camel@mediatek.com> References: <20240122022317.30091-1-Haiqiang.Gong@mediatek.com> <8583a965-82ae-42fe-b22a-e84ddda11ae5@linux.alibaba.com> In-Reply-To: <8583a965-82ae-42fe-b22a-e84ddda11ae5@linux.alibaba.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=mediatek.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: JH0PR03MB8809:EE_|KL1PR03MB6238:EE_ x-ms-office365-filtering-correlation-id: 0a335448-eed0-4a08-98f3-08dc1caf4c12 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: IJpCVEbwm5lKr+zE047V+yqJ6QxhgCbDyR/Pnxob7iM6TxiJEkHnJ05bcuQ8Q8lsN41VMvmQFv58KcJapJ1uBFKeFWuGIP7aSzEgEFPFXX15P96Zb1QPo5uXJbFP71n29JI1p8e0pKwStpkm0JF/CUPAYvYkpbYHz3ByO9hMpRSfYde+vyYBV+DhSR6wGNbAs7YijQPAKK+22PpYAvjcCRSHENS/CH5xUYDYa9OI2Kpw1mm8xUV336Oyim9QjRLMGSbbDKHxw5CLDOw4l8OL5TsKIkqaXvAPwYxKG31B2T7DMtWmLasyfMtPG/VY3N0TT6ZigZ7nE7D/sIoj/Y7F9nIf6tySo1o5xdYBRWLAGhPlHxNohmSeLDsq1ca84IAhmLfxdm/s42f048yPhHa81VE5lzl0xS/B8R99r5mA00owZU0JngE7YJxk/rYM0ncXzzmXOBcxlhEswaajDKzyzXS/UTWHn+FK9b3/A+iOfu1e5kT5MxhOXrAp4/X1Sr+A0GzbuGt9gWHROIXYa4PpyMj+iO2AhhmN6VScbAILtOkbz6+BXIh6YgVlrincG3G3NEitJnVCCuK6iUYSm1SJ5jyitui1RzRwCBYTmUzWAf13Niq1+zZg8FJT/K1gr2yuvR10RQe5RzeLwZiIky2IgWo7QV44dsRw/m5yIMI2uzs= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:JH0PR03MB8809.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(366004)(396003)(136003)(39860400002)(346002)(230273577357003)(230173577357003)(230922051799003)(186009)(1800799012)(451199024)(64100799003)(6506007)(6512007)(53546011)(76116006)(66946007)(316002)(66556008)(71200400001)(110136005)(38100700002)(4326008)(8936002)(6486002)(8676002)(478600001)(2906002)(5660300002)(64756008)(66476007)(66446008)(54906003)(26005)(2616005)(83380400001)(122000001)(36756003)(38070700009)(41300700001)(86362001)(85182001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?SFc3UkNneEgwNlZFZFZLeS9wWkx2VG54ODhBbmh0dE9RS1JvMzdmMU5zRDh4?= =?utf-8?B?MVJqYnYyMDMxV2FFcXVRdnVFa1REVHNNVHhDYjBOWkZKQmpBc0cxaGE0ZHZa?= =?utf-8?B?TWRBdlFVMSt5T1QxbUZmc2ZGQ09PUkV2eldBYWNuZ3F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FZWTVha2taVHRLd2Vac00yUVM3R2VyQkVxRDNjQ1FWQzVpSmdO?= =?utf-8?B?V21reGY5M3luSmZsTHowQTQrTUNxekFBbW5lSmdBUlBkNEQ5VUpRN3VFVi84?= =?utf-8?B?MlNpT3ZJQ1RJSVNjb2xhNHkzenhQekhkblo5WkN3NmF2ekJKd0J2OFV4ZXhI?= =?utf-8?B?TU5TU2VtWVRIM3JjRzdBV2tINldHYkxQYUt0KzlDMjN2c3BueUVsbFkxYnZ6?= =?utf-8?B?a0E9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <207CA64CDB064A49AB22D89ADAC7555E@apcprd03.prod.outlook.com> Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: JH0PR03MB8809.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a335448-eed0-4a08-98f3-08dc1caf4c12 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2024 07:37:20.0609 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a7687ede-7a6b-4ef6-bace-642f677fbe31 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: g0luYcjo8dOCvKjJup2lyxYkSkxrNF0LSQAtk6sv84m+Kf7QLGTra1CwP4iaHy6DKyQrgirBLSLMFIls80zfevGdIBH4Bp54Qat0C6leX0Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR03MB6238 PiBXaHkgdGhlIENNQSBtZW1vcnkgY2FuIG5vdCBiZSBtaWdyYXRlZD8gQ291bGQgeW91IGRlc2Ny aWJlIGluIG1vcmUgDQo+IGRldGFpbCB0aGUgcmVhc29ucyBmb3IgdGhlIENNQSBtZW1vcnkgbWln cmF0aW9uIGZh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